/Linux-v5.10/Documentation/devicetree/bindings/iommu/ |
D | arm,smmu.yaml | 1 # 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-v5.10/include/uapi/sound/ |
D | asoc.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * uapi/sound/asoc.h -- ALSA SoC Firmware Controls and DAPM 33 * Maximum number of PCM stream configs 42 /* individual kcontrol info types - can be mixed with other types */ 53 /* individual widget kcontrol info types - can be mixed with other types */ 60 /* DAPM widget types - add new items to the end */ 120 /* vendor block IDs - please add new vendor types to end */ 294 * Stream Capabilities 315 * FE or BE Stream configuration supported by SW/FW 319 char name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; /* Name of the stream */ [all …]
|
/Linux-v5.10/drivers/net/ethernet/freescale/enetc/ |
D | enetc_qos.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 20 u32 old_speed = priv->speed; in enetc_sched_speed_set() 41 priv->speed = speed; in enetc_sched_speed_set() 42 enetc_port_wr(&priv->si->hw, ENETC_PMR, in enetc_sched_speed_set() 43 (enetc_port_rd(&priv->si->hw, ENETC_PMR) in enetc_sched_speed_set() 63 if (admin_conf->num_entries > enetc_get_max_gcl_len(&priv->si->hw)) in enetc_setup_taprio() 64 return -EINVAL; in enetc_setup_taprio() 65 gcl_len = admin_conf->num_entries; in enetc_setup_taprio() 67 tge = enetc_rd(&priv->si->hw, ENETC_QBV_PTGCR_OFFSET); in enetc_setup_taprio() 68 if (!admin_conf->enable) { in enetc_setup_taprio() [all …]
|
/Linux-v5.10/sound/soc/tegra/ |
D | tegra30_i2s.c | 1 // 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() 69 unsigned int mask = 0, val = 0; in tegra30_i2s_set_fmt() local [all …]
|
/Linux-v5.10/sound/xen/ |
D | xen_snd_front_cfg.c | 1 // 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-v5.10/sound/soc/meson/ |
D | axg-tdm-formatter.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 13 #include "axg-tdm-formatter.h" 17 struct axg_tdm_stream *stream; member 33 unsigned int val, ch = ts->channels; in axg_tdm_formatter_set_channel_masks() 34 unsigned long mask; in axg_tdm_formatter_set_channel_masks() local 38 * Distribute the channels of the stream over the available slots in axg_tdm_formatter_set_channel_masks() 43 mask = ts->mask[i]; in axg_tdm_formatter_set_channel_masks() 45 for (j = find_first_bit(&mask, 32); in axg_tdm_formatter_set_channel_masks() 47 j = find_next_bit(&mask, 32, j + 1)) { in axg_tdm_formatter_set_channel_masks() 49 ch -= 1; in axg_tdm_formatter_set_channel_masks() [all …]
|
/Linux-v5.10/include/uapi/linux/dvb/ |
D | dmx.h | 1 /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */ 21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 37 * enum dmx_output - Output for the demux. 43 * Delivers the stream output to the demux device on which the ioctl 62 * enum dmx_input - Input from the demux. 64 * @DMX_IN_FRONTEND: Input from a front-end device. 73 * enum dmx_ts_pes - type of the PES filter. 140 * struct dmx_filter - Specifies a section header filter. 143 * @mask: bits that are valid at the filter bit array. 144 * @mode: mode of match: if bit is zero, it will match if equal (positive [all …]
|
/Linux-v5.10/sound/soc/rockchip/ |
D | rockchip_pdm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 90 if ((div & (div - 1)) == 0) { in get_pdm_clk() 92 rate = clk_round_rate(pdm->clk, clkref[i].clk); in get_pdm_clk() 102 clk = clk_round_rate(pdm->clk, PDM_SIGNOFF_CLK_RATE); in get_pdm_clk() 132 regmap_update_bits(pdm->regmap, PDM_DMA_CTRL, in rockchip_pdm_rxctrl() 134 regmap_update_bits(pdm->regmap, PDM_SYSCONFIG, in rockchip_pdm_rxctrl() 137 regmap_update_bits(pdm->regmap, PDM_DMA_CTRL, in rockchip_pdm_rxctrl() 139 regmap_update_bits(pdm->regmap, PDM_SYSCONFIG, in rockchip_pdm_rxctrl() 157 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in rockchip_pdm_hw_params() 163 return -EINVAL; in rockchip_pdm_hw_params() [all …]
|
/Linux-v5.10/Documentation/sound/soc/ |
D | dapm.rst | 11 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-v5.10/drivers/media/pci/cx18/ |
D | cx18-driver.h | 1 /* 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-v5.10/sound/soc/atmel/ |
D | atmel-i2s.c | 1 // 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 ---- 208 unsigned int sr, imr, pending, ch, mask; in atmel_i2s_interrupt() local 211 regmap_read(dev->regmap, ATMEL_I2SC_SR, &sr); in atmel_i2s_interrupt() 212 regmap_read(dev->regmap, ATMEL_I2SC_IMR, &imr); in atmel_i2s_interrupt() [all …]
|
/Linux-v5.10/drivers/misc/habanalabs/common/ |
D | habanalabs.h | 1 /* SPDX-License-Identifier: GPL-2.0 3 * Copyright 2016-2019 HabanaLabs, Ltd. 18 #include <linux/dma-direction.h> 26 * bits[63:62] - Encode mmap type 27 * bits[45:0] - mmap offset value 32 #define HL_MMAP_TYPE_SHIFT (62 - PAGE_SHIFT) 65 * HL_RSVD_SOBS 'sync stream' reserved sync objects per QMAN stream 66 * HL_RSVD_MONS 'sync stream' reserved monitors per QMAN stream 76 #define IS_POWER_OF_2(n) (n != 0 && ((n & (n - 1)) == 0)) 84 * struct pgt_info - MMU hop page info. [all …]
|
/Linux-v5.10/drivers/soundwire/ |
D | cadence_master.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 2 // Copyright(c) 2015-17 Intel Corporation. 200 return readl(cdns->registers + offset); in cdns_readl() 205 writel(value, cdns->registers + offset); in cdns_writel() 209 int offset, u32 mask, u32 val) in cdns_updatel() argument 214 tmp = (tmp & ~mask) | val; in cdns_updatel() 218 static int cdns_set_wait(struct sdw_cdns *cdns, int offset, u32 mask, u32 value) in cdns_set_wait() argument 225 reg_read = readl(cdns->registers + offset); in cdns_set_wait() 226 if ((reg_read & mask) == value) in cdns_set_wait() 229 timeout--; in cdns_set_wait() [all …]
|
/Linux-v5.10/sound/soc/ |
D | soc-dapm.c | 1 // 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++; 65 /* dapm power sequences - make this per codec in the future */ 150 if (dapm->card && dapm->card->instantiated) in dapm_assert_locked() 151 lockdep_assert_held(&dapm->card->dapm_mutex); in dapm_assert_locked() 183 return !list_empty(&w->dirty); in dapm_dirty_widget() 188 dapm_assert_locked(w->dapm); in dapm_mark_dirty() [all …]
|
D | soc-component.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // soc-component.c 5 // Copyright 2009-2011 Wolfson Microelectronics PLC. 25 case -EPROBE_DEFER: in _soc_component_ret() 26 case -ENOTSUPP: in _soc_component_ret() 29 dev_err(component->dev, in _soc_component_ret() 31 func, component->name, ret); in _soc_component_ret() 41 #define soc_component_mark_push(component, substream, tgt) ((component)->mark_##tgt = substream) 42 #define soc_component_mark_pop(component, substream, tgt) ((component)->mark_##tgt = NULL) 43 #define soc_component_mark_match(component, substream, tgt) ((component)->mark_##tgt == substream) [all …]
|
D | soc-topology.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // soc-topology.c -- ALSA SoC Topology 29 #include <sound/soc-dapm.h> 30 #include <sound/soc-topology.h> 90 const u8 *end = tplg->pos + elem_size * count; in soc_tplg_check_elem_count() 92 if (end > tplg->fw->data + tplg->fw->size) { in soc_tplg_check_elem_count() 93 dev_err(tplg->dev, "ASoC: %s overflow end of data\n", in soc_tplg_check_elem_count() 95 return -EINVAL; in soc_tplg_check_elem_count() 101 dev_err(tplg->dev, in soc_tplg_check_elem_count() 104 return -EINVAL; in soc_tplg_check_elem_count() [all …]
|
/Linux-v5.10/sound/soc/ti/ |
D | davinci-mcasp.c | 1 // 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" 111 /* Used for comstraint setting on the second stream */ 131 void __iomem *reg = mcasp->base + offset; in mcasp_set_bits() 138 void __iomem *reg = mcasp->base + offset; in mcasp_clr_bits() [all …]
|
/Linux-v5.10/lib/xz/ |
D | xz_dec_lzma2.c | 5 * 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-v5.10/include/sound/ |
D | hdaudio.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * HD-audio core stuff 47 * HD-audio codec base device 158 * snd_hdac_read_parm - read a codec parameter 163 * Returns -1 for error. If you need to distinguish the error more 171 return _snd_hdac_read_parm(codec, nid, parm, &val) < 0 ? -1 : val; in snd_hdac_read_parm() 184 atomic_inc(&codec->in_pm); in snd_hdac_enter_pm() 190 atomic_dec(&codec->in_pm); in snd_hdac_leave_pm() 195 return atomic_read(&codec->in_pm); in snd_hdac_is_in_pm() 200 return !pm_runtime_suspended(&codec->dev); in snd_hdac_is_power_on() [all …]
|
/Linux-v5.10/drivers/media/pci/ivtv/ |
D | ivtv-driver.h | 3 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> 62 #include <media/v4l2-common.h> 63 #include <media/v4l2-ioctl.h> 64 #include <media/v4l2-ctrls.h> [all …]
|
/Linux-v5.10/sound/soc/fsl/ |
D | fsl_ssi.c | 1 // SPDX-License-Identifier: GPL-2.0 7 // Copyright 2007-2010 Freescale Semiconductor, Inc. 9 // Some notes why imx-pcm-fiq is used instead of DMA on some boards: 16 // we receive in our (PCM-) data stream. The only chance we have is to 52 #include "imx-pcm.h" 54 /* Define RX and TX to index ssi->regvals array; Can be 0 or 1 only */ 65 * (bit-endianness must match byte-endianness). Processors typically write 67 * written in. So if the host CPU is big-endian, then only big-endian 90 * - SSI inputs external bit clock and outputs frame sync clock -- CBM_CFS 91 * - Also have NB_NF to mark these two clocks will not be inverted [all …]
|
/Linux-v5.10/drivers/staging/media/atomisp/pci/ |
D | ia_css_pipe_public.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 42 * create a continuous capture stream. 59 * the order should match with definition in sh_css_defs.h 111 should be run. Setting this to -1 means it will run until 131 pipes. Non video-pipes should always set this parameter to false. */ 138 …/** GDC in buffer offset - indicates the pixel coordinates of the first valid pixel inside the buf… 159 .acc_num_execs = -1, \ 162 /* Pipe info, this struct describes properties of a pipe after it's stream has 165 * - On the Behalf of CSS-API Committee. 183 the input resolution - 8x8. */ [all …]
|
/Linux-v5.10/drivers/dma/ |
D | stm32-dma.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Inspired by dma-jz4740.c and tegra20-apb-dma.c 9 * Pierre-Yves Mordret <pierre-yves.mordret@st.com> 15 #include <linux/dma-mapping.h> 31 #include "virt-dma.h" 47 /* DMA Stream x Configuration Register */ 74 #define STM32_DMA_SCR_EN BIT(0) /* Stream Enable */ 83 /* DMA Stream x number of data register */ 86 /* DMA stream peripheral address register */ 89 /* DMA stream x memory 0 address register */ [all …]
|
/Linux-v5.10/net/openvswitch/ |
D | flow_netlink.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2007-2017 Nicira, Inc. 48 #define OVS_ATTR_NESTED -1 49 #define OVS_ATTR_VARIABLE -2 91 static void update_range(struct sw_flow_match *match, in update_range() argument 99 range = &match->range; in update_range() 101 range = &match->mask->range; in update_range() 103 if (range->start == range->end) { in update_range() 104 range->start = start; in update_range() 105 range->end = end; in update_range() [all …]
|
/Linux-v5.10/drivers/iommu/arm/arm-smmu/ |
D | arm-smmu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * - SMMUv1 and v2 implementations 11 * - Stream-matching and stream-indexing 12 * - v7/v8 long-descriptor format 13 * - Non-secure access to the SMMU 14 * - Context fault reporting 15 * - Extended Stream ID (16 bit) 18 #define pr_fmt(fmt) "arm-smmu: " fmt 24 #include <linux/dma-iommu.h> 25 #include <linux/dma-mapping.h> [all …]
|