| /linux/sound/pci/ca0106/ |
| H A D | ca0106.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk> 12 * Removed noise from Center/LFE channel when in Analog mode. 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 */ [all …]
|
| /linux/Documentation/sound/cards/ |
| H A 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. 30 The rear output can be heard only when "Four Channel Mode" switch is 35 When "Four Channel Mode" switch is off, the output from rear speakers 44 on and "double DAC" mode. Actually I could hear separate 4 channels 51 control switch in the driver "Line-In As Rear", which you can change [all …]
|
| /linux/Documentation/sound/hd-audio/ |
| H A D | models.rst | 2 HD-Audio Codec-Specific Models 8 3-jack in back and a headphone out 9 3stack-digout 10 3-jack in back, a HP out and a SPDIF out 12 5-jack in back, 2-jack in front 13 5stack-digout 14 5-jack in back, 2-jack in front, a SPDIF out 16 6-jack in back, 2-jack in front 17 6stack-digout 18 6-jack with a SPDIF out [all …]
|
| /linux/sound/soc/xilinx/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 9 mode, IP receives audio in AES format, extracts PCM and sends 10 PCM data. In receiver mode, IP receives PCM audio and 21 tristate "Audio support for the Xilinx SPDIF" 23 Select this option to enable Xilinx SPDIF Audio. 24 This provides playback and capture of SPDIF audio in
|
| /linux/drivers/staging/vc04_services/bcm2835-audio/ |
| H A 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 …]
|
| /linux/arch/arm/boot/dts/st/ |
| H A D | spear1340-evb.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 /dts-v1/; 13 compatible = "st,spear1340-evb", "st,spear1340"; 14 #address-cells = <1>; 15 #size-cells = <1>; 23 pinctrl-names = "default"; 24 pinctrl-0 = <&state_default>; 47 spdif-in { 51 spdif-out { 59 smi-pmx { [all …]
|
| /linux/sound/pci/ice1712/ |
| H A D | delta.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Lowlevel functions for M-Audio Delta 1010, 1010E, 44, 66, 66E, Dio2496, 29 * CS8427 via SPI mode (for Audiophile), emulated I2C 37 for (idx = 7; idx >= 0; idx--) { in ap_cs8427_write_byte() 55 for (idx = 7; idx >= 0; idx- in ap_cs8427_read_byte() [all...] |
| /linux/include/sound/ |
| H A D | emu10k1.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 16 #include <sound/pcm-indirect.h> 25 /* ---- [all...] |
| /linux/sound/soc/fsl/ |
| H A D | fsl_spdif.c | 1 // SPDX-License-Identifier: GPL-2.0 25 #include "imx-pcm.h" 53 * @raw_capture_mode: if raw capture mode support 72 * SPDIF control structure 97 * struct fsl_spdif_priv - Freescale SPDIF private data 98 * @soc: SPDIF soc data 99 * @fsl_spdif_control: SPDIF control data 214 static inline bool fsl_spdif_can_set_clk_rate(struct fsl_spdif_priv *spdif, int clk) in fsl_spdif_can_set_clk_rate() argument 216 return (clk == STC_TXCLK_SPDIF_ROOT) && !spdif->soc->shared_root_clock; in fsl_spdif_can_set_clk_rate() 222 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_dpll_lock() [all …]
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | st,sti-asoc-card.txt | 3 The sti ASoC Sound Card can be used, for all sti SoCs using internal sti-sas 8 Documentation/devicetree/bindings/sound/simple-card.yaml. 10 1) sti-uniperiph-dai: audio dai device. 11 --------------------------------------- 14 - compatible: "st,stih407-uni-player-hdmi", "st,stih407-uni-player-pcm-out", 15 "st,stih407-uni-player-dac", "st,stih407-uni-player-spdif", 16 "st,stih407-uni-reader-pcm_in", "st,stih407-uni-reader-hdmi", 18 - st,syscfg: phandle to boot-device system configuration registers 20 - clock-names: name of the clocks listed in clocks property in the same order 22 - reg: CPU DAI IP Base address and size entries, listed in same [all …]
|
| H A D | renesas,fsi.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas FIFO-buffered Serial Interface (FSI) 10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 13 - $ref: dai-common.yaml# 22 - items: 23 - enum: 24 - renesas,fsi2-sh73a0 # SH-Mobile AG5 25 - renesas,fsi2-r8a7740 # R-Mobile A1 [all …]
|
| /linux/arch/arm64/boot/dts/allwinner/ |
| H A D | sun50i-h6-beelink-gs1.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 /dts-v1/; 6 #include "sun50i-h6.dtsi" 7 #include "sun50i-h6-cpu-opp.dtsi" 8 #include "sun50i-h6-gpu-opp.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 14 compatible = "azw,beelink-gs1", "allwinner,sun50i-h6"; 22 stdout-path = "serial0:115200n8"; 26 compatible = "hdmi-connector"; 28 ddc-en-gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; /* PH2 */ [all …]
|
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imx6q-prti6q.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 8 #include "imx6qdl-prti6q.dtsi" 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/sound/fsl-imx-audmux.h> 21 backlight_lcd: backlight-lcd { 22 compatible = "pwm-backlight"; 23 pinctrl-names = "default"; 24 pinctrl-0 = <&pinctrl_backlight>; 26 brightness-levels = <0 16 64 255>; [all …]
|
| /linux/arch/arm/boot/dts/marvell/ |
| H A D | armada-388-db.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * (DB-88F6820) 8 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 11 /dts-v1/; 12 #include "armada-388.dtsi" 16 compatible = "marvell,a385-db", "marvell,armada388", 20 stdout-path = "serial0:115200n8"; 35 internal-regs { 38 clock-frequency = <100000>; 39 audio_codec: audio-codec@4a { [all …]
|
| H A D | armada-370-db.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * (DB-88F6710-BP-DDR3) 9 * Gregory CLEMENT <gregory.clement@free-electrons.com> 10 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 15 * DT-capable, U-Boot bootloaders provided by Marvell. Some earlier 22 /dts-v1/; 23 #include "armada-370.dtsi" 27 compatible = "marvell,a370-db", "marvell,armada370", "marvell,armada-370-xp"; 30 stdout-path = "serial0:115200n8"; 43 internal-regs { [all …]
|
| /linux/arch/arm/boot/dts/allwinner/ |
| H A D | sun7i-a20-itead-ibox.dts | 2 * Copyright 2015 - Marcus Cooper <codekipper@gmail.com> 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 44 #include "sun7i-a20.dtsi" 45 #include "sunxi-itead-core-common.dtsi" 49 compatible = "itead,itead-ibox-a20", "allwinner,sun7i-a20"; 52 compatible = "gpio-leds"; 53 pinctrl-names = "default"; 54 pinctrl-0 = <&led_pins_itead_core>; 56 led-0 { [all …]
|
| H A D | sun6i-a31-i7.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 44 #include "sun6i-a31.dtsi" 45 #include "sunxi-common-regulators.dtsi" 47 #include <dt-bindings/gpio/gpio.h> 51 compatible = "mele,i7", "allwinner,sun6i-a31"; 58 stdout-path = "serial0:115200n8"; 61 hdmi-connector { 62 compatible = "hdmi-connector"; 67 remote-endpoint = <&hdmi_out_con>; [all …]
|
| H A D | sun6i-a31s-sina31s.dts | 2 * Copyright 2015 Chen-Yu Tsai <wens@csie.org> 4 * This file is dual-licensed: you can use it either under the terms 44 #include "sun6i-a31s-sina31s-core.dtsi" 46 #include <dt-bindings/input/input.h> 50 compatible = "sinlinx,sina31s-sdk", "allwinner,sun6i-a31s"; 53 stdout-path = "serial0:115200n8"; 56 hdmi-connector { 57 compatible = "hdmi-connector"; 62 remote-endpoint = <&hdmi_out_con>; 68 compatible = "gpio-leds"; [all …]
|
| H A D | sun8i-h3-beelink-x2.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 44 #include "sun8i-h3.dtsi" 45 #include "sunxi-common-regulators.dtsi" 47 #include <dt-bindings/gpio/gpio.h> 48 #include <dt-bindings/input/input.h> 52 compatible = "roofull,beelink-x2", "allwinner,sun8i-h3"; 61 compatible = "cec-gpio"; 62 cec-gpios = <&pio 0 14 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; /* PA14 */ 63 hdmi-phandle = <&hdmi>; [all …]
|
| /linux/include/dt-bindings/media/ |
| H A D | tda1997x.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 29 #define TDA1997X_VP_HIZ 0x40 /* hi-Z output group when not used */ 30 #define TDA1997X_VP_SWP 0x10 /* pin-swap output group */ 54 #define TDA1997X_SPDIF 3 /* SPDIF */ 57 #define TDA1997X_I2S16_HBR 6 /* HBR straight in I2S 16bit mode */ 58 #define TDA1997X_I2S16_HBR_DEMUX 7 /* HBR demux in I2S 16bit mode */ 59 #define TDA1997X_I2S32_HBR_DEMUX 8 /* HBR demux in I2S 32bit mode */ 60 #define TDA1997X_SPDIF_HBR_DEMUX 9 /* HBR demux in SPDIF mode */ 63 #define TDA1997X_LAYOUT0 0 /* 2-channel */ 64 #define TDA1997X_LAYOUT1 1 /* 8-channel */
|
| /linux/sound/pci/emu10k1/ |
| H A D | p17v.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (c) by James Courtier-Dutton <James@superbug.demon.co.uk> 8 /* Audigy2Value Tina (P17V) pointer-offset register set, */ 12 /* 00 - 07: Not used */ 16 /* 09 - 12: Not used */ 20 /* 14 - 17: Not used */ 24 /* 1b - 1f: Not used */ 25 /* 20 - 2f: Not used */ 26 /* 30 - 3b: Not used */ 37 #define I2C_A_ADC_BYTE_MASK 0x00000080 /*Bit mask for Byte Mode */ [all …]
|
| /linux/sound/soc/rockchip/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 40 for each and up to 128 channels per lane in TDM mode. 43 tristate "Rockchip SPDIF Device Driver" 46 Say Y or M if you want to add support for SPDIF driver for 47 Rockchip SPDIF transceiver device. 79 RK3288 boards using an analog output and the built-in HDMI audio.
|
| /linux/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3566-box-demo.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/pinctrl/rockchip.h> 13 #include <dt-bindings/soc/rockchip,vop2.h> 18 compatible = "rockchip,rk3566-box-demo", "rockchip,rk3566"; 28 stdout-path = "serial2:1500000n8"; 31 gmac1_clkin: external-gmac1-clock { 32 compatible = "fixed-clock"; [all …]
|
| H A D | rk3566-quartz64-a.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/pinctrl/rockchip.h> 7 #include <dt-bindings/soc/rockchip,vop2.h> 12 compatible = "pine64,quartz64-a", "rockchip,rk3566"; 21 stdout-path = "serial2:1500000n8"; 24 gmac1_clkin: external-gmac1-clock { 25 compatible = "fixed-clock"; 26 clock-frequency = <125000000>; [all …]
|
| /linux/sound/hda/codecs/cirrus/ |
| H A D | cs421x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Cirrus Logic CS421x HD-audio codec 33 /* for MBP SPDIF control */ 45 /* Vendor-specific processing widget */ 57 * 1 = digital immediate, analog zero-cross 58 * 2 = digtail & analog soft-ramp 59 * 3 = digital soft-ramp, analog zero-cross 63 #define CS_COEF_ADC_LI_SZC_MODE (3 << 0) /* SZC setup for line-in */ 64 /* PGA mode: 0 = differential, 1 = signle-ended */ 66 #define CS_COEF_ADC_LI_PGA_MODE (1 << 6) /* PGA setup for line-in */ [all …]
|