/linux-5.10/Documentation/sound/cards/ |
D | cmipci.rst | 2 Brief Notes on C-Media 8338/8738/8768/8770 Driver 8 Front/Rear Multi-channel Playback 9 --------------------------------- 12 channels can be used for front/rear playbacks. Since there are two 13 DACs, both streams are handled independently unlike the 4/6ch multi- 18 (hw:0,1) is assigned to the second DAC for rear playback. 22 - The first DAC supports U8 and S16LE formats, while the second DAC 24 - The second DAC supports only two channel stereo. 26 Please note that the CM8x38 DAC doesn't support continuous playback 44 on and "double DAC" mode. Actually I could hear separate 4 channels [all …]
|
D | audiophile-usb.rst | 2 Guide to using M-Audio Audiophile USB with ALSA and Jack 9 This document is a guide to using the M-Audio Audiophile USB (tm) device with 15 * v1.4 - Thibault Le Meur (2007-07-11) 17 - Added Low Endianness nature of 16bits-modes 19 - Modifying document structure 21 * v1.5 - Thibault Le Meur (2007-07-12) 22 - Added AC3/DTS passthru info 35 - This port supports 2 pairs of line-level audio inputs (1/4" TS and RCA) 36 - When the 1/4" TS (jack) connectors are connected, the RCA connectors 57 * 16-bit/48kHz ==> 4 channels in + 4 channels out [all …]
|
D | hdspm.rst | 2 Software Interface ALSA-DSP MADI Driver 5 (translated from German, so no good English ;-), 7 2004 - winfried ritsch 11 the Controls and startup-options are ALSA-Standard and only the 19 ------------------ 21 * number of channels -- depends on transmission mode 23 The number of channels chosen is from 1..Nmax. The reason to 24 use for a lower number of channels is only resource allocation, 25 since unused DMA channels are disabled and less memory is 29 * Single Speed -- 1..64 channels [all …]
|
/linux-5.10/Documentation/devicetree/bindings/sound/ |
D | rockchip-i2s.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/rockchip-i2s.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 The I2S bus (Inter-IC sound bus) is a serial link for digital 14 - Heiko Stuebner <heiko@sntech.de> 19 - const: rockchip,rk3066-i2s 20 - items: 21 - enum: 22 - rockchip,px30-i2s [all …]
|
D | xlnx,i2s.txt | 1 Device-Tree bindings for Xilinx I2S PL block 3 The IP supports I2S based playback/capture audio 6 - compatible: "xlnx,i2s-transmitter-1.0" for playback and 7 "xlnx,i2s-receiver-1.0" for capture 9 Required property common to both I2S playback and 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"; [all …]
|
D | fsl,ssi.txt | 4 be programmed in AC97, I2S, left-justified, or right-justified modes. 7 - compatible: Compatible list, should contain one of the following 9 fsl,mpc8610-ssi 10 fsl,imx51-ssi 11 fsl,imx35-ssi 12 fsl,imx21-ssi 13 - cell-index: The SSI, <0> = SSI1, <1> = SSI2, and so on. 14 - reg: Offset and length of the register set for the device. 15 - interrupts: <a b> where a is the interrupt number and b is a 21 - fsl,fifo-depth: The number of elements in the transmit and receive FIFOs. [all …]
|
D | simple-card.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/simple-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 14 frame-master: 15 description: Indicates dai-link frame master. 16 $ref: /schemas/types.yaml#/definitions/phandle-array 19 bitclock-master: 20 description: Indicates dai-link bit clock master [all …]
|
/linux-5.10/drivers/usb/gadget/function/ |
D | u_uac1_legacy.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * u_uac1.c -- ALSA audio utilities for Gadget stack 24 /*-------------------------------------------------------------------------*/ 47 changed = -EINVAL; in _snd_pcm_hw_param_set() 53 val--; in _snd_pcm_hw_param_set() 60 changed = -EINVAL; in _snd_pcm_hw_param_set() 71 t.min = val - 1; in _snd_pcm_hw_param_set() 80 return -EINVAL; in _snd_pcm_hw_param_set() 82 params->cmask |= 1 << var; in _snd_pcm_hw_param_set() 83 params->rmask |= 1 << var; in _snd_pcm_hw_param_set() [all …]
|
/linux-5.10/sound/soc/tegra/ |
D | tegra210_i2s.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // tegra210_i2s.c - Tegra210 I2S driver 42 regmap_write(regmap, TEGRA210_I2S_SLOT_CTRL, total_slots - 1); in tegra210_i2s_set_slot_ctrl() 54 regmap_read(i2s->regmap, TEGRA210_I2S_CTRL, &val); in tegra210_i2s_set_clock_rate() 60 err = clk_set_rate(i2s->clk_i2s, clock_rate); in tegra210_i2s_set_clock_rate() 67 if (!IS_ERR(i2s->clk_sync_input)) { in tegra210_i2s_set_clock_rate() 73 err = clk_set_rate(i2s->clk_sync_input, clock_rate); in tegra210_i2s_set_clock_rate() 88 struct device *dev = compnt->dev; in tegra210_i2s_sw_reset() 107 regmap_read(i2s->regmap, cif_reg, &cif_ctrl); in tegra210_i2s_sw_reset() 108 regmap_read(i2s->regmap, stream_reg, &stream_ctrl); in tegra210_i2s_sw_reset() [all …]
|
D | tegra186_dspk.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // tegra186_dspk.c - Tegra186 DSPK driver 35 if (strstr(kcontrol->id.name, "FIFO Threshold")) in tegra186_dspk_get_control() 36 ucontrol->value.integer.value[0] = dspk->rx_fifo_th; in tegra186_dspk_get_control() 37 else if (strstr(kcontrol->id.name, "OSR Value")) in tegra186_dspk_get_control() 38 ucontrol->value.integer.value[0] = dspk->osr_val; in tegra186_dspk_get_control() 39 else if (strstr(kcontrol->id.name, "LR Polarity Select")) in tegra186_dspk_get_control() 40 ucontrol->value.integer.value[0] = dspk->lrsel; in tegra186_dspk_get_control() 41 else if (strstr(kcontrol->id.name, "Channel Select")) in tegra186_dspk_get_control() 42 ucontrol->value.integer.value[0] = dspk->ch_sel; in tegra186_dspk_get_control() [all …]
|
/linux-5.10/sound/soc/amd/ |
D | acp.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 /* Playback and Capture Offset for Stoney */ 26 * playback and SRAM Bank 2 for capture where as in case of BT I2S 27 * Instance, Stoney uses SRAM Bank 3 for playback & SRAM Bank 4 will 29 * 1, 2, 3, 4 will be used for playback & SRAM Banks 5, 6, 7, 8 will be used 72 /* Playback DMA channels */ 76 /* Capture DMA channels */ 80 /* Playback DMA Channels for I2S BT instance */ 84 /* Capture DMA Channels for I2S BT Instance */
|
/linux-5.10/Documentation/sound/designs/ |
D | control-names.rst | 8 --------------- 16 Playback one direction 18 Bypass Playback one direction 33 <nothing> channel independent, or applies to all channels 34 Front front left/right channels 36 CLFE C/LFE channels 68 Headset Mic mic part of combined headset jack - 4-pin 70 Headphone Mic mic part of either/or - 3-pin headphone or mic 79 Analog Loopback D/A -> A/D loopback 80 Digital Loopback playback -> capture loopback - [all …]
|
D | oss-emulation.rst | 2 Notes on Kernel OSS-Emulation 13 as add-on kernel modules, snd-pcm-oss, snd-mixer-oss and snd-seq-oss. 18 is called. The alias is defined ``sound-service-x-y``, where x and y are 22 Only necessary step for auto-loading of OSS modules is to define the 25 alias sound-slot-0 snd-emu10k1 27 As the second card, define ``sound-slot-1`` as well. 29 ``alias sound-slot-0 snd-card-0`` doesn't work any more like the old 38 after the corresponding OSS-emulation module is loaded. Don't worry 79 snd-pcm-oss and snd-rawmidi. In the case of PCM, the following 80 options are available for snd-pcm-oss: [all …]
|
/linux-5.10/sound/soc/ti/ |
D | davinci-i2s.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * based on davinci-mcasp.c DT support 31 #include "edma-pcm.h" 32 #include "davinci-i2s.h" 34 #define DRV_NAME "davinci-i2s" 39 * - This driver supports the "Audio Serial Port" (ASP), 42 * - But it labels it a "Multi-channel Buffered Serial Port" 44 * backward-compatible, possibly explaining that confusion. 46 * - OMAP chips have a controller called McBSP, which is 49 * - Newer DaVinci chips have a controller called McASP, [all …]
|
D | omap-mcpdm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * omap-mcpdm.c -- OMAP ALSA SoC DAI driver using McPDM port 5 * Copyright (C) 2009 - 2011 Texas Instruments 30 #include "omap-mcpdm.h" 31 #include "sdma-pcm.h" 48 /* Playback/Capture configuration */ 51 /* McPDM dn offsets for rx1, and 2 channels */ 69 writel_relaxed(val, mcpdm->io_base + reg); in omap_mcpdm_write() 74 return readl_relaxed(mcpdm->io_base + reg); in omap_mcpdm_read() 80 dev_dbg(mcpdm->dev, "***********************\n"); in omap_mcpdm_reg_dump() [all …]
|
/linux-5.10/sound/isa/gus/ |
D | gusmax.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 26 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ 33 static int joystick_dac[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 29}; 34 /* 0 to 31, (0.59V-4.52V or 0.389V-2.98V) */ 35 static int channels[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 24}; variable 36 static int pcm_channels[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 2}; 53 MODULE_PARM_DESC(joystick_dac, "Joystick DAC level 0.59V-4.52V or 0.389V-2.98V for GUS MAX driver."… 54 module_param_array(channels, int, NULL, 0444); 55 MODULE_PARM_DESC(channels, "Used GF1 channels for GUS MAX driver."); 57 MODULE_PARM_DESC(pcm_channels, "Reserved PCM channels for GUS MAX driver."); [all …]
|
/linux-5.10/sound/usb/misc/ |
D | ua101.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Edirol UA-101/UA-1000 driver 19 MODULE_DESCRIPTION("Edirol UA-101/1000 driver"); 22 MODULE_SUPPORTED_DEVICE("{{Edirol,UA-101},{Edirol,UA-1000}}"); 33 * This magic value optimizes memory usage efficiency for the UA-101's packet 56 __stringify(MIN_QUEUE_LENGTH)"-"__stringify(MAX_QUEUE_LENGTH)); 93 /* FIFO to synchronize playback rate to capture rate */ 106 unsigned int channels; member 122 } capture, playback; member 135 case -ENODEV: in usb_error_string() [all …]
|
/linux-5.10/sound/firewire/dice/ |
D | dice-pcm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * dice_pcm.c - a part of driver for DICE based devices 6 * Copyright (c) 2014 Takashi Sakamoto <o-takashi@sakamocchi.jp> 14 struct snd_pcm_substream *substream = rule->private; in dice_rate_constraint() 15 struct snd_dice *dice = substream->private_data; in dice_rate_constraint() 16 unsigned int index = substream->pcm->device; in dice_rate_constraint() 29 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in dice_rate_constraint() 30 pcm_channels = dice->tx_pcm_chs[index]; in dice_rate_constraint() 32 pcm_channels = dice->rx_pcm_chs[index]; in dice_rate_constraint() 52 struct snd_pcm_substream *substream = rule->private; in dice_channels_constraint() [all …]
|
/linux-5.10/sound/soc/xilinx/ |
D | xlnx_i2s.c | 1 // SPDX-License-Identifier: GPL-2.0 31 return -EINVAL; in xlnx_i2s_set_sclkout_div() 48 reg_off = I2S_CH0_OFFSET + ((chan_id - 1) * 4); in xlnx_i2s_hw_params() 50 chan_id--; in xlnx_i2s_hw_params() 73 return -EINVAL; in xlnx_i2s_trigger() 90 { .compatible = "xlnx,i2s-transmitter-1.0", }, 91 { .compatible = "xlnx,i2s-receiver-1.0", }, 102 struct device *dev = &pdev->dev; in xlnx_i2s_probe() 103 struct device_node *node = dev->of_node; in xlnx_i2s_probe() 105 dai_drv = devm_kzalloc(&pdev->dev, sizeof(*dai_drv), GFP_KERNEL); in xlnx_i2s_probe() [all …]
|
/linux-5.10/sound/pci/ctxfi/ |
D | ctpcm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 /* Hardware descriptions for playback */ 97 if (!apcm->substream) in ct_atc_pcm_interrupt() 100 snd_pcm_period_elapsed(apcm->substream); in ct_atc_pcm_interrupt() 105 struct ct_atc_pcm *apcm = runtime->private_data; in ct_atc_pcm_free_substream() 106 struct ct_atc *atc = snd_pcm_substream_chip(apcm->substream); in ct_atc_pcm_free_substream() 108 atc->pcm_release_resources(atc, apcm); in ct_atc_pcm_free_substream() 109 ct_timer_instance_free(apcm->timer); in ct_atc_pcm_free_substream() 111 runtime->private_data = NULL; in ct_atc_pcm_free_substream() 114 /* pcm playback operations */ [all …]
|
/linux-5.10/sound/pci/ca0106/ |
D | ca0106.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk> 24 …* Enable playback 48000 and 96000 rates. (Rates other that these do not work, even with "plug:f… 28 …* Correct interrupt timing. interrupt at end of period, instead of in the middle of a playback … 31 * Single trigger call for multi channels. 34 * playback periods_min=2, periods_max=8 36 * playback hw constraints require period_size = n * 64 bytes. 50 * Implement support for Line-in capture on SB Live 24bit. 73 #define IPR_MIDI_RX_B 0x00020000 /* MIDI UART-B Receive buffer non-empty */ 74 #define IPR_MIDI_TX_B 0x00010000 /* MIDI UART-B Transmit buffer empty */ [all …]
|
/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 23 * Maximum number of channels topology kcontrol can represent. 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 */ 303 __le32 channels_min; /* min channels */ 304 __le32 channels_max; /* max channels */ 324 __le32 channels; /* channels */ member [all …]
|
/linux-5.10/sound/soc/intel/boards/ |
D | haswell.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <sound/soc-acpi.h> 32 {"AIF1 Playback", NULL, "SSP0 CODEC OUT"}, 40 struct snd_interval *channels = hw_param_interval(params, in haswell_ssp0_fixup() local 44 rate->min = rate->max = 48000; in haswell_ssp0_fixup() 45 channels->min = channels->max = 2; in haswell_ssp0_fixup() 63 dev_err(rtd->dev, "can't set codec sysclk configuration\n"); in haswell_rt5640_hw_params() 68 snd_soc_component_update_bits(codec_dai->component, 0x83, 0xffff, 0x8000); in haswell_rt5640_hw_params() 93 DAILINK_COMP_ARRAY(COMP_CODEC("i2c-INT33CA:00", "rt5640-aif1"))); 96 DAILINK_COMP_ARRAY(COMP_PLATFORM("haswell-pcm-audio"))); [all …]
|
/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 */ 68 SOC_ENUM("Playback Deemphasis", ad193x_deemp_enum), 78 /* ADC high-pass filter */ 84 SND_SOC_DAPM_DAC("DAC", "Playback", SND_SOC_NOPM, 0, 0), 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() [all …]
|
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 64 { .channels = 2, 69 /* Channel maps for multi-channel playbacks, up to 8 n_ch */ 71 { .channels = 2, /* CA_ID 0x00 */ 73 { .channels = 4, /* CA_ID 0x01 */ 76 { .channels = 4, /* CA_ID 0x02 */ 79 { .channels = 4, /* CA_ID 0x03 */ [all …]
|