Home
last modified time | relevance | path

Searched +full:stream +full:- +full:match +full:- +full:mask (Results 1 – 25 of 260) sorted by relevance

1234567891011

/linux-6.14.4/drivers/net/dsa/ocelot/
Dfelix_vsc9959.c1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Copyright 2018-2019 NXP
15 #include <linux/pcs-lynx.h>
663 /* Layer-3 Information */
669 /* Layer-4 Information */
900 /* soft-reset the switch core */ in vsc9959_reset()
906 dev_err(ocelot->dev, "timeout: switch core reset\n"); in vsc9959_reset()
916 dev_err(ocelot->dev, "timeout: switch sram init\n"); in vsc9959_reset()
928 * Bit 7-0: Value to be multiplied with unit
958 struct pci_dev *pdev = to_pci_dev(ocelot->dev); in vsc9959_mdio_bus_alloc()
[all …]
/linux-6.14.4/drivers/net/ethernet/freescale/enetc/
Denetc_qos.c1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
19 struct enetc_hw *hw = &priv->si->hw; in enetc_sched_speed_set()
20 u32 old_speed = priv->speed; in enetc_sched_speed_set()
41 priv->speed = speed; in enetc_sched_speed_set()
49 struct enetc_hw *hw = &priv->si->hw; in enetc_setup_taprio()
63 for (i = 0; i < priv->num_tx_rings; i++) in enetc_setup_taprio()
64 if (priv->tx_ring[i]->tsd_enable) in enetc_setup_taprio()
65 return -EBUSY; in enetc_setup_taprio()
67 if (admin_conf->num_entries > enetc_get_max_gcl_len(hw)) in enetc_setup_taprio()
68 return -EINVAL; in enetc_setup_taprio()
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/iommu/
Darm,smmu.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Will Deacon <[email protected]>
11 - Robin Murphy <[email protected]>
23 pattern: "^iommu@[0-9a-f]*"
26 - description: Qcom SoCs implementing "arm,smmu-v2"
28 - enum:
29 - qcom,msm8996-smmu-v2
30 - qcom,msm8998-smmu-v2
[all …]
/linux-6.14.4/include/uapi/sound/
Dasoc.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * uapi/sound/asoc.h -- ALSA SoC Firmware Controls and DAPM
29 * Maximum number of PCM stream configs
38 /* individual kcontrol info types - can be mixed with other types */
49 /* individual widget kcontrol info types - can be mixed with other types */
56 /* DAPM widget types - add new items to the end */
116 /* vendor block IDs - please add new vendor types to end */
296 * Stream Capabilities
317 * FE or BE Stream configuration supported by SW/FW
321 char name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; /* Name of the stream */
[all …]
/linux-6.14.4/sound/xen/
Dxen_snd_front_cfg.c1 // SPDX-License-Identifier: GPL-2.0 OR MIT
4 * Xen para-virtual sound device
6 * Copyright (C) 2016-2018 EPAM Systems Inc.
23 unsigned int mask; member
28 { .name = "5512", .mask = SNDRV_PCM_RATE_5512, .value = 5512 },
29 { .name = "8000", .mask = SNDRV_PCM_RATE_8000, .value = 8000 },
30 { .name = "11025", .mask = SNDRV_PCM_RATE_11025, .value = 11025 },
31 { .name = "16000", .mask = SNDRV_PCM_RATE_16000, .value = 16000 },
32 { .name = "22050", .mask = SNDRV_PCM_RATE_22050, .value = 22050 },
33 { .name = "32000", .mask = SNDRV_PCM_RATE_32000, .value = 32000 },
[all …]
/linux-6.14.4/include/uapi/linux/dvb/
Ddmx.h1 /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
22 * enum dmx_output - Output for the demux.
28 * Delivers the stream output to the demux device on which the ioctl
47 * enum dmx_input - Input from the demux.
49 * @DMX_IN_FRONTEND: Input from a front-end device.
58 * enum dmx_ts_pes - type of the PES filter.
125 * struct dmx_filter - Specifies a section header filter.
128 * @mask: bits that are valid at the filter bit array.
129 * @mode: mode of match: if bit is zero, it will match if equal (positive
130 * match); if bit is one, it will match if the bit is negated.
[all …]
/linux-6.14.4/tools/net/ynl/pyynl/lib/
Dnlspec.py1 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
37 self.ident_name = self.name.replace('-', '_')
69 raw_value raw value, i.e. the id in the enum, unlike user value which is a mask for flags
70 user_value user value, same as raw value for enums, for flags it's the mask
111 get_mask for flags compute the mask of all defined values
119 value_start = self.yaml.get('value-start', 0)
143 mask = 0
145 mask += e.user_value(as_flags)
146 return mask
166 sub-message type
[all …]
/linux-6.14.4/drivers/net/ethernet/microchip/vcap/
Dvcap_api.c1 // SPDX-License-Identifier: GPL-2.0+
53 itr->offset = offset; in vcap_iter_set()
54 itr->sw_width = sw_width; in vcap_iter_set()
55 itr->regs_per_sw = DIV_ROUND_UP(sw_width, 32); in vcap_iter_set()
56 itr->tg = tg; in vcap_iter_set()
62 * A typegroup table ends with an all-zero terminator. in vcap_iter_skip_tg()
64 while (itr->tg->width && itr->offset >= itr->tg->offset) { in vcap_iter_skip_tg()
65 itr->offset += itr->tg->width; in vcap_iter_skip_tg()
66 itr->tg++; /* next typegroup */ in vcap_iter_skip_tg()
75 sw_idx = itr->offset / itr->sw_width; in vcap_iter_update()
[all …]
/linux-6.14.4/include/uapi/drm/
Dxe_drm.h1 /* SPDX-License-Identifier: MIT */
17 * subject to backwards-compatibility constraints.
28 * The diagram below represents a high-level simplification of a discrete
72 * - &DRM_IOCTL_XE_DEVICE_QUERY
73 * - &DRM_IOCTL_XE_GEM_CREATE
74 * - &DRM_IOCTL_XE_GEM_MMAP_OFFSET
75 * - &DRM_IOCTL_XE_VM_CREATE
76 * - &DRM_IOCTL_XE_VM_DESTROY
77 * - &DRM_IOCTL_XE_VM_BIND
78 * - &DRM_IOCTL_XE_EXEC_QUEUE_CREATE
[all …]
/linux-6.14.4/sound/soc/atmel/
Datmel-i2s.c1 // SPDX-License-Identifier: GPL-2.0-only
29 * ---- I2S Controller Register map ----
38 #define ATMEL_I2SC_IMR 0x001c /* Interrupt Mask Register */
44 * ---- Control Register (Write-only) ----
55 * ---- Mode Register (Read/Write) ----
124 * ---- Status Registers ----
143 * ---- Interrupt Enable/Disable/Mask Registers ----
212 unsigned int sr, imr, pending, ch, mask; in atmel_i2s_interrupt() local
215 regmap_read(dev->regmap, ATMEL_I2SC_SR, &sr); in atmel_i2s_interrupt()
216 regmap_read(dev->regmap, ATMEL_I2SC_IMR, &imr); in atmel_i2s_interrupt()
[all …]
/linux-6.14.4/drivers/media/pci/cx18/
Dcx18-driver.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Derived from ivtv-driver.h
24 #include <linux/i2c-algo-bit.h>
33 #include <media/v4l2-common.h>
34 #include <media/v4l2-ioctl.h>
35 #include <media/v4l2-device.h>
36 #include <media/v4l2-fh.h>
38 #include <media/i2c/ir-kbd-i2c.h>
39 #include "cx18-mailbox.h"
40 #include "cx18-av-core.h"
[all …]
/linux-6.14.4/sound/soc/sof/
Dtopology.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
18 #include "sof-priv.h"
19 #include "sof-audio.h"
25 * from dB gain 20th root of 10 in Q1.16 fixed-point notation
28 /* 40th root of 10 in Q1.16 fixed-point notation*/
40 * sof_update_ipc_object - Parse multiple sets of tokens within the token array associated with the
62 token_list = tplg_ops ? tplg_ops->token_list : NULL; in sof_update_ipc_object()
68 dev_err(scomp->dev, "Invalid token count for token ID: %d\n", token_id); in sof_update_ipc_object()
69 return -EINVAL; in sof_update_ipc_object()
72 /* No tokens to match */ in sof_update_ipc_object()
[all …]
/linux-6.14.4/sound/soc/meson/
Daxg-tdm-formatter.c1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
13 #include "axg-tdm-formatter.h"
17 struct axg_tdm_stream *stream; member
33 unsigned int ch = ts->channels; in axg_tdm_formatter_set_channel_masks()
40 * in the stream. This is why the odd algorithm below is used. in axg_tdm_formatter_set_channel_masks()
45 * Distribute the channels of the stream over the available slots in axg_tdm_formatter_set_channel_masks()
53 if ((BIT(i + k) & ts->mask[j]) && ch) { in axg_tdm_formatter_set_channel_masks()
55 ch -= 1; in axg_tdm_formatter_set_channel_masks()
63 * the stream has more channels than we can accommodate and we should in axg_tdm_formatter_set_channel_masks()
67 pr_err("channel mask error\n"); in axg_tdm_formatter_set_channel_masks()
[all …]
/linux-6.14.4/Documentation/sound/soc/
Ddapm.rst11 management frameworks and, as such, can easily co-exist with them.
16 switching decisions based upon any audio stream (capture/playback)
32 The graph for the STM32MP1-DK1 sound card is shown in picture:
34 .. kernel-figure:: dapm-graph.svg
39 `tools/sound/dapm-graph` utility.
50 can be set at stream time if power is not needed for sidetone, etc.
65 Stream domain
68 Enabled and disabled when stream playback/capture is started and
108 Audio Interface Input (with TDM slot mask).
110 Audio Interface Output (with TDM slot mask).
[all …]
/linux-6.14.4/lib/xz/
Dxz_dec_lzma2.c1 // SPDX-License-Identifier: 0BSD
7 * Igor Pavlov <https://7-zip.org/>
34 * In multi-call mode, also these are true:
39 * Most of these variables are size_t to support single-call mode,
55 * would read beyond the beginning of the uncompressed stream.
63 * End of the dictionary buffer. In multi-call mode, this is
64 * the same as the dictionary size. In single-call mode, this
72 * read beyond the beginning of the uncompressed stream.
77 * Maximum allowed dictionary size in multi-call mode.
78 * This is ignored in single-call mode.
[all …]
/linux-6.14.4/drivers/net/ethernet/microchip/sparx5/
Dsparx5_tc_flower.c1 // SPDX-License-Identifier: GPL-2.0+
23 u8 mask; member
39 /* SparX-5 VCAP fragment types:
41 * 2 = suspicious fragment, 3 = valid follow-up fragment
43 enum { /* key / mask */
57 /* 0/0 0/1 1/0 1/1 <-- first_frag */
65 switch (st->tpid) { in sparx5_tc_flower_es0_tpid()
67 err = vcap_rule_add_key_u32(st->vrule, in sparx5_tc_flower_es0_tpid()
72 err = vcap_rule_add_key_u32(st->vrule, in sparx5_tc_flower_es0_tpid()
77 NL_SET_ERR_MSG_MOD(st->fco->common.extack, in sparx5_tc_flower_es0_tpid()
[all …]
/linux-6.14.4/sound/soc/
Dsoc-dapm.c1 // SPDX-License-Identifier: GPL-2.0+
3 // soc-dapm.c -- ALSA SoC Dynamic Audio Power Management
12 // o Platform power domain - can support external components i.e. amps and
15 // o Jack insertion power event initiation - e.g. hp insertion will enable
43 #define DAPM_UPDATE_STAT(widget, val) widget->dapm->card->dapm_stats.val++;
68 /* dapm power sequences - make this per codec in the future */
153 if (snd_soc_card_is_instantiated(dapm->card)) in dapm_assert_locked()
186 return !list_empty(&w->dirty); in dapm_dirty_widget()
191 dapm_assert_locked(w->dapm); in dapm_mark_dirty()
194 dev_vdbg(w->dapm->dev, "Marking %s dirty due to %s\n", in dapm_mark_dirty()
[all …]
/linux-6.14.4/drivers/iommu/arm/arm-smmu/
Darm-smmu-qcom.c1 // SPDX-License-Identifier: GPL-2.0-only
7 #include <linux/adreno-smmu-priv.h>
14 #include "arm-smmu.h"
15 #include "arm-smmu-qcom.h"
17 #define QCOM_DUMMY_VAL -1
20 * SMMU-500 TRM defines BIT(0) as CMTLB (Enable context caching in the
38 { .compatible = "qcom,adreno-gmu",
40 { .compatible = "qcom,adreno-smmu",
44 { .compatible = "qcom,sc7280-mdss",
46 { .compatible = "qcom,sc7280-venus",
[all …]
/linux-6.14.4/drivers/net/ethernet/sfc/
Dmae.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2020-2022 Xilinx Inc.
29 return -EINVAL; in efx_mae_allocate_mport()
31 return -EINVAL; in efx_mae_allocate_mport()
42 return -EIO; in efx_mae_allocate_mport()
64 MAE_MPORT_SELECTOR_PPORT_ID, efx->port_num); in efx_mae_mport_wire()
104 return -EIO; in efx_mae_fw_lookup_mport()
120 efx->net_dev->mtu); in efx_mae_start_counters()
129 return -EIO; in efx_mae_start_counters()
132 netif_dbg(efx, drv, efx->net_dev, in efx_mae_start_counters()
[all …]
/linux-6.14.4/drivers/net/ethernet/mscc/
Docelot_flower.c1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
35 return -EOPNOTSUPP; in ocelot_chain_to_block()
38 /* Backwards compatibility with older, single-chain tc-flower in ocelot_chain_to_block()
56 return -EOPNOTSUPP; in ocelot_chain_to_block()
64 /* Backwards compatibility with older, single-chain tc-flower in ocelot_chain_to_lookup()
80 /* Backwards compatibility with older, single-chain tc-flower in ocelot_chain_to_pag()
89 return chain - VCAP_IS2_CHAIN(lookup, 0); in ocelot_chain_to_pag()
101 /* Non-optional GOTOs */ in ocelot_is_goto_target_valid()
117 /* Lookup 2 of VCAP IS1 can really support non-optional GOTOs, in ocelot_is_goto_target_valid()
118 * using a Policy Association Group (PAG) value, which is an 8-bit in ocelot_is_goto_target_valid()
[all …]
/linux-6.14.4/drivers/net/ethernet/wangxun/txgbe/
Dtxgbe_fdir.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2015 - 2024 Beijing WangXun Technology Co., Ltd. */
28 sig_hash ^= lo_hash_dword << (16 - n); \
34 sig_hash ^= hi_hash_dword << (16 - n); \
38 * txgbe_atr_compute_sig_hash - Compute the signature hash
46 * defines, and computing two keys at once since the hashed dword stream
73 * delay this because bit 0 of the stream should not be processed in txgbe_atr_compute_sig_hash()
103 * txgbe_atr_compute_perfect_hash - Compute the perfect filter hash
105 * @input_mask: mask for the input bitstream
108 * to the atr_input resulting in a cleaned up atr_input data stream.
[all …]
/linux-6.14.4/sound/soc/tegra/
Dtegra30_i2s.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * tegra30_i2s.c - Tegra30 I2S driver
6 * Copyright (c) 2010-2012, NVIDIA CORPORATION. All rights reserved.
10 * Copyright (c) 2009-2010, NVIDIA Corporation.
36 #define DRV_NAME "tegra30-i2s"
42 regcache_cache_only(i2s->regmap, true); in tegra30_i2s_runtime_suspend()
44 clk_disable_unprepare(i2s->clk_i2s); in tegra30_i2s_runtime_suspend()
54 ret = clk_prepare_enable(i2s->clk_i2s); in tegra30_i2s_runtime_resume()
60 regcache_cache_only(i2s->regmap, false); in tegra30_i2s_runtime_resume()
61 regcache_mark_dirty(i2s->regmap); in tegra30_i2s_runtime_resume()
[all …]
/linux-6.14.4/drivers/soundwire/
Dcadence_master.c1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
2 // Copyright(c) 2015-17 Intel Corporation.
33 #define CDNS_IP_MCP_CONFIG 0x0 /* IP offset added at run-time */
50 #define CDNS_IP_MCP_CONTROL 0x4 /* IP offset added at run-time */
58 #define CDNS_IP_MCP_CMDCTRL 0x8 /* IP offset added at run-time */
133 #define CDNS_IP_MCP_CMD_BASE 0x80 /* IP offset added at run-time */
134 #define CDNS_IP_MCP_RESP_BASE 0x80 /* IP offset added at run-time */
206 return readl(cdns->registers + offset); in cdns_readl()
211 writel(value, cdns->registers + offset); in cdns_writel()
216 return cdns_readl(cdns, cdns->ip_offset + offset); in cdns_ip_readl()
[all …]
/linux-6.14.4/include/sound/
Dhdaudio.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * HD-audio core stuff
12 #include <linux/io-64-nonatomic-lo-hi.h>
50 * HD-audio codec base device
163 * snd_hdac_read_parm - read a codec parameter
168 * Returns -1 for error. If you need to distinguish the error more
176 return _snd_hdac_read_parm(codec, nid, parm, &val) < 0 ? -1 : val; in snd_hdac_read_parm()
189 atomic_inc(&codec->in_pm); in snd_hdac_enter_pm()
195 atomic_dec(&codec->in_pm); in snd_hdac_leave_pm()
200 return atomic_read(&codec->in_pm); in snd_hdac_is_in_pm()
[all …]
/linux-6.14.4/drivers/media/pci/ivtv/
Divtv-driver.h3 Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com>
5 Copyright (C) 2005-2007 Hans Verkuil <[email protected]>
19 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
32 * -----
33 * MPG600/MPG160 support by T.Adachi <tadachi@tadachi-net.com>
37 * using information provided by Jiun-Kuei Jung @ AVerMedia.
49 #include <linux/i2c-algo-bit.h>
60 #include <media/v4l2-common.h>
61 #include <media/v4l2-ioctl.h>
62 #include <media/v4l2-ctrls.h>
[all …]

1234567891011