/linux-6.8/Documentation/sound/cards/ |
D | cmipci.rst | 2 Brief Notes on C-Media 8338/8738/8768/8770 Driver 8 Front/Rear Multi-channel Playback 9 --------------------------------- 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 23 supports only S16LE. 24 - The second DAC supports only two channel stereo. 26 Please note that the CM8x38 DAC doesn't support continuous playback 27 rate but only fixed rates: 5512, 8000, 11025, 16000, 22050, 32000, [all …]
|
D | emu-mixer.rst | 2 E-MU Digital Audio System mixer / default DSP code 5 This document covers the E-MU 0404/1010/1212/1616/1820 PCI/PCI-e/CardBus 9 alternative front-end geared towards semi-professional studio recording. 11 This document is based on audigy-mixer.rst. 20 This is the case on more modern motherboards, where the PCI bus is only a 22 In particular, I got recording glitches during simultaneous playback on an 33 This driver supports only 16-bit 44.1/48 kHz operation. The multi-channel 34 device (see emu10k1-jack.rst) additionally supports 24-bit capture. 37 <https://github.com/ossilator/linux/tree/ossis-emu10k1>`_. 38 Its multi-channel device supports 24-bit for both playback and capture, [all …]
|
D | audigy-mixer.rst | 5 This is based on sb-live-mixer.rst. 20 functionality. Only the default built-in code in the ALSA driver is described 34 one-way three wire serial bus for digital sound by Philips Semiconductors 42 FX-bus 47 name='PCM Front Playback Volume',index=0 48 ---------------------------------------- 49 This control is used to attenuate samples from left and right front PCM FX-bus 51 samples for 5.1 playback. The result samples are forwarded to the front speakers. 53 name='PCM Surround Playback Volume',index=0 54 ------------------------------------------- [all …]
|
/linux-6.8/Documentation/sound/designs/ |
D | timestamping.rst | 7 - Trigger_tstamp is the system time snapshot taken when the .trigger 10 capabilities or conversely may only be able to provide a correct 11 estimate with a delay. In the latter two cases, the low-level driver 17 - tstamp is the current system timestamp updated during the last 19 The difference (tstamp - trigger_tstamp) defines the elapsed time. 29 - ``avail`` reports how much can be written in the ring buffer 30 - ``delay`` reports the time it will take to hear a new sample after all 43 ascii-art, this could be represented as follows (for the playback 47 --------------------------------------------------------------> time 53 |< codec delay >|<--hw delay-->|<queued samples>|<---avail->| [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 37 Please note that the devices listed in this proc file appear only 38 after the corresponding OSS-emulation module is loaded. Don't worry 71 /dev/dsp2, but only /dev/dsp0 and /dev/adsp0. [all …]
|
D | control-names.rst | 8 --------------- 16 Playback one direction 18 Bypass Playback one direction 68 Headset Mic mic part of combined headset jack - 4-pin 70 Headphone Mic mic part of either/or - 3-pin headphone or mic 71 Line input only, use "Line Out" for output 79 Analog Loopback D/A -> A/D loopback 80 Digital Loopback playback -> capture loopback - 91 SPDIF output only 98 ----------------------- [all …]
|
/linux-6.8/sound/soc/intel/boards/ |
D | sof_sdw_common.h | 1 /* SPDX-License-Identifier: GPL-2.0-only 6 * sof_sdw_common.h - prototypes for common helpers 19 #define SDW_UNUSED_DAI_ID -1 71 const bool direction[2]; /* playback & capture support */ 79 bool playback); 100 struct device *headset_codec_dev; /* only one headset per card */ 129 bool playback); 132 /* RT711-SDCA support */ 137 bool playback); 140 /* RT712-SDCA support */ [all …]
|
D | skl_hda_dsp_generic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // Copyright(c) 2015-18 Intel Corporation. 15 #include <sound/soc-acpi.h> 49 { "Analog Codec Playback", NULL, "Analog CPU Playback" }, 50 { "Analog CPU Playback", NULL, "codec0_out" }, 51 { "Digital Codec Playback", NULL, "Digital CPU Playback" }, 52 { "Digital CPU Playback", NULL, "codec1_out" }, 53 { "Alt Analog Codec Playback", NULL, "Alt Analog CPU Playback" }, 54 { "Alt Analog CPU Playback", NULL, "codec2_out" }, 75 dev_dbg(card->dev, "dai link name - %s\n", link->name); in skl_hda_add_dai_link() [all …]
|
/linux-6.8/Documentation/devicetree/bindings/sound/ |
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 …]
|
/linux-6.8/sound/soc/codecs/ |
D | ad1980.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * ad1980.c -- ALSA Soc AD1980 codec support 112 SOC_DOUBLE("Master Playback Volume", AC97_MASTER, 8, 0, 31, 1), 113 SOC_SINGLE("Master Playback Switch", AC97_MASTER, 15, 1, 1), 115 SOC_DOUBLE("Headphone Playback Volume", AC97_HEADPHONE, 8, 0, 31, 1), 116 SOC_SINGLE("Headphone Playback Switch", AC97_HEADPHONE, 15, 1, 1), 118 SOC_DOUBLE("PCM Playback Volume", AC97_PCM, 8, 0, 31, 1), 119 SOC_SINGLE("PCM Playback Switch", AC97_PCM, 15, 1, 1), 124 SOC_SINGLE("Mono Playback Volume", AC97_MASTER_MONO, 0, 31, 1), 125 SOC_SINGLE("Mono Playback Switch", AC97_MASTER_MONO, 15, 1, 1), [all …]
|
D | adau1761.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2011-2013 Analog Devices Inc. 6 * Author: Lars-Peter Clausen <lars@metafoo.de> 125 static const DECLARE_TLV_DB_SCALE(adau1761_sing_in_tlv, -1500, 300, 1); 126 static const DECLARE_TLV_DB_SCALE(adau1761_diff_in_tlv, -1200, 75, 0); 127 static const DECLARE_TLV_DB_SCALE(adau1761_out_tlv, -5700, 100, 0); 128 static const DECLARE_TLV_DB_SCALE(adau1761_sidetone_tlv, -1800, 300, 1); 129 static const DECLARE_TLV_DB_SCALE(adau1761_boost_tlv, -600, 600, 1); 130 static const DECLARE_TLV_DB_SCALE(adau1761_pga_boost_tlv, -2000, 2000, 1); 132 static const DECLARE_TLV_DB_SCALE(adau1761_alc_max_gain_tlv, -1200, 600, 0); [all …]
|
D | ak4554.c | 1 // SPDX-License-Identifier: GPL-2.0 15 * ak4554 playback format is SND_SOC_DAIFMT_RIGHT_J, 22 * CPU-DAI1 (plaback only fmt = RIGHT_J) --+-- ak4554 24 * CPU-DAI2 (capture only fmt = LEFT_J) ---+ 39 { "AOUTL", NULL, "Playback" }, 40 { "AOUTR", NULL, "Playback" }, 44 .name = "ak4554-hifi", 45 .playback = { 46 .stream_name = "Playback", 74 return devm_snd_soc_register_component(&pdev->dev, in ak4554_soc_probe() [all …]
|
D | wm8350.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8350.c -- WM8350 ALSA SoC audio driver 5 * Copyright (C) 2007-12 Wolfson Microelectronics PLC. 36 /* We only include the analogue supplies here; the digital supplies 77 struct wm8350_output *out1 = &wm8350_data->out1; in wm8350_out1_ramp_step() 78 struct wm8350 *wm8350 = wm8350_data->wm8350; in wm8350_out1_ramp_step() 86 if (out1->ramp == WM8350_RAMP_UP) { in wm8350_out1_ramp_step() 88 if (val < out1->left_vol) { in wm8350_out1_ramp_step() 95 } else if (out1->ramp == WM8350_RAMP_DOWN) { in wm8350_out1_ramp_step() 98 val--; in wm8350_out1_ramp_step() [all …]
|
D | ak4613.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // ak4613.c -- Asahi Kasei ALSA Soc Audio driver 14 * +-------+ 16 * SDTO1 <-| | 18 * SDTI1 ->| | 19 * SDTI2 ->| | 20 * SDTI3 ->| | 21 * +-------+ 23 * +---+ 42 * Playback 2ch : SDTI1 [all …]
|
D | twl4030.c | 1 // SPDX-License-Identifier: GPL-2.0-only 28 #include <linux/mfd/twl4030-audio.h> 67 u8 ctl_cache[TWL4030_REG_PRECKR_CTL - TWL4030_REG_EAR_CTL + 1]; 79 twl4030->ctl_cache[i - TWL4030_REG_EAR_CTL] = byte; in tw4030_init_ctl_cache() 89 return -EIO; in twl4030_read() 98 value = twl4030->ctl_cache[reg - TWL4030_REG_EAR_CTL]; in twl4030_read() 116 if (twl4030->earpiece_enabled) in twl4030_can_write_to_chip() 120 if (twl4030->predrivel_enabled) in twl4030_can_write_to_chip() 124 if (twl4030->predriver_enabled) in twl4030_can_write_to_chip() 128 if (twl4030->carkitl_enabled) in twl4030_can_write_to_chip() [all …]
|
D | wm9705.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm9705.c -- ALSA Soc WM9705 codec support 76 SOC_DOUBLE("Master Playback Volume", AC97_MASTER, 8, 0, 31, 1), 77 SOC_SINGLE("Master Playback Switch", AC97_MASTER, 15, 1, 1), 78 SOC_DOUBLE("Headphone Playback Volume", AC97_HEADPHONE, 8, 0, 31, 1), 79 SOC_SINGLE("Headphone Playback Switch", AC97_HEADPHONE, 15, 1, 1), 80 SOC_DOUBLE("PCM Playback Volume", AC97_PCM, 8, 0, 31, 1), 81 SOC_SINGLE("PCM Playback Switch", AC97_PCM, 15, 1, 1), 82 SOC_SINGLE("Mono Playback Volume", AC97_MASTER_MONO, 0, 31, 1), 83 SOC_SINGLE("Mono Playback Switch", AC97_MASTER_MONO, 15, 1, 1), [all …]
|
/linux-6.8/sound/pci/ice1712/ |
D | psc724.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (c) 2012 Ondrej Zary <linux@rainbow-software.org> 34 * VT1722 (Envy24GT) - 6 outputs, 4 inputs (only 2 used), 24-bit/96kHz 42 * AC-Link configuration ICE_EEP2_ACLINK=0x80 60 * 2-channel DAC used for main output and stereo ADC (with 10-channel MUX) 63 * MODE (pin16) -- GND 64 * CE (pin17) -- GND I2C mode (address=0x34) 65 * DI (pin18) -- SDA (VT1722 pin70) 66 * CL (pin19) -- SCLK (VT1722 pin71) 69 * 6-channel DAC used for rear & center/LFE outputs (only 4 channels used) [all …]
|
/linux-6.8/sound/soc/fsl/ |
D | mpc5200_dma.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/dma-mapping.h> 33 struct mpc52xx_psc __iomem *regs = psc_dma->psc_regs; in psc_dma_status_irq() 36 isr = in_be16(®s->mpc52xx_psc_isr); in psc_dma_status_irq() 38 /* Playback underrun error */ in psc_dma_status_irq() 39 if (psc_dma->playback.active && (isr & MPC52xx_PSC_IMR_TXEMP)) in psc_dma_status_irq() 40 psc_dma->stats.underrun_count++; in psc_dma_status_irq() 43 if (psc_dma->capture.active && (isr & MPC52xx_PSC_IMR_ORERR)) in psc_dma_status_irq() 44 psc_dma->stats.overrun_count++; in psc_dma_status_irq() 46 out_8(®s->command, MPC52xx_PSC_RST_ERR_STAT); in psc_dma_status_irq() [all …]
|
/linux-6.8/sound/pci/emu10k1/ |
D | p16v.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (c) by James Courtier-Dutton <James@superbug.demon.co.uk> 11 /* Audigy2 P16V pointer-offset register set, accessed through the PTR2 and DATA2 registers … 25 #define PLAYBACK_LIST_SIZE 0x01 /* Size of list in bytes << 16. E.g. 8 periods -> 0x00380000 */ 28 #define PLAYBACK_DMA_ADDR 0x04 /* Playback DMA address */ 29 #define PLAYBACK_PERIOD_SIZE 0x05 /* Playback period size. win2000 uses 0x04000000 */ 30 #define PLAYBACK_POINTER 0x06 /* Playback period pointer. Used with PLAYBACK_LIST_PTR to determine… 31 #define PLAYBACK_FIFO_END_ADDRESS 0x07 /* Playback FIFO end address */ 32 #define PLAYBACK_FIFO_POINTER 0x08 /* Playback FIFO pointer and number of valid sound samples in c… 57 * [9:8] Playback input 0 channel select. 0 = Play output 0. [all …]
|
/linux-6.8/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 … 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 */ 87 #define IPR_MIDI_RX_A 0x00000004 /* MIDI UART-A Receive buffer non-empty */ [all …]
|
/linux-6.8/sound/soc/sh/ |
D | rz-ssi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Renesas RZ/G2L ASoC Serial Sound Interface (SSIF-2) Driver 73 #define SSI_RATES SNDRV_PCM_RATE_8000_48000 /* 8k-44.1kHz */ 116 * The SSI supports full-duplex transmission and reception. 119 * So it is better to use as half-duplex (playing and recording 122 struct rz_ssi_stream playback; member 139 writel(data, (priv->base + reg)); in rz_ssi_reg_writel() 144 return readl(priv->base + reg); in rz_ssi_reg_readl() 152 val = readl(priv->base + reg); in rz_ssi_reg_mask_setl() 154 writel(val, (priv->base + reg)); in rz_ssi_reg_mask_setl() [all …]
|
D | siu_dai.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // siu_dai.c - ALSA SoC driver for Renesas SH7343, SH7722 SIU peripheral. 5 // Copyright (C) 2009-2010 Guennadi Liakhovetski <g.liakhovetski@gmx.de> 45 * SPDIF is only available on port A and on some SIU implementations it is only 57 struct format_flag playback; member 65 .playback = { 79 .playback = { 82 .spdif = 0, /* impossible - turn off */ 88 .spdif = 0, /* impossible - turn off */ 97 u32 __iomem *base = info->reg; in siu_dai_start() [all …]
|
/linux-6.8/sound/isa/sb/ |
D | sb_mixer.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 47 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_info_single() 49 uinfo->type = mask == 1 ? SNDRV_CTL_ELEM_TYPE_BOOLEAN : SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_sbmixer_info_single() 50 uinfo->count = 1; in snd_sbmixer_info_single() 51 uinfo->value.integer.min = 0; in snd_sbmixer_info_single() 52 uinfo->value.integer.max = mask; in snd_sbmixer_info_single() 60 int reg = kcontrol->private_value & 0xff; in snd_sbmixer_get_single() 61 int shift = (kcontrol->private_value >> 16) & 0xff; in snd_sbmixer_get_single() 62 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_get_single() 65 spin_lock_irqsave(&sb->mixer_lock, flags); in snd_sbmixer_get_single() [all …]
|
/linux-6.8/sound/pci/ |
D | azt3328.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 /* "PU" == "power-up value", as tested on PCI168 PCI rev. 10 9 /* (only 0x70 of 0x80 bytes saved/restored by Windows driver) */ 15 * from 0x00 (playback codec), from 0x20 (recording codec) 27 * 0x0001 is the only bit that's able to start the DMA counter */ 30 * both 0x0002 and 0x0004 set in playback setup. */ 68 * have any hard facts, only rough measurements. 85 …REQ_SUSPECTED_66200 0x06 | SOUNDFORMAT_XTAL2 /* 66200 (13240 * 5); 64000 may have been nicer :-\ */ 111 #define IDX_IO_TIMER_VALUE 0x60 /* found this timer area by pure luck :-) */ 122 /* some IRQ bit in here might also be used to signal a power-management timer [all …]
|
/linux-6.8/sound/usb/line6/ |
D | pcm.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2004-2010 Markus Grabner (grabner@icg.tugraz.at) 23 with only one frame per packet. 38 (line6pcm->pcm->streams[stream].substream) 45 *) PCM playback and capture via ALSA 49 capture and playback stream, which must be shared between these 53 We define two bit flags, "opened" and "running", for each playback 56 LINE6_STREAM_PCM = ALSA PCM playback or capture 149 /* Capture and playback streams */ 163 /* PCM playback volume (left and right) */
|