/linux/sound/soc/codecs/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 5 # setting - SPI can't be modular so that case doesn't need to be covered. 489 tristate "Analog Devices AU1761 CODEC - I2C" 495 tristate "Analog Devices AU1761 CODEC - SPI" 532 tristate "Analog Devices ADAU7002 Stereo PDM-to-I2S/TDM Converter" 538 tristate "Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM Converter - HW Mode" 541 Enable support for the Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM 547 will be called snd-soc-adau7118-hw. 550 tristate "Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM Converter - I2C" 555 Enable support for the Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM [all …]
|
H A D | mt6357.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * MT6357 ALSA SoC audio codec driver 9 #include <linux/dma-mapping.h> 17 static void set_playback_gpio(struct mt6357_priv *priv, bool enable) in set_playback_gpio() argument 19 regmap_write(priv->regmap, MT6357_GPIO_MODE2_CLR, MT6357_GPIO_MODE2_CLEAR_ALL); in set_playback_gpio() 20 if (enable) { in set_playback_gpio() 22 regmap_write(priv->regmap, MT6357_GPIO_MODE2_SET, in set_playback_gpio() 32 regmap_update_bits(priv->regmap, MT6357_GPIO_DIR0, in set_playback_gpio() 44 static void set_capture_gpio(struct mt6357_priv *priv, bool enable) in set_capture_gpio() argument 46 regmap_write(priv->regmap, MT6357_GPIO_MODE3_CLR, MT6357_GPIO_MODE3_CLEAR_ALL); in set_capture_gpio() [all …]
|
H A D | ssm2602.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 61 #define LOUT1V_ENABLE_LZC 0x080 /* Left Channel Zero cross detect enable … 66 #define ROUT1V_ENABLE_RZC 0x080 /* Right Channel Zero cross detect enable … 69 /*Analogue Audio Path Control (SSM2602_REG_ANALOGUE_PATH)*/ 75 #define APANA_ENABLE_SIDETONE 0x020 /* Enable/Disable Side Tone … 79 /*Digital Audio Path Control (SSM2602_REG_DIGITAL_PATH)*/ 80 #define APDIGI_ENABLE_ADC_HPF 0x001 /* Enable/Disable ADC Highpass Filter … 81 #define APDIGI_DE_EMPHASIS 0x006 /* De-Emphasis Control … 86 *(1=Enable PowerDown, 0=Disable PowerDown) 97 /*Digital Audio Interface Format (SSM2602_REG_DIGITAL_IFACE)*/ [all …]
|
/linux/sound/soc/tegra/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 tristate "SoC Audio for the Tegra System-on-Chip" 10 Say Y or M here if you want support for SoC audio on Tegra. 63 Config to enable Audio Hub (AHUB) module, which comprises of a 64 switch called Audio Crossbar (AXBAR) used to configure or modify 65 the audio routing path between various HW accelerators present in 72 Config to enable the Digital MIC (DMIC) controller which is used 83 Config to enable the Inter-IC Sound (I2S) Controller which 84 implements full-duplex and bidirectional and single direction 85 point-to-point serial interfaces. It can interface with I2S [all …]
|
/linux/sound/pci/hda/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 menu "HD-Audio" 15 tristate "HD Audio PCI" 21 Audio" (Azalia) and its compatible devices. 23 This option enables the HD-audio controller. Don't forget 27 will be called snd-hda-intel. 30 tristate "NVIDIA Tegra HD Audio" 38 This options enables support for the HD Audio controller 39 present in some NVIDIA Tegra SoCs, used to communicate audio 43 will be called snd-hda-tegra. [all …]
|
/linux/drivers/gpu/drm/radeon/ |
H A D | r600_hdmi.c | 88 dev_err(rdev->dev, "Unknown bits per sample 0x%x, using 16\n", in r600_audio_status() 113 * update all hdmi interfaces with current audio parameters 124 if (rdev->audio.pin[0].channels != audio_status.channels || in r600_audio_update_hdmi() 125 rdev->audio.pin[0].rate != audio_status.rate || in r600_audio_update_hdmi() 126 rdev->audio.pin[0].bits_per_sample != audio_status.bits_per_sample || in r600_audio_update_hdmi() 127 rdev->audio.pin[0].status_bits != audio_status.status_bits || in r600_audio_update_hdmi() 128 rdev->audio.pin[0].category_code != audio_status.category_code) { in r600_audio_update_hdmi() 129 rdev->audio.pin[0] = audio_status; in r600_audio_update_hdmi() 133 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { in r600_audio_update_hdmi() 141 /* enable the audio stream */ [all …]
|
H A D | evergreen_hdmi.c | 38 /* enable the audio stream */ 72 struct drm_device *dev = encoder->dev; in evergreen_hdmi_update_acr() 73 struct radeon_device *rdev = dev->dev_private; in evergreen_hdmi_update_acr() 76 if (encoder->crtc) { in evergreen_hdmi_update_acr() 77 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in evergreen_hdmi_update_acr() 78 bpc = radeon_crtc->bpc; in evergreen_hdmi_update_acr() 89 WREG32(HDMI_ACR_32_0 + offset, HDMI_ACR_CTS_32(acr->cts_32khz)); in evergreen_hdmi_update_acr() 90 WREG32(HDMI_ACR_32_1 + offset, acr->n_32khz); in evergreen_hdmi_update_acr() 92 WREG32(HDMI_ACR_44_0 + offset, HDMI_ACR_CTS_44(acr->cts_44_1khz)); in evergreen_hdmi_update_acr() 93 WREG32(HDMI_ACR_44_1 + offset, acr->n_44_1khz); in evergreen_hdmi_update_acr() [all …]
|
/linux/drivers/mfd/ |
H A D | twl4030-audio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * MFD driver for twl4030 audio submodule, which contains an audio codec, and 21 #include <linux/mfd/twl4030-audio.h> 44 static int twl4030_audio_set_resource(enum twl4030_audio_res id, int enable) in twl4030_audio_set_resource() argument 46 struct twl4030_audio *audio = platform_get_drvdata(twl4030_audio_dev); in twl4030_audio_set_resource() local 50 audio->resource[id].reg); in twl4030_audio_set_resource() 52 if (enable) in twl4030_audio_set_resource() 53 val |= audio->resource[id].mask; in twl4030_audio_set_resource() 55 val &= ~audio->resource[id].mask; in twl4030_audio_set_resource() 58 val, audio->resource[id].reg); in twl4030_audio_set_resource() [all …]
|
/linux/sound/soc/xilinx/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 tristate "Audio support for the Xilinx I2S" 5 Select this option to enable Xilinx I2S Audio. This enables 7 mode, IP receives audio in AES format, extracts PCM and sends 8 PCM data. In receiver mode, IP receives PCM audio and 12 tristate "Audio support for the Xilinx audio formatter" 14 Select this option to enable Xilinx audio formatter 16 audio functionality. 19 tristate "Audio support for the Xilinx SPDIF" 21 Select this option to enable Xilinx SPDIF Audio. [all …]
|
/linux/sound/hda/ |
H A D | hdac_component.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // hdac_component.c - routines for sync between HD-A core and DRM driver 23 * snd_hdac_set_codec_wakeup - Enable / disable HDMI/DP codec wakeup 25 * @enable: enable or disable the wakeup 27 * This function is supposed to be used only by a HD-audio controller 35 int snd_hdac_set_codec_wakeup(struct hdac_bus *bus, bool enable) in snd_hdac_set_codec_wakeup() argument 37 struct drm_audio_component *acomp = bus->audio_component; in snd_hdac_set_codec_wakeup() 39 if (!acomp || !acomp->ops) in snd_hdac_set_codec_wakeup() 40 return -ENODEV; in snd_hdac_set_codec_wakeup() 42 if (!acomp->ops->codec_wake_override) in snd_hdac_set_codec_wakeup() [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_audio.c | 43 * DOC: High Definition Audio over HDMI and Display Port 45 * The graphics and audio drivers together support High Definition Audio over 46 * HDMI and Display Port. The audio programming sequences are divided into audio 47 * codec and controller enable and disable sequences. The graphics driver 48 * handles the audio codec sequences, while the audio driver handles the audio 52 * port. The enable sequences may only be performed after enabling the 53 * transcoder and port, and after completed link training. Therefore the audio 54 * enable/disable sequences are part of the modeset sequence. 57 * but generally the ELDV/PD change in the codec sequence indicates to the audio 59 * co-operation between the graphics and audio drivers is handled via audio [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | fsl,rpmsg.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP Audio RPMSG CPU DAI Controller 10 - Shengjiu Wang <shengjiu.wang@nxp.com> 13 fsl_rpmsg is a virtual audio device. Mapping to real hardware devices 15 Linux side is a device which provides audio service by rpmsg channel. 18 Cortex-A and Cortex-M. 21 - $ref: sound-card-common.yaml# 26 - fsl,imx7ulp-rpmsg-audio [all …]
|
/linux/arch/arm/include/asm/hardware/ |
H A D | sa1111.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 * This file contains definitions for the SA-1111 Companion Chip. 8 * (Structure and naming borrowed from SA-1101.h, by Peter Danielsson.) 10 * Macro that calculates real address for registers in the SA-1111 50 * - The October 1999 errata (278260-007) says its bit 13, 1 to enable. 51 * - The Feb 2001 errata (278260-010) says that the previous errata 52 * (278260-009) is wrong, and its bit actually 12, fixed in spec 53 * 278242-003. 54 * - The SA1111 manual (278242) says bit 12, but 0 to enable. 55 * - Reality is bit 13, 1 to enable. [all …]
|
/linux/Documentation/driver-api/media/drivers/ |
H A D | radiotrack.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 ---------------- 24 ------------------ 26 I have a RadioTrack card from back when I ran an MS-Windows platform. After 27 converting to Linux, I found Gideon le Grange's command-line software for 29 comfortable X-windows interface, and added a scanning feature. For hack 31 broadcast band, so I could pick up the audio carriers from North American 32 broadcast TV channels, situated just below and above the 87.0-109.0 MHz range. 40 -------------------- 42 The RadioTrack card is an ISA 8-bit FM radio card. The radio frequency (RF) [all …]
|
/linux/Documentation/sound/designs/ |
H A D | jack-injection.rst | 9 to the audio jacks through debugfs interface, it is helpful to 10 validate ALSA userspace changes. For example, we change the audio 13 in this case, we could inject plugin or plugout events to an audio 14 jack or to some audio jacks, we don't need to physically access the 15 machine and plug/unplug physical devices to the audio jack. 17 In this design, an audio jack doesn't equal to a physical audio jack. 18 Sometimes a physical audio jack contains multi functions, and the 20 ``snd_jack`` represents a physical audio jack and the ``jack_kctl`` 26 To inject events to audio jacks, we need to enable the jack injection 38 If users enable the SND_JACK_INJECTION_DEBUG in the kernel, the audio [all …]
|
/linux/sound/soc/amd/acp/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 9 tristate "AMD Audio ACP Common support" 13 This option enables common modules for Audio-Coprocessor i.e. ACP 64 Say Y if you want to enable AUDIO on Rembrandt 77 Say Y if you want to enable AUDIO on ACP6.3 90 Say Y if you want to enable AUDIO on ACP7.0 113 This option enables legacy sound card support for ACP audio. 120 This option enables SOF sound card support for ACP audio. 143 Say Y if you want to enable SoundWire based machine driver support 165 Say Y if you want to enable SoundWire based machine driver support
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6q-apalis-eval-v1.2.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 8 #include "imx6q-apalis-eval.dtsi" 12 compatible = "toradex,apalis_imx6q-eval-v1.2", "toradex,apalis_imx6q", 15 reg_3v3_mmc: regulator-3v3-mmc { 16 compatible = "regulator-fixed"; 17 enable-active-high; 19 off-on-delay-us = <100000>; 20 pinctrl-names = "default"; 21 pinctrl-0 = <&pinctrl_enable_3v3_mmc>; [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 /* ------------------- DEFINES -------------------- */ 33 /* FIXME? - according to the OSS driver the EMU10K1 needs a 29 bit DMA mask */ 41 // This is used to define hardware bit-fields (sub-registers) by combining 44 // The non-concatenating (_NC) variant should be used directly only for 45 // sub-registers that do not follow the <register>_<field> naming pattern. 55 // Macros for manipulating values of bit-fields declared using the above macros. 59 // single sub-register at a time. 62 #define REG_MASK0(r) ((1U << REG_SIZE(r)) - 1U) [all …]
|
/linux/sound/pci/ |
H A D | cs5530.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * cs5530.c - Initialisation code for Cyrix/NatSemi VSA1 softaudio 11 * simultaneously play back audio at 16bit 44100kHz, the device actually plays 13 * always play/capture in 16/44100, we can let alsa-lib convert the samples and 14 * that way we can hack up some full duplex audio. 20 * to control the AC97 audio engine directly and requires a different driver. 39 MODULE_DESCRIPTION("CS5530 Audio"); 44 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; variable 47 MODULE_PARM_DESC(index, "Index value for CS5530 Audio driver."); 49 MODULE_PARM_DESC(id, "ID string for CS5530 Audio driver."); [all …]
|
/linux/drivers/ps3/ |
H A D | ps3av_cmd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 164 /* audio init */ in ps3av_cmd_init() 219 return -EINVAL; in ps3av_cmd_av_video_mute() 333 if (video_vid == -1) in ps3av_cmd_set_av_video_cs() 335 if (cs_out == -1) in ps3av_cmd_set_av_video_cs() 337 if (aspect == -1) in ps3av_cmd_set_av_video_cs() 342 &av_video_cs->send_hdr); in ps3av_cmd_set_av_video_cs() 343 av_video_cs->avport = avport; in ps3av_cmd_set_av_video_cs() 345 av_video_cs->av_vid = ps3av_vid_video2av(video_vid); in ps3av_cmd_set_av_video_cs() 346 av_video_cs->av_cs_out = ps3av_cs_video2av(cs_out); in ps3av_cmd_set_av_video_cs() [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | twl4030-audio.txt | 1 Texas Instruments TWL family (twl4030) audio module 3 The audio module inside the TWL family consist of an audio codec and a vibra 7 - compatible : must be "ti,twl4030-audio" 11 Audio functionality: 12 - codec { }: Need to be present if the audio functionality is used. Within this 14 - ti,digimic_delay: Delay need after enabling the digimic to reduce artifacts 16 -ti,ramp_delay_value: HS ramp delay configuration to reduce pop noise 17 -ti,hs_extmute: Use external mute for HS pop reduction 18 -ti,hs_extmute_gpio: Use external GPIO to control the external mute 19 -ti,offset_cncl_path: Offset cancellation path selection, refer to TRM for the [all …]
|
/linux/sound/soc/fsl/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 menu "SoC Audio for Freescale CPUs" 4 comment "Common SoC Audio options for Freescale CPUs:" 14 This option is only useful for out-of-tree drivers since 15 in-tree drivers select it automatically. 18 tristate "Synchronous Audio Interface (SAI) module support" 24 Say Y if you want to add Synchronous Audio Interface (SAI) 26 This option is only useful for out-of-tree drivers since 27 in-tree drivers select it automatically. 37 This option is only useful for out-of-tree drivers since [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mm-beacon-baseboard.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 #include <dt-bindings/phy/phy-imx8-pcie.h> 10 dmic_codec: dmic-codec { 11 compatible = "dmic-codec"; 12 num-channels = <1>; 13 #sound-dai-cells = <0>; 17 compatible = "gpio-leds"; 22 default-state = "off"; 28 default-state = "off"; 34 default-state = "off"; [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | thead,th1520-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/thead,th1520-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: T-Head TH1520 SoC pin controller 10 - Emil Renner Berthing <emil.renner.berthing@canonical.com> 13 Pinmux and pinconf controller in the T-Head TH1520 RISC-V SoC. 17 PADCTRL_AOSYS -> PAD Group 1 18 PADCTRL1_APSYS -> PAD Group 2 19 PADCTRL0_APSYS -> PAD Group 3 [all …]
|
/linux/drivers/gpu/drm/sti/ |
H A D | sti_hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0 26 #include <sound/hdmi-codec.h> 96 #define HDMI_IFRAME_CFG_DI_N(x, n) ((x) << ((n-1)*4)) /* n from 1 to 6 */ 179 return readl(hdmi->regs + offset); in hdmi_read() 184 writel(val, hdmi->regs + offset); in hdmi_write() 198 if (hdmi->irq_status & HDMI_INT_HOT_PLUG) { in hdmi_irq_thread() 199 hdmi->hpd = readl(hdmi->regs + HDMI_STA) & HDMI_STA_HOT_PLUG; in hdmi_irq_thread() 200 if (hdmi->drm_dev) in hdmi_irq_thread() 201 drm_helper_hpd_irq_event(hdmi->drm_dev); in hdmi_irq_thread() 207 if (hdmi->irq_status & (HDMI_INT_SW_RST | HDMI_INT_DLL_LCK)) { in hdmi_irq_thread() [all …]
|