| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | xlnx,i2s.txt | 1 Device-Tree bindings for Xilinx I2S PL block 6 - compatible: "xlnx,i2s-transmitter-1.0" for playback and 7 "xlnx,i2s-receiver-1.0" for capture 10 - reg: Base address and size of the IP core instance. 11 - xlnx,dwidth: sample data width. Can be any of 16, 24. 12 - xlnx,num-channels: Number of I2S streams. Can be any of 1, 2, 3, 4. 13 supported channels = 2 * xlnx,num-channels 18 compatible = "xlnx,i2s-receiver-1.0"; 21 xlnx,num-channels = <1>; 24 compatible = "xlnx,i2s-transmitter-1.0"; [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | xlnx,i2s.txt | 1 Device-Tree bindings for Xilinx I2S PL block 6 - compatible: "xlnx,i2s-transmitter-1.0" for playback and 7 "xlnx,i2s-receiver-1.0" for capture 10 - reg: Base address and size of the IP core instance. 11 - xlnx,dwidth: sample data width. Can be any of 16, 24. 12 - xlnx,num-channels: Number of I2S streams. Can be any of 1, 2, 3, 4. 13 supported channels = 2 * xlnx,num-channels 18 compatible = "xlnx,i2s-receiver-1.0"; 21 xlnx,num-channels = <1>; 24 compatible = "xlnx,i2s-transmitter-1.0"; [all …]
|
| D | dmic.txt | 1 Device-Tree bindings for Digital microphone (DMIC) codec 6 - compatible: should be "dmic-codec". 9 - dmicen-gpios: GPIO specifier for dmic to control start and stop 10 - num-channels: Number of microphones on this DAI 11 - wakeup-delay-ms: Delay (in ms) after enabling the DMIC 12 - modeswitch-delay-ms: Delay (in ms) to complete DMIC mode switch 17 compatible = "dmic-codec"; 18 dmicen-gpios = <&gpio4 3 GPIO_ACTIVE_HIGH>; 19 num-channels = <1>; 20 wakeup-delay-ms <50>; [all …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/hsi/ |
| D | hsi_char.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 16 #define HSC_IOW(num, dtype) _IOW(HSI_CHAR_MAGIC, num, dtype) argument 17 #define HSC_IOR(num, dtype) _IOR(HSI_CHAR_MAGIC, num, dtype) argument 18 #define HSC_IOWR(num, dtype) _IOWR(HSI_CHAR_MAGIC, num, dtype) argument 19 #define HSC_IO(num) _IO(HSI_CHAR_MAGIC, num) argument 41 __u32 channels; member 46 __u32 channels; member
|
| /kernel/linux/linux-5.10/sound/usb/ |
| D | mixer_scarlett.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 21 * Auto-detection via UAC2 is not feasible to properly discover the vast 38 * - change Impedance of inputs (Line-in, Mic / Instrument, Hi-Z) 39 * - select clock source 40 * - dynamic input to mixer-matrix assignment 41 * - 18 x 6 mixer-matrix gain stages 42 * - bus routing & volume control 43 * - automatic re-initialization on connect if device was power-cycled 49 * pad (-10dB) switch, wValue=0x0b01 + channel, data=Off/On (2bytes) 54 * 0x29 Set Sample-rate, wValue=0x0100, data=sample-rate(4bytes) [all …]
|
| /kernel/linux/linux-6.6/sound/usb/ |
| D | mixer_scarlett.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 21 * Auto-detection via UAC2 is not feasible to properly discover the vast 38 * - change Impedance of inputs (Line-in, Mic / Instrument, Hi-Z) 39 * - select clock source 40 * - dynamic input to mixer-matrix assignment 41 * - 18 x 6 mixer-matrix gain stages 42 * - bus routing & volume control 43 * - automatic re-initialization on connect if device was power-cycled 49 * pad (-10dB) switch, wValue=0x0b01 + channel, data=Off/On (2bytes) 54 * 0x29 Set Sample-rate, wValue=0x0100, data=sample-rate(4bytes) [all …]
|
| /kernel/linux/linux-5.10/tools/iio/ |
| D | iio_generic_buffer.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 * generic_buffer -n <device_name> -t <trigger_name> 36 * enum autochan - state for the automatic channel enabling mechanism 45 * size_from_channelarray() - calculate the storage size of a scan 46 * @channels: the channel info array 47 * @num_channels: number of channels 49 * Has the side effect of filling the channels[i].location values used 52 static unsigned int size_from_channelarray(struct iio_channel_info *channels, int num_channels) in size_from_channelarray() argument 59 if (channels[i].bytes > max) in size_from_channelarray() 60 max = channels[i].bytes; in size_from_channelarray() [all …]
|
| /kernel/linux/linux-5.10/include/uapi/linux/hsi/ |
| D | hsi_char.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 21 * 02110-1301 USA 30 #define HSC_IOW(num, dtype) _IOW(HSI_CHAR_MAGIC, num, dtype) argument 31 #define HSC_IOR(num, dtype) _IOR(HSI_CHAR_MAGIC, num, dtype) argument 32 #define HSC_IOWR(num, dtype) _IOWR(HSI_CHAR_MAGIC, num, dtype) argument 33 #define HSC_IO(num) _IO(HSI_CHAR_MAGIC, num) argument 55 __u32 channels; member 60 __u32 channels; member
|
| /kernel/linux/linux-6.6/drivers/iio/adc/ |
| D | ad7606.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 #define AD760X_CHANNEL(num, mask_sep, mask_type, mask_all) { \ argument 14 .channel = num, \ 15 .address = num, \ 19 .scan_index = num, \ 28 #define AD7605_CHANNEL(num) \ argument 29 AD760X_CHANNEL(num, BIT(IIO_CHAN_INFO_RAW), \ 32 #define AD7606_CHANNEL(num) \ argument 33 AD760X_CHANNEL(num, BIT(IIO_CHAN_INFO_RAW), \ 37 #define AD7616_CHANNEL(num) \ argument [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/adc/ |
| D | ad7606.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 #define AD760X_CHANNEL(num, mask_sep, mask_type, mask_all) { \ argument 14 .channel = num, \ 15 .address = num, \ 19 .scan_index = num, \ 28 #define AD7605_CHANNEL(num) \ argument 29 AD760X_CHANNEL(num, BIT(IIO_CHAN_INFO_RAW), \ 32 #define AD7606_CHANNEL(num) \ argument 33 AD760X_CHANNEL(num, BIT(IIO_CHAN_INFO_RAW), \ 37 #define AD7616_CHANNEL(num) \ argument [all …]
|
| /kernel/linux/linux-5.10/arch/x86/kernel/ |
| D | hpet.c | 1 // SPDX-License-Identifier: GPL-2.0-only 26 unsigned int num; member 39 struct hpet_channel *channels; member 51 u8 hpet_blockid; /* OS timer block num */ 132 * is_hpet_enabled - Check whether the legacy HPET timer interrupt is enabled 142 u32 i, id, period, cfg, status, channels, l, h; in _hpet_print_config() local 158 channels = ((id & HPET_ID_NUMBER) >> HPET_ID_NUMBER_SHIFT) + 1; in _hpet_print_config() 160 for (i = 0; i < channels; i++) { in _hpet_print_config() 206 struct hpet_channel *hc = hpet_base.channels + i; in hpet_reserve_platform_timers() 209 hd.hd_irq[i] = hc->irq; in hpet_reserve_platform_timers() [all …]
|
| /kernel/linux/linux-6.6/tools/iio/ |
| D | iio_generic_buffer.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 * generic_buffer -n <device_name> -t <trigger_name> 38 * enum autochan - state for the automatic channel enabling mechanism 47 * size_from_channelarray() - calculate the storage size of a scan 48 * @channels: the channel info array 49 * @num_channels: number of channels 51 * Has the side effect of filling the channels[i].location values used 54 static unsigned int size_from_channelarray(struct iio_channel_info *channels, int num_channels) in size_from_channelarray() argument 61 if (channels[i].bytes > max) in size_from_channelarray() 62 max = channels[i].bytes; in size_from_channelarray() [all …]
|
| /kernel/linux/linux-6.6/arch/x86/kernel/ |
| D | hpet.c | 1 // SPDX-License-Identifier: GPL-2.0-only 27 unsigned int num; member 40 struct hpet_channel *channels; member 52 u8 hpet_blockid; /* OS timer block num */ 133 * is_hpet_enabled - Check whether the legacy HPET timer interrupt is enabled 143 u32 i, id, period, cfg, status, channels, l, h; in _hpet_print_config() local 159 channels = ((id & HPET_ID_NUMBER) >> HPET_ID_NUMBER_SHIFT) + 1; in _hpet_print_config() 161 for (i = 0; i < channels; i++) { in _hpet_print_config() 207 struct hpet_channel *hc = hpet_base.channels + i; in hpet_reserve_platform_timers() 210 hd.hd_irq[i] = hc->irq; in hpet_reserve_platform_timers() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pwm/ |
| D | pwm-st.txt | 2 -------------------------------------- 5 - compatible : "st,pwm" 6 - #pwm-cells : Number of cells used to specify a PWM. First cell 7 specifies the per-chip index of the PWM to use and the 8 second cell is the period in nanoseconds - fixed to 2 10 - reg : Physical base address and length of the controller's 12 - pinctrl-names: Set to "default". 13 - pinctrl-0: List of phandles pointing to pin configuration nodes 16 - clock-names: Valid entries are "pwm" and/or "capture". 17 - clocks: phandle of the clock used by the PWM module. [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/pwm/ |
| D | pwm-st.txt | 2 -------------------------------------- 5 - compatible : "st,pwm" 6 - #pwm-cells : Number of cells used to specify a PWM. First cell 7 specifies the per-chip index of the PWM to use and the 8 second cell is the period in nanoseconds - fixed to 2 10 - reg : Physical base address and length of the controller's 12 - pinctrl-names: Set to "default". 13 - pinctrl-0: List of phandles pointing to pin configuration nodes 16 - clock-names: Valid entries are "pwm" and/or "capture". 17 - clocks: phandle of the clock used by the PWM module. [all …]
|
| /kernel/linux/linux-5.10/drivers/hsi/controllers/ |
| D | omap_ssi_port.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/dma-mapping.h> 36 return gpiod_get_value(omap_port->wake_gpio); in ssi_wakein() 44 debugfs_remove_recursive(omap_port->dir); in ssi_debug_remove_port() 49 struct hsi_port *port = m->private; in ssi_port_regs_show() 51 struct hsi_controller *ssi = to_hsi_controller(port->device.parent); in ssi_port_regs_show() 53 void __iomem *base = omap_ssi->sys; in ssi_port_regs_show() 56 pm_runtime_get_sync(omap_port->pdev); in ssi_port_regs_show() 57 if (omap_port->wake_irq > 0) in ssi_port_regs_show() 60 readl(base + SSI_WAKE_REG(port->num))); in ssi_port_regs_show() [all …]
|
| /kernel/linux/linux-6.6/drivers/hsi/controllers/ |
| D | omap_ssi_port.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/dma-mapping.h> 36 return gpiod_get_value(omap_port->wake_gpio); in ssi_wakein() 44 debugfs_remove_recursive(omap_port->dir); in ssi_debug_remove_port() 49 struct hsi_port *port = m->private; in ssi_port_regs_show() 51 struct hsi_controller *ssi = to_hsi_controller(port->device.parent); in ssi_port_regs_show() 53 void __iomem *base = omap_ssi->sys; in ssi_port_regs_show() 56 pm_runtime_get_sync(omap_port->pdev); in ssi_port_regs_show() 57 if (omap_port->wake_irq > 0) in ssi_port_regs_show() 60 readl(base + SSI_WAKE_REG(port->num))); in ssi_port_regs_show() [all …]
|
| /kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/hsi/ |
| D | hsi_char.h | 11 *** source file (e.g. under external/kernel-headers/original/) then 23 #define HSC_IOW(num,dtype) _IOW(HSI_CHAR_MAGIC, num, dtype) argument 24 #define HSC_IOR(num,dtype) _IOR(HSI_CHAR_MAGIC, num, dtype) argument 25 #define HSC_IOWR(num,dtype) _IOWR(HSI_CHAR_MAGIC, num, dtype) argument 26 #define HSC_IO(num) _IO(HSI_CHAR_MAGIC, num) argument 44 __u32 channels; member 48 __u32 channels; member
|
| /kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/hsi/ |
| D | hsi_char.h | 11 *** source file (e.g. under external/kernel-headers/original/) then 23 #define HSC_IOW(num,dtype) _IOW(HSI_CHAR_MAGIC, num, dtype) argument 24 #define HSC_IOR(num,dtype) _IOR(HSI_CHAR_MAGIC, num, dtype) argument 25 #define HSC_IOWR(num,dtype) _IOWR(HSI_CHAR_MAGIC, num, dtype) argument 26 #define HSC_IO(num) _IO(HSI_CHAR_MAGIC, num) argument 44 __u32 channels; member 48 __u32 channels; member
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | ad193x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 30 * AD193X volume/mute/de-emphasis etc. controls 37 static const DECLARE_TLV_DB_MINMAX(adau193x_tlv, -9563, 0); 67 /* DAC de-emphasis */ 78 /* ADC high-pass filter */ 105 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in ad193x_check_pll() 108 return !!ad193x->sysclk; in ad193x_check_pll() 131 switch (ad193x->type) { in ad193x_has_adc() 148 struct ad193x_priv *ad193x = snd_soc_component_get_drvdata(dai->component); in ad193x_mute() 151 regmap_update_bits(ad193x->regmap, AD193X_DAC_CTRL2, in ad193x_mute() [all …]
|
| /kernel/linux/linux-5.10/sound/core/ |
| D | pcm_lib.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Abramo Bagnara <abramo@alsa-project.org> 38 * runtime->silence_start: starting pointer to silence area 39 * runtime->silence_filled: size filled with silence 40 * runtime->silence_threshold: threshold from application 41 * runtime->silence_size: maximal size from application 43 * when runtime->silence_size >= runtime->boundary - fill processed area with silence immediately 47 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_playback_silence() 51 if (runtime->silence_size < runtime->boundary) { in snd_pcm_playback_silence() 53 snd_pcm_uframes_t appl_ptr = READ_ONCE(runtime->control->appl_ptr); in snd_pcm_playback_silence() [all …]
|
| /kernel/linux/linux-6.6/sound/core/ |
| D | pcm_lib.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Abramo Bagnara <abramo@alsa-project.org> 43 delta = new_ptr - ptr; in update_silence_vars() 47 delta += runtime->boundary; in update_silence_vars() 48 if ((snd_pcm_uframes_t)delta < runtime->silence_filled) in update_silence_vars() 49 runtime->silence_filled -= delta; in update_silence_vars() 51 runtime->silence_filled = 0; in update_silence_vars() 52 runtime->silence_start = new_ptr; in update_silence_vars() 57 * runtime->silence_start: starting pointer to silence area 58 * runtime->silence_filled: size filled with silence [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | ad193x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 30 * AD193X volume/mute/de-emphasis etc. controls 37 static const DECLARE_TLV_DB_MINMAX(adau193x_tlv, -9563, 0); 67 /* DAC de-emphasis */ 78 /* ADC high-pass filter */ 105 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in ad193x_check_pll() 108 return !!ad193x->sysclk; in ad193x_check_pll() 131 switch (ad193x->type) { in ad193x_has_adc() 148 struct ad193x_priv *ad193x = snd_soc_component_get_drvdata(dai->component); in ad193x_mute() 151 regmap_update_bits(ad193x->regmap, AD193X_DAC_CTRL2, in ad193x_mute() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/dma/ |
| D | qcom_bam_dma.txt | 4 - compatible: must be one of the following: 5 * "qcom,bam-v1.4.0" for MSM8974, APQ8074 and APQ8084 6 * "qcom,bam-v1.3.0" for APQ8064, IPQ8064 and MSM8960 7 * "qcom,bam-v1.7.0" for MSM8916 8 - reg: Address range for DMA registers 9 - interrupts: Should contain the one interrupt shared by all channels 10 - #dma-cells: must be <1>, the cell in the dmas property of the client device 12 - clocks: required clock 13 - clock-names: must contain "bam_clk" entry 14 - qcom,ee : indicates the active Execution Environment identifier (0-7) used in [all …]
|
| /kernel/linux/linux-5.10/drivers/media/platform/ |
| D | rcar_drif.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * R-Car Gen3 Digital Radio Interface (DRIF) driver 14 * The R-Car DRIF is a receive only MSIOF like controller with an 16 * then this driver uses the SYS-DMAC engine to move the data from 20 * channels DRIFx0 & DRIFx1 within itself with each having its own resources 21 * like module clk, register set, irq and dma. These internal channels share 23 * considered to represent the two internal channels. This internal split 27 * (1) both internal channels (D0 & D1) to receive data in parallel (or) 34 * framework. This driver expects a tuner driver (sub-device) to bind 47 #include <linux/dma-mapping.h> [all …]
|