| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | imx-audio-spdif.txt | 5 - compatible : "fsl,imx-audio-spdif" 7 - model : The user-visible name of this sound complex 9 - spdif-controller : The phandle of the i.MX S/PDIF controller 14 - spdif-out : This is a boolean property. If present, the 16 indicating there's a physical S/PDIF out connector 19 display-controller. 21 - spdif-in : This is a boolean property. If present, the receiving 30 sound-spdif { 31 compatible = "fsl,imx-audio-spdif"; 32 model = "imx-spdif"; [all …]
|
| D | img,spdif-out.txt | 1 Imagination Technologies SPDIF Output Controller 5 - compatible : Compatible list, must contain "img,spdif-out" 7 - #sound-dai-cells : Must be equal to 0 9 - reg : Offset and length of the register set for the device 11 - dmas: Contains an entry for each entry in dma-names. 13 - dma-names: Must include the following entry: 16 - clocks : Contains an entry for each entry in clock-names. 18 - clock-names : Includes the following entries: 22 - resets: Contains a phandle to the spdif out reset signal 24 - reset-names: Contains the reset signal name "rst" [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | imx-audio-spdif.txt | 5 - compatible : "fsl,imx-audio-spdif" 7 - model : The user-visible name of this sound complex 9 - spdif-controller : The phandle of the i.MX S/PDIF controller 14 - spdif-out : This is a boolean property. If present, the 16 indicating there's a physical S/PDIF out connector 19 display-controller. 21 - spdif-in : This is a boolean property. If present, the receiving 30 sound-spdif { 31 compatible = "fsl,imx-audio-spdif"; 32 model = "imx-spdif"; [all …]
|
| D | img,spdif-out.txt | 1 Imagination Technologies SPDIF Output Controller 5 - compatible : Compatible list, must contain "img,spdif-out" 7 - #sound-dai-cells : Must be equal to 0 9 - reg : Offset and length of the register set for the device 11 - dmas: Contains an entry for each entry in dma-names. 13 - dma-names: Must include the following entry: 16 - clocks : Contains an entry for each entry in clock-names. 18 - clock-names : Includes the following entries: 22 - resets: Contains a phandle to the spdif out reset signal 24 - reset-names: Contains the reset signal name "rst" [all …]
|
| D | linux,spdif-dit.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/linux,spdif-dit.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Dummy SPDIF Transmitter 10 - Mark Brown <broonie@kernel.org> 13 - $ref: dai-common.yaml# 17 const: linux,spdif-dit 19 "#sound-dai-cells": 22 sound-name-prefix: true [all …]
|
| /kernel/linux/linux-5.10/sound/soc/meson/ |
| D | g12a-tohdmitx.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <sound/soc-dai.h> 15 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 16 #include "meson-codec-glue.h" 18 #define G12A_TOHDMITX_DRV_NAME "g12a-tohdmitx" 45 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in g12a_tohdmitx_i2s_mux_put_enum() 48 if (ucontrol->value.enumerated.item[0] >= e->items) in g12a_tohdmitx_i2s_mux_put_enum() 49 return -EINVAL; in g12a_tohdmitx_i2s_mux_put_enum() 51 mux = snd_soc_enum_item_to_val(e, ucontrol->value.enumerated.item[0]); in g12a_tohdmitx_i2s_mux_put_enum() 52 changed = snd_soc_component_test_bits(component, e->reg, in g12a_tohdmitx_i2s_mux_put_enum() [all …]
|
| /kernel/linux/linux-6.6/sound/soc/meson/ |
| D | g12a-tohdmitx.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <sound/soc-dai.h> 15 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 16 #include "meson-codec-glue.h" 18 #define G12A_TOHDMITX_DRV_NAME "g12a-tohdmitx" 45 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in g12a_tohdmitx_i2s_mux_put_enum() 48 if (ucontrol->value.enumerated.item[0] >= e->items) in g12a_tohdmitx_i2s_mux_put_enum() 49 return -EINVAL; in g12a_tohdmitx_i2s_mux_put_enum() 51 mux = snd_soc_enum_item_to_val(e, ucontrol->value.enumerated.item[0]); in g12a_tohdmitx_i2s_mux_put_enum() 52 changed = snd_soc_component_test_bits(component, e->reg, in g12a_tohdmitx_i2s_mux_put_enum() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/img/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 20 Say Y or M if you want to add support for I2S out driver for 21 Imagination Technologies I2S out device. 28 Say Y or M if you want to add support for parallel out driver for 29 Imagination Technologies parallel out device. 32 tristate "Imagination SPDIF Input Device Driver" 36 Say Y or M if you want to add support for SPDIF input driver for 37 Imagination Technologies SPDIF input device. 40 tristate "Imagination SPDIF Output Device Driver" 44 Say Y or M if you want to add support for SPDIF out driver for [all …]
|
| D | img-spdif-out.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * IMG SPDIF output controller driver 54 struct img_spdif_out *spdif = dev_get_drvdata(dev); in img_spdif_out_runtime_suspend() local 56 clk_disable_unprepare(spdif->clk_ref); in img_spdif_out_runtime_suspend() 57 clk_disable_unprepare(spdif->clk_sys); in img_spdif_out_runtime_suspend() 64 struct img_spdif_out *spdif = dev_get_drvdata(dev); in img_spdif_out_runtime_resume() local 67 ret = clk_prepare_enable(spdif->clk_sys); in img_spdif_out_runtime_resume() 73 ret = clk_prepare_enable(spdif->clk_ref); in img_spdif_out_runtime_resume() 76 clk_disable_unprepare(spdif->clk_sys); in img_spdif_out_runtime_resume() 83 static inline void img_spdif_out_writel(struct img_spdif_out *spdif, u32 val, in img_spdif_out_writel() argument [all …]
|
| /kernel/linux/linux-6.6/sound/soc/img/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 20 Say Y or M if you want to add support for I2S out driver for 21 Imagination Technologies I2S out device. 28 Say Y or M if you want to add support for parallel out driver for 29 Imagination Technologies parallel out device. 32 tristate "Imagination SPDIF Input Device Driver" 36 Say Y or M if you want to add support for SPDIF input driver for 37 Imagination Technologies SPDIF input device. 40 tristate "Imagination SPDIF Output Device Driver" 44 Say Y or M if you want to add support for SPDIF out driver for [all …]
|
| D | img-spdif-out.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * IMG SPDIF output controller driver 54 struct img_spdif_out *spdif = dev_get_drvdata(dev); in img_spdif_out_runtime_suspend() local 56 clk_disable_unprepare(spdif->clk_ref); in img_spdif_out_runtime_suspend() 57 clk_disable_unprepare(spdif->clk_sys); in img_spdif_out_runtime_suspend() 64 struct img_spdif_out *spdif = dev_get_drvdata(dev); in img_spdif_out_runtime_resume() local 67 ret = clk_prepare_enable(spdif->clk_sys); in img_spdif_out_runtime_resume() 73 ret = clk_prepare_enable(spdif->clk_ref); in img_spdif_out_runtime_resume() 76 clk_disable_unprepare(spdif->clk_sys); in img_spdif_out_runtime_resume() 83 static inline void img_spdif_out_writel(struct img_spdif_out *spdif, u32 val, in img_spdif_out_writel() argument [all …]
|
| /kernel/linux/linux-6.6/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> 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 */ 75 #define IPR_SPDIF_IN_USER 0x00004000 /* SPDIF input user data has 16 more bits */ 76 #define IPR_SPDIF_OUT_USER 0x00002000 /* SPDIF output user data needs 16 more bits */ 77 #define IPR_SPDIF_OUT_FRAME 0x00001000 /* SPDIF frame about to start */ 84 #define IPR_SPDIF_STATUS 0x00000020 /* SPDIF status changed */ 87 #define IPR_MIDI_RX_A 0x00000004 /* MIDI UART-A Receive buffer non-empty */ [all …]
|
| /kernel/linux/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> 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 */ 75 #define IPR_SPDIF_IN_USER 0x00004000 /* SPDIF input user data has 16 more bits */ 76 #define IPR_SPDIF_OUT_USER 0x00002000 /* SPDIF output user data needs 16 more bits */ 77 #define IPR_SPDIF_OUT_FRAME 0x00001000 /* SPDIF frame about to start */ 84 #define IPR_SPDIF_STATUS 0x00000020 /* SPDIF status changed */ 87 #define IPR_MIDI_RX_A 0x00000004 /* MIDI UART-A Receive buffer non-empty */ [all …]
|
| /kernel/linux/linux-6.6/sound/soc/tegra/ |
| D | tegra20_spdif.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * tegra20_spdif.c - Tegra20 SPDIF driver 6 * Copyright (C) 2011-2012 - NVIDIA, Inc. 30 struct tegra20_spdif *spdif = dev_get_drvdata(dev); in tegra20_spdif_runtime_suspend() local 32 regcache_cache_only(spdif->regmap, true); in tegra20_spdif_runtime_suspend() 34 clk_disable_unprepare(spdif->clk_spdif_out); in tegra20_spdif_runtime_suspend() 41 struct tegra20_spdif *spdif = dev_get_drvdata(dev); in tegra20_spdif_runtime_resume() local 44 ret = reset_control_assert(spdif->reset); in tegra20_spdif_runtime_resume() 48 ret = clk_prepare_enable(spdif->clk_spdif_out); in tegra20_spdif_runtime_resume() 56 ret = reset_control_deassert(spdif->reset); in tegra20_spdif_runtime_resume() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/vc04_services/bcm2835-audio/ |
| D | bcm2835-pcm.c | 1 // SPDX-License-Identifier: GPL-2.0 49 kfree(runtime->private_data); in snd_bcm2835_playback_free() 55 struct snd_pcm_substream *substream = alsa_stream->substream; in bcm2835_playback_fifo() 58 if (!alsa_stream->period_size) in bcm2835_playback_fifo() 61 if (bytes >= alsa_stream->buffer_size) { in bcm2835_playback_fifo() 64 alsa_stream->draining ? in bcm2835_playback_fifo() 71 pos = atomic_read(&alsa_stream->pos); in bcm2835_playback_fifo() 73 pos %= alsa_stream->buffer_size; in bcm2835_playback_fifo() 74 atomic_set(&alsa_stream->pos, pos); in bcm2835_playback_fifo() 76 alsa_stream->period_offset += bytes; in bcm2835_playback_fifo() [all …]
|
| /kernel/linux/linux-6.6/drivers/staging/vc04_services/bcm2835-audio/ |
| D | bcm2835-pcm.c | 1 // SPDX-License-Identifier: GPL-2.0 49 kfree(runtime->private_data); in snd_bcm2835_playback_free() 55 struct snd_pcm_substream *substream = alsa_stream->substream; in bcm2835_playback_fifo() 58 if (!alsa_stream->period_size) in bcm2835_playback_fifo() 61 if (bytes >= alsa_stream->buffer_size) { in bcm2835_playback_fifo() 64 alsa_stream->draining ? in bcm2835_playback_fifo() 71 pos = atomic_read(&alsa_stream->pos); in bcm2835_playback_fifo() 73 pos %= alsa_stream->buffer_size; in bcm2835_playback_fifo() 74 atomic_set(&alsa_stream->pos, pos); in bcm2835_playback_fifo() 76 alsa_stream->period_offset += bytes; in bcm2835_playback_fifo() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/spear/ |
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 snd-soc-spear-pcm-objs := spear_pcm.o 4 snd-soc-spear-spdif-in-objs := spdif_in.o 5 snd-soc-spear-spdif-out-objs := spdif_out.o 7 obj-$(CONFIG_SND_SPEAR_SOC) += snd-soc-spear-pcm.o 8 obj-$(CONFIG_SND_SPEAR_SPDIF_IN) += snd-soc-spear-spdif-in.o 9 obj-$(CONFIG_SND_SPEAR_SPDIF_OUT) += snd-soc-spear-spdif-out.o
|
| /kernel/linux/linux-6.6/sound/soc/spear/ |
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 snd-soc-spear-pcm-objs := spear_pcm.o 4 snd-soc-spear-spdif-in-objs := spdif_in.o 5 snd-soc-spear-spdif-out-objs := spdif_out.o 7 obj-$(CONFIG_SND_SPEAR_SOC) += snd-soc-spear-pcm.o 8 obj-$(CONFIG_SND_SPEAR_SPDIF_IN) += snd-soc-spear-spdif-in.o 9 obj-$(CONFIG_SND_SPEAR_SPDIF_OUT) += snd-soc-spear-spdif-out.o
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | spdif_transmitter.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ALSA SoC SPDIF DIT driver 22 #define DRV_NAME "spdif-dit" 31 SND_SOC_DAPM_OUTPUT("spdif-out"), 35 { "spdif-out", NULL, "Playback" }, 49 .name = "dit-hifi", 61 return devm_snd_soc_register_component(&pdev->dev, in spdif_dit_probe() 68 { .compatible = "linux,spdif-dit", }, 85 MODULE_DESCRIPTION("SPDIF dummy codec driver");
|
| /kernel/linux/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 --------------------------------- 13 DACs, both streams are handled independently unlike the 4/6ch multi- 22 - The first DAC supports U8 and S16LE formats, while the second DAC 24 - The second DAC supports only two channel stereo. 51 control switch in the driver "Line-In As Rear", which you can change 52 via alsamixer or somewhat else. When this switch is on, line-in jack 60 4/6 Multi-Channel Playback 61 -------------------------- [all …]
|
| /kernel/linux/linux-6.6/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- 22 - The first DAC supports U8 and S16LE formats, while the second DAC 24 - The second DAC supports only two channel stereo. 51 control switch in the driver "Line-In As Rear", which you can change 52 via alsamixer or somewhat else. When this switch is on, line-in jack 60 4/6 Multi-Channel Playback 61 -------------------------- [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | spdif_transmitter.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ALSA SoC SPDIF DIT driver 22 #define DRV_NAME "spdif-dit" 31 SND_SOC_DAPM_OUTPUT("spdif-out"), 35 { "spdif-out", NULL, "Playback" }, 50 .name = "dit-hifi", 62 return devm_snd_soc_register_component(&pdev->dev, in spdif_dit_probe() 69 { .compatible = "linux,spdif-dit", }, 86 MODULE_DESCRIPTION("SPDIF dummy codec driver");
|
| /kernel/linux/linux-5.10/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> 17 * Corrected speaker output, so Front -> Front etc. 36 * Merging with snd-emu10k1 driver. 45 * Some stability problems when unloading the snd-p16v kernel module. 46 * -- 49 * SPDIF out. 50 * Find out how to change capture sample rates. E.g. To record SPDIF at 48000Hz. 53 * -- 56 * P16V Chip: CA0151-DBS [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | uniphier-pxs2-vodka.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 5 // Copyright (C) 2015-2016 Socionext Inc. 8 /dts-v1/; 9 #include "uniphier-pxs2.dtsi" 13 compatible = "socionext,uniphier-pxs2-vodka", "socionext,uniphier-pxs2"; 16 stdout-path = "serial0:115200n8"; 36 compatible = "audio-graph-card"; 42 spdif-out { 43 compatible = "linux,spdif-dit"; 44 #sound-dai-cells = <0>; [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/socionext/ |
| D | uniphier-pxs2-vodka.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 5 // Copyright (C) 2015-2016 Socionext Inc. 8 /dts-v1/; 9 #include "uniphier-pxs2.dtsi" 13 compatible = "socionext,uniphier-pxs2-vodka", "socionext,uniphier-pxs2"; 16 stdout-path = "serial0:115200n8"; 36 compatible = "audio-graph-card"; 42 spdif-out { 43 compatible = "linux,spdif-dit"; 44 #sound-dai-cells = <0>; [all …]
|