Home
last modified time | relevance | path

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

12345678910

/Linux-v6.6/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-v6.6/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 <will@kernel.org>
11 - Robin Murphy <Robin.Murphy@arm.com>
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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/drivers/iommu/arm/arm-smmu/
Darm-smmu-qcom.c1 // SPDX-License-Identifier: GPL-2.0-only
7 #include <linux/adreno-smmu-priv.h>
12 #include "arm-smmu.h"
13 #include "arm-smmu-qcom.h"
15 #define QCOM_DUMMY_VAL -1
30 for (spin_cnt = TLB_SPIN_COUNT; spin_cnt > 0; spin_cnt--) { in qcom_smmu_tlb_sync()
53 if (qsmmu->stall_enabled & BIT(idx)) in qcom_adreno_smmu_write_sctlr()
63 struct arm_smmu_cfg *cfg = &smmu_domain->cfg; in qcom_adreno_smmu_get_fault_info()
64 struct arm_smmu_device *smmu = smmu_domain->smmu; in qcom_adreno_smmu_get_fault_info()
66 info->fsr = arm_smmu_cb_read(smmu, cfg->cbndx, ARM_SMMU_CB_FSR); in qcom_adreno_smmu_get_fault_info()
[all …]
/Linux-v6.6/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-v6.6/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-v6.6/Documentation/sound/soc/
Ddapm.rst11 such, can easily co-exist with the other PM systems.
16 switching decisions based upon any audio stream (capture/playback)
29 can be set at stream time if power is not needed for sidetone, etc.
44 Stream domain
47 Enabled and disabled when stream playback/capture is started and
60 Audio DAPM widgets fall into a number of types:-
93 Audio Interface Input (with TDM slot mask).
95 Audio Interface Output (with TDM slot mask).
127 (Widgets are defined in include/sound/soc-dapm.h)
130 There are convenience macros defined in soc-dapm.h that can be used to quickly
[all …]
/Linux-v6.6/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-v6.6/sound/soc/ti/
Ddavinci-mcasp.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Multi-channel Audio Serial Port Driver
7 * Author: Nirmal Pandey <n-pandey@ti.com>,
39 #include "edma-pcm.h"
40 #include "sdma-pcm.h"
41 #include "udma-pcm.h"
42 #include "davinci-mcasp.h"
116 /* Used for comstraint setting on the second stream */
136 void __iomem *reg = mcasp->base + offset; in mcasp_set_bits()
143 void __iomem *reg = mcasp->base + offset; in mcasp_clr_bits()
[all …]
/Linux-v6.6/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-v6.6/sound/soc/rockchip/
Drockchip_pdm.c1 // SPDX-License-Identifier: GPL-2.0-only
92 if ((div & (div - 1)) == 0) { in get_pdm_clk()
94 rate = clk_round_rate(pdm->clk, clkref[i].clk); in get_pdm_clk()
104 clk = clk_round_rate(pdm->clk, PDM_SIGNOFF_CLK_RATE); in get_pdm_clk()
183 regmap_update_bits(pdm->regmap, PDM_DMA_CTRL, in rockchip_pdm_rxctrl()
185 regmap_update_bits(pdm->regmap, PDM_SYSCONFIG, in rockchip_pdm_rxctrl()
188 regmap_update_bits(pdm->regmap, PDM_DMA_CTRL, in rockchip_pdm_rxctrl()
190 regmap_update_bits(pdm->regmap, PDM_SYSCONFIG, in rockchip_pdm_rxctrl()
208 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in rockchip_pdm_hw_params()
214 return -EINVAL; in rockchip_pdm_hw_params()
[all …]
/Linux-v6.6/lib/xz/
Dxz_dec_lzma2.c5 * Igor Pavlov <https://7-zip.org/>
35 * In multi-call mode, also these are true:
40 * Most of these variables are size_t to support single-call mode,
56 * would read beyond the beginning of the uncompressed stream.
64 * End of the dictionary buffer. In multi-call mode, this is
65 * the same as the dictionary size. In single-call mode, this
73 * read beyond the beginning of the uncompressed stream.
78 * Maximum allowed dictionary size in multi-call mode.
79 * This is ignored in single-call mode.
107 * temp.buf or the caller-provided input buffer.
[all …]
/Linux-v6.6/tools/net/ynl/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)
140 mask = 0
142 mask += e.user_value(as_flags)
143 return mask
166 self.is_multi = yaml.get('multi-attr', False)
[all …]
/Linux-v6.6/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
42 #define DAPM_UPDATE_STAT(widget, val) widget->dapm->card->dapm_stats.val++;
67 /* dapm power sequences - make this per codec in the future */
152 if (snd_soc_card_is_instantiated(dapm->card)) in dapm_assert_locked()
185 return !list_empty(&w->dirty); in dapm_dirty_widget()
190 dapm_assert_locked(w->dapm); in dapm_mark_dirty()
193 dev_vdbg(w->dapm->dev, "Marking %s dirty due to %s\n", in dapm_mark_dirty()
[all …]
/Linux-v6.6/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-v6.6/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
162 * snd_hdac_read_parm - read a codec parameter
167 * Returns -1 for error. If you need to distinguish the error more
175 return _snd_hdac_read_parm(codec, nid, parm, &val) < 0 ? -1 : val; in snd_hdac_read_parm()
188 atomic_inc(&codec->in_pm); in snd_hdac_enter_pm()
194 atomic_dec(&codec->in_pm); in snd_hdac_leave_pm()
199 return atomic_read(&codec->in_pm); in snd_hdac_is_in_pm()
[all …]
/Linux-v6.6/drivers/net/ethernet/microchip/sparx5/
Dsparx5_tc_flower.c1 // SPDX-License-Identifier: GPL-2.0+
23 u8 mask; member
44 switch (st->tpid) { in sparx5_tc_flower_es0_tpid()
46 err = vcap_rule_add_key_u32(st->vrule, in sparx5_tc_flower_es0_tpid()
51 err = vcap_rule_add_key_u32(st->vrule, in sparx5_tc_flower_es0_tpid()
56 NL_SET_ERR_MSG_MOD(st->fco->common.extack, in sparx5_tc_flower_es0_tpid()
58 err = -EINVAL; in sparx5_tc_flower_es0_tpid()
70 flow_rule_match_basic(st->frule, &mt); in sparx5_tc_flower_handler_basic_usage()
72 if (mt.mask->n_proto) { in sparx5_tc_flower_handler_basic_usage()
73 st->l3_proto = be16_to_cpu(mt.key->n_proto); in sparx5_tc_flower_handler_basic_usage()
[all …]
/Linux-v6.6/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()
115 return -EIO; in efx_mae_fw_lookup_mport()
131 efx->net_dev->mtu); in efx_mae_start_counters()
140 return -EIO; in efx_mae_start_counters()
143 netif_dbg(efx, drv, efx->net_dev, in efx_mae_start_counters()
[all …]
/Linux-v6.6/drivers/soundwire/
Dcadence_master.c1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
2 // Copyright(c) 2015-17 Intel Corporation.
32 #define CDNS_IP_MCP_CONFIG 0x0 /* IP offset added at run-time */
49 #define CDNS_IP_MCP_CONTROL 0x4 /* IP offset added at run-time */
57 #define CDNS_IP_MCP_CMDCTRL 0x8 /* IP offset added at run-time */
132 #define CDNS_IP_MCP_CMD_BASE 0x80 /* IP offset added at run-time */
133 #define CDNS_IP_MCP_RESP_BASE 0x80 /* IP offset added at run-time */
205 return readl(cdns->registers + offset); in cdns_readl()
210 writel(value, cdns->registers + offset); in cdns_writel()
215 return cdns_readl(cdns, cdns->ip_offset + offset); in cdns_ip_readl()
[all …]
/Linux-v6.6/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.
37 #define DRV_NAME "tegra30-i2s"
43 regcache_cache_only(i2s->regmap, true); in tegra30_i2s_runtime_suspend()
45 clk_disable_unprepare(i2s->clk_i2s); in tegra30_i2s_runtime_suspend()
55 ret = clk_prepare_enable(i2s->clk_i2s); in tegra30_i2s_runtime_resume()
61 regcache_cache_only(i2s->regmap, false); in tegra30_i2s_runtime_resume()
62 regcache_mark_dirty(i2s->regmap); in tegra30_i2s_runtime_resume()
[all …]
/Linux-v6.6/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 <hverkuil@xs4all.nl>
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 …]

12345678910