Home
last modified time | relevance | path

Searched +full:pcm +full:- +full:interface +full:- +full:rate (Results 1 – 25 of 622) sorted by relevance

12345678910>>...25

/kernel/linux/linux-6.6/Documentation/sound/soc/
Ddai.rst2 ASoC Digital Audio Interface (DAI)
6 SoC controllers and portable audio CODECs today, namely AC97, I2S and PCM.
12 AC97 is a five wire interface commonly found on many PC sound cards. It is
30 usually varies depending on the sample rate and the master system clock
31 (SYSCLK). LRCLK is the same as the sample rate. A few devices support separate
35 I2S has several different operating modes:-
47 PCM chapter
50 PCM is another 4 wire interface, very similar to I2S, which can support a more
53 receive the audio data. Bit clock usually varies depending on sample rate
54 while sync runs at the sample rate. PCM also supports Time Division
[all …]
/kernel/linux/linux-5.10/Documentation/sound/soc/
Ddai.rst2 ASoC Digital Audio Interface (DAI)
6 SoC controllers and portable audio CODECs today, namely AC97, I2S and PCM.
12 AC97 is a five wire interface commonly found on many PC sound cards. It is
30 usually varies depending on the sample rate and the master system clock
31 (SYSCLK). LRCLK is the same as the sample rate. A few devices support separate
35 I2S has several different operating modes:-
47 PCM chapter
50 PCM is another 4 wire interface, very similar to I2S, which can support a more
53 receive the audio data. Bit clock usually varies depending on sample rate
54 while sync runs at the sample rate. PCM also supports Time Division
[all …]
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Du_uac1_legacy.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/usb/gadget/function/
Du_uac1_legacy.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/mtd/lpddr/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
2 menu "LPDDR & LPDDR2 PCM memory drivers"
9 This option enables support of LPDDR (Low power double data rate)
10 flash chips. Synonymous with Mobile-DDR. It is a new standard for
11 DDR memories, intended for battery-operated systems.
18 Window QINFO interface, permits software to be used for entire
25 tristate "Support for LPDDR2-NVM flash chips"
27 This option enables support of PCM memories with a LPDDR2-NVM
28 (Low power double data rate 2) interface.
/kernel/linux/linux-6.6/drivers/mtd/lpddr/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
2 menu "LPDDR & LPDDR2 PCM memory drivers"
9 This option enables support of LPDDR (Low power double data rate)
10 flash chips. Synonymous with Mobile-DDR. It is a new standard for
11 DDR memories, intended for battery-operated systems.
18 Window QINFO interface, permits software to be used for entire
25 tristate "Support for LPDDR2-NVM flash chips"
27 This option enables support of PCM memories with a LPDDR2-NVM
28 (Low power double data rate 2) interface.
/kernel/linux/linux-6.6/sound/usb/
Dusbaudio.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
10 /* handling of USB vendor/product ID pairs as 32-bit numbers */
46 struct list_head pcm_list; /* list of pcm streams */
47 struct list_head ep_list; /* list of audio-related endpoints */
48 struct list_head iface_ref_list; /* list of interface refcounts */
63 struct usb_host_interface *ctrl_intf; /* the audio control interface */
68 #define USB_AUDIO_IFACE_UNUSED ((void *)-1L)
71 dev_err(&(chip)->dev->dev, fmt, ##args)
73 dev_err_ratelimited(&(chip)->dev->dev, fmt, ##args)
75 dev_warn(&(chip)->dev->dev, fmt, ##args)
[all …]
/kernel/linux/linux-6.6/sound/pci/mixart/
Dmixart.c1 // SPDX-License-Identifier: GPL-2.0-or-later
14 #include <linux/dma-mapping.h>
23 #include <sound/pcm.h>
36 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
67 switch(pipe->status) { in mixart_set_pipe_state()
76 dev_err(&mgr->pci->dev, in mixart_set_pipe_state()
77 "error mixart_set_pipe_state called with wrong pipe->status!\n"); in mixart_set_pipe_state()
78 return -EINVAL; /* function called with wrong pipe status */ in mixart_set_pipe_state()
92 dev_err(&mgr->pci->dev, in mixart_set_pipe_state()
101 group_state.pipe_uid = pipe->group_uid; in mixart_set_pipe_state()
[all …]
/kernel/linux/linux-5.10/sound/pci/mixart/
Dmixart.c1 // SPDX-License-Identifier: GPL-2.0-or-later
14 #include <linux/dma-mapping.h>
23 #include <sound/pcm.h>
37 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
68 switch(pipe->status) { in mixart_set_pipe_state()
77 dev_err(&mgr->pci->dev, in mixart_set_pipe_state()
78 "error mixart_set_pipe_state called with wrong pipe->status!\n"); in mixart_set_pipe_state()
79 return -EINVAL; /* function called with wrong pipe status */ in mixart_set_pipe_state()
93 dev_err(&mgr->pci->dev, in mixart_set_pipe_state()
102 group_state.pipe_uid[0] = pipe->group_uid; in mixart_set_pipe_state()
[all …]
/kernel/linux/linux-6.6/Documentation/sound/cards/
Dcmipci.rst2 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-
16 As default, ALSA driver assigns the first PCM device (i.e. hw:0,0 for
17 card#0) for front and 4/6ch playbacks, while the second PCM device
22 - The first DAC supports U8 and S16LE formats, while the second DAC
24 - The second DAC supports only two channel stereo.
27 rate but only fixed rates: 5512, 8000, 11025, 16000, 22050, 32000,
36 will be FULL VOLUME regardless of Master and PCM volumes [#]_.
[all …]
/kernel/linux/linux-5.10/Documentation/sound/cards/
Dcmipci.rst2 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-
16 As default, ALSA driver assigns the first PCM device (i.e. hw:0,0 for
17 card#0) for front and 4/6ch playbacks, while the second PCM device
22 - The first DAC supports U8 and S16LE formats, while the second DAC
24 - The second DAC supports only two channel stereo.
27 rate but only fixed rates: 5512, 8000, 11025, 16000, 22050, 32000,
36 will be FULL VOLUME regardless of Master and PCM volumes [#]_.
[all …]
/kernel/linux/linux-6.6/Documentation/sound/designs/
Dcontrol-names.rst8 ---------------
68 Headset Mic mic part of combined headset jack - 4-pin
70 Headphone Mic mic part of either/or - 3-pin headphone or mic
76 PCM
77 PCM Pan
79 Analog Loopback D/A -> A/D loopback
80 Digital Loopback playback -> capture loopback -
98 -----------------------
106 Tone Control - Switch
107 Tone Control - Bass
[all …]
/kernel/linux/linux-5.10/Documentation/sound/designs/
Dcontrol-names.rst8 ---------------
68 Headset Mic mic part of combined headset jack - 4-pin
70 Headphone Mic mic part of either/or - 3-pin headphone or mic
76 PCM
77 PCM Pan
79 Analog Loopback D/A -> A/D loopback
80 Digital Loopback playback -> capture loopback -
98 -----------------------
106 Tone Control - Switch
107 Tone Control - Bass
[all …]
/kernel/linux/linux-5.10/include/sound/ac97/
Dregs.h1 /* SPDX-License-Identifier: GPL-2.0+
4 * Universal interface for Audio Codec '97
25 #define AC97_PCM 0x18 /* PCM Volume */
33 /* range 0x28-0x3a - AUDIO AC'97 2.0 extensions */
36 #define AC97_PCM_FRONT_DAC_RATE 0x2c /* PCM Front DAC Rate */
37 #define AC97_PCM_SURR_DAC_RATE 0x2e /* PCM Surround DAC Rate */
38 #define AC97_PCM_LFE_DAC_RATE 0x30 /* PCM LFE DAC Rate */
39 #define AC97_PCM_LR_ADC_RATE 0x32 /* PCM LR ADC Rate */
40 #define AC97_PCM_MIC_ADC_RATE 0x34 /* PCM MIC ADC Rate */
44 /* range 0x3c-0x58 - MODEM */
[all …]
/kernel/linux/linux-6.6/include/sound/ac97/
Dregs.h1 /* SPDX-License-Identifier: GPL-2.0+
4 * Universal interface for Audio Codec '97
25 #define AC97_PCM 0x18 /* PCM Volume */
33 /* range 0x28-0x3a - AUDIO AC'97 2.0 extensions */
36 #define AC97_PCM_FRONT_DAC_RATE 0x2c /* PCM Front DAC Rate */
37 #define AC97_PCM_SURR_DAC_RATE 0x2e /* PCM Surround DAC Rate */
38 #define AC97_PCM_LFE_DAC_RATE 0x30 /* PCM LFE DAC Rate */
39 #define AC97_PCM_LR_ADC_RATE 0x32 /* PCM LR ADC Rate */
40 #define AC97_PCM_MIC_ADC_RATE 0x34 /* PCM MIC ADC Rate */
44 /* range 0x3c-0x58 - MODEM */
[all …]
/kernel/linux/linux-5.10/sound/drivers/
Ddummy.c1 // SPDX-License-Identifier: GPL-2.0-or-later
20 #include <sound/pcm.h>
47 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
49 static bool enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 0};
50 static char *model[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = NULL};
51 static int pcm_devs[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1};
52 static int pcm_substreams[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 8};
53 //static int midi_devs[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 2};
68 MODULE_PARM_DESC(pcm_devs, "PCM devices # (0-4) for dummy driver.");
70 MODULE_PARM_DESC(pcm_substreams, "PCM substreams # (1-128) for dummy driver.");
[all …]
/kernel/linux/linux-6.6/sound/drivers/
Ddummy.c1 // SPDX-License-Identifier: GPL-2.0-or-later
20 #include <sound/pcm.h>
45 #define USE_MIXER_VOLUME_LEVEL_MIN -50
48 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
50 static bool enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 0};
51 static char *model[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = NULL};
52 static int pcm_devs[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1};
53 static int pcm_substreams[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 8};
54 //static int midi_devs[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 2};
71 MODULE_PARM_DESC(pcm_devs, "PCM devices # (0-4) for dummy driver.");
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/
Dbroadcom-bluetooth.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/net/broadcom-bluetooth.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Linus Walleij <linus.walleij@linaro.org>
13 This binding describes Broadcom UART-attached bluetooth chips.
18 - brcm,bcm20702a1
19 - brcm,bcm4329-bt
20 - brcm,bcm4330-bt
21 - brcm,bcm4334-bt
[all …]
/kernel/linux/linux-6.6/sound/sh/
Dsh_dac_audio.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * sh_dac_audio.c - SuperH DAC audio driver for ALSA
18 #include <sound/pcm.h>
44 int rate; member
55 hrtimer_start(&chip->hrtimer, chip->wakeups_per_second, in dac_audio_start_timer()
61 hrtimer_cancel(&chip->hrtimer); in dac_audio_stop_timer()
67 chip->buffer_begin = chip->buffer_end = chip->data_buffer; in dac_audio_reset()
68 chip->processed = 0; in dac_audio_reset()
69 chip->empty = 1; in dac_audio_reset()
74 chip->wakeups_per_second = 1000000000 / chip->rate; in dac_audio_set_rate()
[all …]
/kernel/linux/linux-6.6/sound/pci/ac97/
Dac97_pcm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Universal interface for Audio Codec '97
18 #include <sound/pcm.h>
26 * PCM support
144 static unsigned char get_slot_reg(struct ac97_pcm *pcm, unsigned short cidx, in get_slot_reg() argument
151 if (pcm->spdif) in get_slot_reg()
153 if (pcm->stream == SNDRV_PCM_STREAM_PLAYBACK) in get_slot_reg()
154 return rate_reg_tables[dbl][pcm->r[dbl].rate_table[cidx]][slot - 3]; in get_slot_reg()
156 return rate_cregs[slot - 3]; in get_slot_reg()
159 static int set_spdif_rate(struct snd_ac97 *ac97, unsigned short rate) in set_spdif_rate() argument
[all …]
/kernel/linux/linux-5.10/sound/pci/ac97/
Dac97_pcm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Universal interface for Audio Codec '97
18 #include <sound/pcm.h>
26 * PCM support
144 static unsigned char get_slot_reg(struct ac97_pcm *pcm, unsigned short cidx, in get_slot_reg() argument
151 if (pcm->spdif) in get_slot_reg()
153 if (pcm->stream == SNDRV_PCM_STREAM_PLAYBACK) in get_slot_reg()
154 return rate_reg_tables[dbl][pcm->r[dbl].rate_table[cidx]][slot - 3]; in get_slot_reg()
156 return rate_cregs[slot - 3]; in get_slot_reg()
159 static int set_spdif_rate(struct snd_ac97 *ac97, unsigned short rate) in set_spdif_rate() argument
[all …]
/kernel/linux/linux-5.10/sound/sh/
Dsh_dac_audio.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * sh_dac_audio.c - SuperH DAC audio driver for ALSA
18 #include <sound/pcm.h>
45 int rate; member
56 hrtimer_start(&chip->hrtimer, chip->wakeups_per_second, in dac_audio_start_timer()
62 hrtimer_cancel(&chip->hrtimer); in dac_audio_stop_timer()
68 chip->buffer_begin = chip->buffer_end = chip->data_buffer; in dac_audio_reset()
69 chip->processed = 0; in dac_audio_reset()
70 chip->empty = 1; in dac_audio_reset()
75 chip->wakeups_per_second = 1000000000 / chip->rate; in dac_audio_set_rate()
[all …]
/kernel/linux/linux-5.10/sound/usb/
Dproc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
10 #include <sound/pcm.h>
18 /* convert our full speed USB rate into sampling rate in Hz */
24 /* convert our high speed USB rate into sampling rate in Hz */
35 struct snd_usb_audio *chip = entry->private_data; in proc_audio_usbbus_read()
36 if (!atomic_read(&chip->shutdown)) in proc_audio_usbbus_read()
37 snd_iprintf(buffer, "%03d/%03d\n", chip->dev->bus->busnum, chip->dev->devnum); in proc_audio_usbbus_read()
42 struct snd_usb_audio *chip = entry->private_data; in proc_audio_usbid_read()
43 if (!atomic_read(&chip->shutdown)) in proc_audio_usbid_read()
45 USB_ID_VENDOR(chip->usb_id), in proc_audio_usbid_read()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dbroadcom-bluetooth.txt2 ---------------------
12 - compatible: should contain one of the following:
14 * "brcm,bcm4329-bt"
15 * "brcm,bcm4330-bt"
16 * "brcm,bcm43438-bt"
18 * "brcm,bcm43540-bt"
23 - max-speed: see Documentation/devicetree/bindings/serial/serial.yaml
24 - shutdown-gpios: GPIO specifier, used to enable the BT module
25 - device-wakeup-gpios: GPIO specifier, used to wakeup the controller
26 - host-wakeup-gpios: GPIO specifier, used to wakeup the host processor.
[all …]
/kernel/linux/linux-6.6/sound/soc/tegra/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "SoC Audio for the Tegra System-on-Chip"
15 tristate "Tegra20 AC97 interface"
20 Tegra20 AC97 interface. You will also need to select the individual
31 tristate "Tegra20 I2S interface"
35 Tegra20 I2S interface. You will also need to select the individual
39 tristate "Tegra20 SPDIF interface"
41 Say Y or M if you want to add support for the Tegra20 SPDIF interface.
53 tristate "Tegra30 I2S interface"
57 Tegra30 I2S interface. You will also need to select the individual
[all …]

12345678910>>...25