Home
last modified time | relevance | path

Searched +full:pcm +full:- +full:clock +full:- +full:mode (Results 1 – 25 of 737) sorted by relevance

12345678910>>...30

/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-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/Documentation/sound/soc/
Ddai.rst6 SoC controllers and portable audio CODECs today, namely AC97, I2S and PCM.
15 The bit clock (BCLK) is always driven by the CODEC (usually 12.288MHz) and the
27 Rx lines are used for audio transmission, while the bit clock (BCLK) and
28 left/right clock (LRC) synchronise the link. I2S is flexible in that either the
29 controller or CODEC can drive (master) the BCLK and LRC clock lines. Bit clock
30 usually varies depending on the sample rate and the master system clock
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
51 flexible protocol. It has bit clock (BCLK) and sync (SYNC) lines that are used
[all …]
/kernel/linux/linux-5.10/Documentation/sound/soc/
Ddai.rst6 SoC controllers and portable audio CODECs today, namely AC97, I2S and PCM.
15 The bit clock (BCLK) is always driven by the CODEC (usually 12.288MHz) and the
27 Rx lines are used for audio transmission, while the bit clock (BCLK) and
28 left/right clock (LRC) synchronise the link. I2S is flexible in that either the
29 controller or CODEC can drive (master) the BCLK and LRC clock lines. Bit clock
30 usually varies depending on the sample rate and the master system clock
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
51 flexible protocol. It has bit clock (BCLK) and sync (SYNC) lines that are used
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
Dmt8195-afe-pcm.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/mt8195-afe-pcm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Mediatek AFE PCM controller for mt8195
10 - Trevor Wu <trevor.wu@mediatek.com>
14 const: mediatek,mt8195-audio
25 reset-names:
28 memory-region:
31 Shared memory region for AFE memif. A "shared-dma-pool".
[all …]
/kernel/linux/linux-5.10/sound/soc/bcm/
Dbcm2835-i2s.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * Raspberry Pi PCM I2S ALSA Driver
23 * Copyright 2007-2010 Freescale Semiconductor, Inc.
39 #include <sound/pcm.h>
130 unsigned int master = dev->fmt & SND_SOC_DAIFMT_MASTER_MASK; in bcm2835_i2s_start_clock()
132 if (dev->clk_prepared) in bcm2835_i2s_start_clock()
138 clk_prepare_enable(dev->clk); in bcm2835_i2s_start_clock()
139 dev->clk_prepared = true; in bcm2835_i2s_start_clock()
148 if (dev->clk_prepared) in bcm2835_i2s_stop_clock()
149 clk_disable_unprepare(dev->clk); in bcm2835_i2s_stop_clock()
[all …]
/kernel/linux/linux-6.6/sound/soc/bcm/
Dbcm2835-i2s.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * Raspberry Pi PCM I2S ALSA Driver
23 * Copyright 2007-2010 Freescale Semiconductor, Inc.
39 #include <sound/pcm.h>
130 unsigned int provider = dev->fmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK; in bcm2835_i2s_start_clock()
132 if (dev->clk_prepared) in bcm2835_i2s_start_clock()
138 clk_prepare_enable(dev->clk); in bcm2835_i2s_start_clock()
139 dev->clk_prepared = true; in bcm2835_i2s_start_clock()
148 if (dev->clk_prepared) in bcm2835_i2s_stop_clock()
149 clk_disable_unprepare(dev->clk); in bcm2835_i2s_stop_clock()
[all …]
/kernel/linux/linux-6.6/Documentation/sound/cards/
Demu-mixer.rst2 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.
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,
62 FX-bus
67 name='Clock Source',index=0
[all …]
/kernel/linux/linux-6.6/sound/soc/atmel/
Datmel_ssc_dai.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * atmel_ssc_dai.c -- ALSA SoC ATMEL SSC Audio Layer Platform driver
11 * Based on at91-ssc.c by
25 #include <linux/atmel-ssc.h>
27 #include <sound/pcm.h>
32 #include "atmel-pcm.h"
39 * SSC PDC registers required by the PCM DMA engine.
84 .name = "SSC0 PCM out",
89 .name = "SSC0 PCM in",
94 .name = "SSC1 PCM out",
[all …]
/kernel/linux/linux-5.10/sound/soc/atmel/
Datmel_ssc_dai.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * atmel_ssc_dai.c -- ALSA SoC ATMEL SSC Audio Layer Platform driver
11 * Based on at91-ssc.c by
25 #include <linux/atmel-ssc.h>
27 #include <sound/pcm.h>
32 #include "atmel-pcm.h"
39 * SSC PDC registers required by the PCM DMA engine.
84 .name = "SSC0 PCM out",
89 .name = "SSC0 PCM in",
94 .name = "SSC1 PCM out",
[all …]
/kernel/linux/linux-6.6/sound/soc/codecs/
Dmax98926.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * max98926.c -- ALSA SoC MAX98926 driver
4 * Copyright 2013-15 Maxim Integrated Products
12 #include <sound/pcm.h>
48 { 0x1A, 0x04 }, /* DAI Clock Mode 1 */
49 { 0x1B, 0x00 }, /* DAI Clock Mode 2 */
50 { 0x1C, 0x00 }, /* DAI Clock Divider Denominator MSBs */
51 { 0x1D, 0x00 }, /* DAI Clock Divider Denominator LSBs */
52 { 0x1E, 0xF0 }, /* DAI Clock Divider Numerator MSBs */
53 { 0x1F, 0x00 }, /* DAI Clock Divider Numerator LSBs */
[all …]
/kernel/linux/linux-6.6/sound/soc/mediatek/mt8186/
Dmt8186-dai-pcm.c1 // SPDX-License-Identifier: GPL-2.0
10 #include "mt8186-afe-common.h"
11 #include "mt8186-afe-gpio.h"
12 #include "mt8186-interconnection.h"
49 /* slave mode & external modem uses different crystal */
51 /* slave mode & external modem uses the same crystal */
122 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_pcm_en_event()
125 dev_dbg(afe->dev, "%s(), name %s, event 0x%x\n", in mtk_pcm_en_event()
126 __func__, w->name, event); in mtk_pcm_en_event()
130 mt8186_afe_gpio_request(afe->dev, true, MT8186_DAI_PCM, 0); in mtk_pcm_en_event()
[all …]
/kernel/linux/linux-6.6/sound/drivers/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
50 tristate "PC-Speaker support (READ HELP!)"
60 You can compile this as a module which will be called snd-pcsp.
65 pc-speaker a default sound device. Which is likely not
69 options snd-pcsp index=2
71 You don't need this driver if you only want your pc-speaker to beep.
84 nothing, but emulates various mixer controls and PCM devices.
90 will be called snd-dummy.
93 tristate "Generic loopback driver (PCM)"
97 Say 'Y' or 'M' to include support for the PCM loopback device.
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Dmax98926.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * max98926.c -- ALSA SoC MAX98926 driver
4 * Copyright 2013-15 Maxim Integrated Products
12 #include <sound/pcm.h>
48 { 0x1A, 0x04 }, /* DAI Clock Mode 1 */
49 { 0x1B, 0x00 }, /* DAI Clock Mode 2 */
50 { 0x1C, 0x00 }, /* DAI Clock Divider Denominator MSBs */
51 { 0x1D, 0x00 }, /* DAI Clock Divider Denominator LSBs */
52 { 0x1E, 0xF0 }, /* DAI Clock Divider Numerator MSBs */
53 { 0x1F, 0x00 }, /* DAI Clock Divider Numerator LSBs */
[all …]
/kernel/linux/linux-5.10/sound/firewire/fireworks/
Dfireworks_pcm.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * fireworks_pcm.c - a part of driver for Fireworks based devices
5 * Copyright (c) 2009-2010 Clemens Ladisch
6 * Copyright (c) 2013-2014 Takashi Sakamoto
12 * Fireworks changes its AMDTP channels for PCM data according to its sampling
14 * 0: 32.0- 48.0 kHz then snd_efw_hwinfo.amdtp_XX_pcm_channels applied
15 * 1: 88.2- 96.0 kHz then snd_efw_hwinfo.amdtp_XX_pcm_channels_2x applied
16 * 2: 176.4-192.0 kHz then snd_efw_hwinfo.amdtp_XX_pcm_channels_4x applied
18 * The number of PCM channels for analog input and output are always fixed but
19 * the number of PCM channels for digital input and output are differed.
[all …]
/kernel/linux/linux-6.6/sound/firewire/fireworks/
Dfireworks_pcm.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * fireworks_pcm.c - a part of driver for Fireworks based devices
5 * Copyright (c) 2009-2010 Clemens Ladisch
6 * Copyright (c) 2013-2014 Takashi Sakamoto
12 * Fireworks changes its AMDTP channels for PCM data according to its sampling
14 * 0: 32.0- 48.0 kHz then snd_efw_hwinfo.amdtp_XX_pcm_channels applied
15 * 1: 88.2- 96.0 kHz then snd_efw_hwinfo.amdtp_XX_pcm_channels_2x applied
16 * 2: 176.4-192.0 kHz then snd_efw_hwinfo.amdtp_XX_pcm_channels_4x applied
18 * The number of PCM channels for analog input and output are always fixed but
19 * the number of PCM channels for digital input and output are differed.
[all …]
/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 */
49 struct list_head clock_ref_list; /* list of clock refcounts */
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)
77 dev_info(&(chip)->dev->dev, fmt, ##args)
[all …]
/kernel/linux/linux-5.10/sound/firewire/dice/
Ddice-pcm.c1 // 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()
26 enum snd_dice_rate_mode mode; in dice_rate_constraint() local
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()
[all …]
/kernel/linux/linux-6.6/sound/firewire/dice/
Ddice-pcm.c1 // 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()
26 enum snd_dice_rate_mode mode; in dice_rate_constraint() local
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()
[all …]
/kernel/linux/linux-5.10/sound/firewire/fireface/
Dff-pcm.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * ff-pcm.c - a part of driver for RME Fireface series
5 * Copyright (c) 2015-2017 Takashi Sakamoto
13 const unsigned int *pcm_channels = rule->private; in hw_rule_rate()
24 enum snd_ff_stream_mode mode; in hw_rule_rate() local
27 err = snd_ff_stream_get_multiplier_mode(i, &mode); in hw_rule_rate()
31 if (!snd_interval_test(c, pcm_channels[mode])) in hw_rule_rate()
44 const unsigned int *pcm_channels = rule->private; in hw_rule_channels()
55 enum snd_ff_stream_mode mode; in hw_rule_channels() local
58 err = snd_ff_stream_get_multiplier_mode(i, &mode); in hw_rule_channels()
[all …]
/kernel/linux/linux-6.6/sound/firewire/fireface/
Dff-pcm.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * ff-pcm.c - a part of driver for RME Fireface series
5 * Copyright (c) 2015-2017 Takashi Sakamoto
13 const unsigned int *pcm_channels = rule->private; in hw_rule_rate()
24 enum snd_ff_stream_mode mode; in hw_rule_rate() local
27 err = snd_ff_stream_get_multiplier_mode(i, &mode); in hw_rule_rate()
31 if (!snd_interval_test(c, pcm_channels[mode])) in hw_rule_rate()
44 const unsigned int *pcm_channels = rule->private; in hw_rule_channels()
55 enum snd_ff_stream_mode mode; in hw_rule_channels() local
58 err = snd_ff_stream_get_multiplier_mode(i, &mode); in hw_rule_channels()
[all …]
/kernel/linux/linux-6.6/include/linux/soundwire/
Dsdw_intel.h1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
2 /* Copyright(c) 2015-17 Intel Corporation. */
37 #define SDW_SHIM_SYNC_SYNCPRD_VAL_24 (24000 / SDW_CADENCE_GSYNC_KHZ - 1)
38 #define SDW_SHIM_SYNC_SYNCPRD_VAL_38_4 (38400 / SDW_CADENCE_GSYNC_KHZ - 1)
52 /* PCM Stream capabilities */
59 /* PCM Stream Channel Map */
62 /* PCM Stream Channel Count */
109 * ACE2.x definitions for SHIM registers - only accessible when the
118 /* Read-only capabilities */
120 #define SDW_SHIM2_LECAP_HDS BIT(0) /* unset -> Host mode */
[all …]
/kernel/linux/linux-5.10/sound/firewire/motu/
Dmotu-pcm.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * motu-pcm.c - a part of driver for MOTU FireWire series
5 * Copyright (c) 2015-2017 Takashi Sakamoto <o-takashi@sakamocchi.jp>
14 struct snd_motu_packet_format *formats = rule->private; in motu_rate_constraint()
23 unsigned int i, pcm_channels, rate, mode; in motu_rate_constraint() local
27 mode = i / 2; in motu_rate_constraint()
29 pcm_channels = formats->pcm_chunks[mode]; in motu_rate_constraint()
43 struct snd_motu_packet_format *formats = rule->private; in motu_channels_constraint()
52 unsigned int i, pcm_channels, rate, mode; in motu_channels_constraint() local
56 mode = i / 2; in motu_channels_constraint()
[all …]
Damdtp-motu.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * amdtp-motu.c - a part of driver for MOTU FireWire series
5 * Copyright (c) 2015-2017 Takashi Sakamoto <o-takashi@sakamocchi.jp>
9 #include <sound/pcm.h>
13 #include "amdtp-motu-trace.h"
20 * Nominally 3125 bytes/second, but the MIDI port's clock might be
21 * 1% too slow, and the bus clock 100 ppm too fast.
61 struct amdtp_motu *p = s->protocol; in amdtp_motu_set_parameters()
64 unsigned int mode; in amdtp_motu_set_parameters() local
68 return -EBUSY; in amdtp_motu_set_parameters()
[all …]
/kernel/linux/linux-6.6/sound/firewire/motu/
Dmotu-pcm.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * motu-pcm.c - a part of driver for MOTU FireWire series
5 * Copyright (c) 2015-2017 Takashi Sakamoto <o-takashi@sakamocchi.jp>
14 struct snd_motu_packet_format *formats = rule->private; in motu_rate_constraint()
23 unsigned int i, pcm_channels, rate, mode; in motu_rate_constraint() local
27 mode = i / 2; in motu_rate_constraint()
29 pcm_channels = formats->pcm_chunks[mode]; in motu_rate_constraint()
43 struct snd_motu_packet_format *formats = rule->private; in motu_channels_constraint()
52 unsigned int i, pcm_channels, rate, mode; in motu_channels_constraint() local
56 mode = i / 2; in motu_channels_constraint()
[all …]

12345678910>>...30