| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-6.6/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 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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/drivers/net/dsa/ocelot/ |
| D | felix_vsc9959.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/ |
| D | enetc_qos.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 20 struct enetc_hw *hw = &priv->si->hw; in enetc_sched_speed_set() 21 u32 old_speed = priv->speed; in enetc_sched_speed_set() 42 priv->speed = speed; in enetc_sched_speed_set() 51 struct enetc_hw *hw = &priv->si->hw; in enetc_setup_taprio() 63 if (admin_conf->num_entries > enetc_get_max_gcl_len(hw)) in enetc_setup_taprio() 64 return -EINVAL; in enetc_setup_taprio() 65 gcl_len = admin_conf->num_entries; in enetc_setup_taprio() 68 if (!admin_conf->enable) { in enetc_setup_taprio() 71 priv->active_offloads &= ~ENETC_F_QBV; in enetc_setup_taprio() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/freescale/enetc/ |
| D | enetc_qos.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/iommu/arm/arm-smmu/ |
| D | arm-smmu-qcom.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include "arm-smmu.h" 24 { .compatible = "qcom,adreno-gmu" }, 27 { .compatible = "qcom,sc7180-mdss" }, 28 { .compatible = "qcom,sc7180-mss-pil" }, 29 { .compatible = "qcom,sdm845-mdss" }, 30 { .compatible = "qcom,sdm845-mss-pil" }, 44 * 128 stream matching groups. For unknown reasons, the additional in qcom_smmu_cfg_probe() 49 if (smmu->num_mapping_groups > 128) { in qcom_smmu_cfg_probe() 50 dev_notice(smmu->dev, "\tLimiting the stream matching groups to 128\n"); in qcom_smmu_cfg_probe() [all …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/dvb/ |
| D | dmx.h | 1 /* 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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/microchip/vcap/ |
| D | vcap_api.c | 1 // 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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-5.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 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 …]
|
| /kernel/linux/linux-6.6/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 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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.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 ---- 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 …]
|
| /kernel/linux/linux-6.6/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 ---- 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 …]
|
| /kernel/linux/linux-6.6/drivers/iommu/arm/arm-smmu/ |
| D | arm-smmu-qcom.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/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" 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 …]
|