| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iommu/ |
| H A 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 …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/sound/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/include/uapi/sound/ |
| H A 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 …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/sound/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/enetc/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/sound/soc/tegra/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/sound/xen/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/sound/soc/meson/ |
| H A 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 …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/dvb/ |
| H A 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. 35 * enum dmx_output - Output for the demux. 41 * Delivers the stream output to the demux device on which the ioctl 60 * enum dmx_input - Input from the demux. 62 * @DMX_IN_FRONTEND: Input from a front-end device. 71 * enum dmx_ts_pes - type of the PES filter. 138 * struct dmx_filter - Specifies a section header filter. 141 * @mask: bits that are valid at the filter bit array. 142 * @mode: mode of match: if bit is zero, it will match if equal (positive [all …]
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/dvb/ |
| H A 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 …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/dvb/ |
| H A 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. 35 * enum dmx_output - Output for the demux. 41 * Delivers the stream output to the demux device on which the ioctl 60 * enum dmx_input - Input from the demux. 62 * @DMX_IN_FRONTEND: Input from a front-end device. 71 * enum dmx_ts_pes - type of the PES filter. 138 * struct dmx_filter - Specifies a section header filter. 141 * @mask: bits that are valid at the filter bit array. 142 * @mode: mode of match: if bit is zero, it will match if equal (positive [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/atmel/ |
| H A 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 ---- 209 unsigned int sr, imr, pending, ch, mask; in atmel_i2s_interrupt() local 212 regmap_read(dev->regmap, ATMEL_I2SC_SR, &sr); in atmel_i2s_interrupt() 213 regmap_read(dev->regmap, ATMEL_I2SC_IMR, &imr); in atmel_i2s_interrupt() [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/bits/ |
| H A D | locale_facets.h | 1 // Locale support -*- C++ -*- 3 // Copyright (C) 1997-2020 Free Software Foundation, Inc. 93 // partially-specialized. in _GLIBCXX_VISIBILITY() 105 // in the buffer this way: "xxxx12345" -> "12,345xxx". Call this in _GLIBCXX_VISIBILITY() 160 * This function finds a mask M for @a __c and compares it to in _GLIBCXX_VISIBILITY() 161 * mask @a __m. It does so by returning the value of in _GLIBCXX_VISIBILITY() 164 * @param __c The char_type to compare the mask of. in _GLIBCXX_VISIBILITY() 165 * @param __m The mask to compare against. in _GLIBCXX_VISIBILITY() 169 is(mask __m, char_type __c) const in _GLIBCXX_VISIBILITY() 170 { return this->do_is(__m, __c); } in _GLIBCXX_VISIBILITY() [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/bits/ |
| H A D | locale_facets.h | 1 // Locale support -*- C++ -*- 3 // Copyright (C) 1997-2020 Free Software Foundation, Inc. 93 // partially-specialized. in _GLIBCXX_VISIBILITY() 105 // in the buffer this way: "xxxx12345" -> "12,345xxx". Call this in _GLIBCXX_VISIBILITY() 160 * This function finds a mask M for @a __c and compares it to in _GLIBCXX_VISIBILITY() 161 * mask @a __m. It does so by returning the value of in _GLIBCXX_VISIBILITY() 164 * @param __c The char_type to compare the mask of. in _GLIBCXX_VISIBILITY() 165 * @param __m The mask to compare against. in _GLIBCXX_VISIBILITY() 169 is(mask __m, char_type __c) const in _GLIBCXX_VISIBILITY() 170 { return this->do_is(__m, __c); } in _GLIBCXX_VISIBILITY() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/misc/habanalabs/common/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/media/pci/cx18/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/sound/soc/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/sound/soc/ |
| H A 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++; 67 /* dapm power sequences - make this per codec in the future */ 152 if (dapm->card && dapm->card->instantiated) in dapm_assert_locked() 153 lockdep_assert_held(&dapm->card->dapm_mutex); in dapm_assert_locked() 185 return !list_empty(&w->dirty); in dapm_dirty_widget() 190 dapm_assert_locked(w->dapm); in dapm_mark_dirty() [all …]
|
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/iommu/arm/arm-smmu/ |
| H A D | arm-smmu-qcom.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <linux/adreno-smmu-priv.h> 11 #include "arm-smmu.h" 25 for (i = 0; i < smmu->num_mapping_groups; i++) { in qcom_sdm845_smmu500_cfg_probe() 29 smmu->smrs[i].mask = FIELD_GET(ARM_SMMU_SMR_MASK, smr); in qcom_sdm845_smmu500_cfg_probe() 30 smmu->smrs[i].id = FIELD_GET(ARM_SMMU_SMR_ID, smr); in qcom_sdm845_smmu500_cfg_probe() 31 if (smmu->features & ARM_SMMU_FEAT_EXIDS) in qcom_sdm845_smmu500_cfg_probe() 32 smmu->smrs[i].valid = FIELD_GET( in qcom_sdm845_smmu500_cfg_probe() 36 smmu->smrs[i].valid = FIELD_GET( in qcom_sdm845_smmu500_cfg_probe() 40 smmu->s2crs[i].group = NULL; in qcom_sdm845_smmu500_cfg_probe() [all …]
|
| /OK3568_Linux_fs/kernel/lib/xz/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/sound/soc/rockchip/ |
| H A D | rockchip_vad.c | 1 // SPDX-License-Identifier: GPL-2.0 26 #define DRV_NAME "rockchip-vad" 99 return bytes / vad->channels / vad->sample_bytes; in vframe_size() 108 size2 = CHUNK_SIZE - size1; in chunk_sort() 122 struct vad_buf *vbuf = &vad->vbuf; in vad_buffer_sort() 123 int loop_cnt = vbuf->loop_cnt; in vad_buffer_sort() 125 if (vad->version != VAD_RK1808ES) in vad_buffer_sort() 128 if (vbuf->sorted || !vbuf->loop) in vad_buffer_sort() 132 if ((vbuf->pos - vbuf->begin) % CHUNK_SIZE || in vad_buffer_sort() 133 (vbuf->end - vbuf->pos) % CHUNK_SIZE) in vad_buffer_sort() [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/ti/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/soundwire/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/sound/soc/codecs/ |
| H A D | hdmi-codec.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (C) 2015 Texas Instruments Incorporated - https://www.ti.com/ 16 #include <sound/hdmi-codec.h> 21 #define HDMI_CODEC_CHMAP_IDX_UNKNOWN -1 58 unsigned long mask; member 68 /* Channel maps for multi-channel playbacks, up to 8 n_ch */ 191 * This is an ordered list that must match with hdmi_codec_8ch_chmaps struct 197 .mask = FL | FR}, 200 .mask = FL | FR | LFE}, 203 .mask = FL | FR | FC }, [all …]
|