/linux/sound/soc/intel/boards/ |
H A D | sof_board_helpers.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include "../common/soc-intel-quirks.h" 15 struct sof_card_private *ctx = snd_soc_card_get_drvdata(rtd->card); in hdmi_init() 18 ctx->hdmi.hdmi_comp = dai->component; in hdmi_init() 27 if (!ctx->hdmi_num) in sof_intel_board_card_late_probe() 30 if (!ctx->hdmi.idisp_codec) in sof_intel_board_card_late_probe() 33 if (!ctx->hdmi.hdmi_comp) in sof_intel_board_card_late_probe() 34 return -EINVAL; in sof_intel_board_card_late_probe() 36 return hda_dsp_hdmi_build_controls(card, ctx->hdmi.hdmi_comp); in sof_intel_board_card_late_probe() 53 struct snd_soc_card *card = rtd->card; in dmic_init() [all …]
|
/linux/sound/soc/amd/acp/ |
H A D | acp-sdw-sof-mach.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * acp-sdw-sof-mach - ASoC Machine driver for AMD SoundWire platforms 15 #include <sound/soc-acpi.h> 17 #include "../../codecs/rt711.h" 20 static int quirk_override = -1; 22 MODULE_PARM_DESC(quirk, "Board-specific quirk override"); 27 dev_dbg(dev, "quirk realtek,jack-detect-source %ld\n", in log_quirks() 35 sof_sdw_quirk = (unsigned long)id->driver_data; in sof_sdw_quirk_cb() 44 DMI_MATCH(DMI_PRODUCT_NAME, "Birman-PHX"), 74 struct device *dev = card->dev; in create_sdw_dailink() [all …]
|
H A D | acp-sdw-legacy-mach.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * acp-sdw-legacy-mach - ASoC legacy Machine driver for AMD SoundWire platforms 15 #include <sound/soc-acpi.h> 17 #include "../../codecs/rt711.h" 20 static int quirk_override = -1; 22 MODULE_PARM_DESC(quirk, "Board-specific quirk override"); 27 dev_dbg(dev, "quirk realtek,jack-detect-source %ld\n", in log_quirks() 35 soc_sdw_quirk = (unsigned long)id->driver_data; in soc_sdw_quirk_cb() 44 DMI_MATCH(DMI_PRODUCT_NAME, "Birman-PHX"), 68 struct device *dev = card->dev; in create_sdw_dailink() [all …]
|
H A D | acp-mach-common.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 19 #include <sound/soc-dapm.h> 24 #include "../../codecs/rt5682.h" 25 #include "../../codecs/rt1019.h" 26 #include "../../codecs/rt5682s.h" 27 #include "../../codecs/nau8825.h" 28 #include "../../codecs/nau8821.h" 29 #include "acp-mach.h" 35 #define NAU8821_CODEC_DAI "nau8821-hifi" 38 #define MAX98388_CODEC_DAI "max98388-aif1" [all …]
|
H A D | acp-renoir.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 21 #include <sound/soc-dai.h> 22 #include <linux/dma-mapping.h> 26 #include "acp-mach.h" 41 .codecs = {"10EC1019"} 46 .codecs = {"MX98360A"} 70 .drv_name = "renoir-acp", 74 .drv_name = "acp3x-es83xx", 81 .name = "acp-i2s-sp", 83 .playback = { [all …]
|
H A D | acp-rembrandt.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 20 #include <sound/soc-dai.h> 21 #include <linux/dma-mapping.h> 26 #include "../mach-config.h" 27 #include "acp-mach.h" 48 .codecs = {"10EC1019"} 53 .codecs = {"MX98360A"} 59 .drv_name = "rmb-nau8825-max", 65 .drv_name = "rembrandt-acp", 69 .drv_name = "rmb-rt5682s-rt1019", [all …]
|
/linux/sound/soc/fsl/ |
H A D | p1022_rdk.c | 1 // SPDX-License-Identifier: GPL-2.0 10 // to be enabled, because they control the clock. So for playback, for 28 /* P1022-specific PMUXCR and DMUXCR bit definitions */ 56 unsigned int shift = 16 + (8 * (1 - co) + 2 * (3 - ch)); in guts_set_dmuxcr() 58 clrsetbits_be32(&guts->dmuxcr, 3 << shift, device << shift); in guts_set_dmuxcr() 65 * machine_data: machine-specific ASoC device data 83 * p1022_rdk_machine_probe - initialize the board 86 * This function is used to initialize the board-specific hardware. 100 dev_err(card->dev, "could not map global utilities\n"); in p1022_rdk_machine_probe() 101 return -ENOMEM; in p1022_rdk_machine_probe() [all …]
|
H A D | p1022_ds.c | 1 // SPDX-License-Identifier: GPL-2.0 21 /* P1022-specific PMUXCR and DMUXCR bit definitions */ 49 unsigned int shift = 16 + (8 * (1 - co) + 2 * (3 - ch)); in guts_set_dmuxcr() 51 clrsetbits_be32(&guts->dmuxcr, 3 << shift, device << shift); in guts_set_dmuxcr() 58 * machine_data: machine-specific ASoC device data 79 * This function is used to initialize the board-specific hardware. 91 dev_err(card->dev, "could not map global utilities\n"); in p1022_ds_machine_probe() 92 return -ENOMEM; in p1022_ds_machine_probe() 96 clrsetbits_be32(&guts->pmuxcr, CCSR_GUTS_PMUXCR_UART0_I2C1_MASK, in p1022_ds_machine_probe() 100 clrsetbits_be32(&guts->pmuxcr, CCSR_GUTS_PMUXCR_SSI_DMA_TDM_MASK, in p1022_ds_machine_probe() [all …]
|
/linux/sound/pci/ice1712/ |
H A D | revo.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Lowlevel functions for M-Audio Audiophile 192, Revolution 7.1 and 5.1 20 /* a non-standard I2C device for revo51 */ 44 if (rate == 0) /* no hint - S/PDIF input is master, simply return */ in revo_set_rate_val() 47 /* adjust DFS on codecs */ in revo_set_rate_val() 55 if (ak->type == SND_AK4355 || ak->type == SND_AK4358) { in revo_set_rate_val() 83 struct snd_ice1712 *ice = bus->private_data; in revo_i2c_start() 89 struct snd_ice1712 *ice = bus->private_data; in revo_i2c_stop() 95 struct snd_ice1712 *ice = bus->private_data; in revo_i2c_direction() 104 ice->gpio.direction &= ~mask; in revo_i2c_direction() [all …]
|
/linux/sound/pci/ |
H A D | azt3328.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* azt3328.c - driver for Aztech AZF3328 based soundcards (e.g. PCI168). 3 * Copyright (C) 2002, 2005 - 2011 by Andreas Mohr <andi AT lisas.de> 7 * found in a Fujitsu-Siemens PC ("Cordant", aluminum case). 13 * Keywords: Windows XP Vista 168nt4-125.zip 168win95-125.zip PCI 168 download 17 * despite the high level of Internet ignorance - as usual :-P - 18 * about very good support for this card - on Linux!) 25 * in the first place >:-P}), 34 * for compatibility reasons) from Azfin (joint-venture of Aztech and Fincitec, 36 * Fincitec-related company ARSmikro) has the following features: [all …]
|
H A D | sis7019.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2004-2007, David Dillow 7 * Inspired by the Trident 4D-WaveDX/NX driver. 28 static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */ 31 static int codecs = 1; variable 39 module_param(codecs, int, 0444); 40 MODULE_PARM_DESC(codecs, "Set bit to indicate that codec number is expected to be present (default … 51 * For both playback and capture, when the buffer is one or two periods long, 52 * we use the hardware's built-in Mid-Loop Interrupt and End-Loop Interrupt 55 * When performing playback with more than two periods per buffer, we set [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | mt8186-mt6366-da7219-max98357.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/mt8186-mt6366-da7219-max98357.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jiaxin Yu <jiaxin.yu@mediatek.com> 16 - $ref: sound-card-common.yaml# 21 - mediatek,mt8186-mt6366-da7219-max98357-sound 23 audio-routing: 24 $ref: /schemas/types.yaml#/definitions/non-unique-string-array 35 - HDMI1 [all …]
|
H A D | mt8186-mt6366-rt1019-rt5682s.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/mt8186-mt6366-rt1019-rt5682s.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jiaxin Yu <jiaxin.yu@mediatek.com> 16 - $ref: sound-card-common.yaml# 21 - mediatek,mt8186-mt6366-rt1019-rt5682s-sound 22 - mediatek,mt8186-mt6366-rt5682s-max98360-sound 23 - mediatek,mt8186-mt6366-rt5650-sound 25 audio-routing: [all …]
|
H A D | mt8192-mt6359-rt1015-rt5682.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/mt8192-mt6359-rt1015-rt5682.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jiaxin Yu <jiaxin.yu@mediatek.com> 11 - Shane Chien <shane.chien@mediatek.com> 17 - $ref: sound-card-common.yaml# 22 - mediatek,mt8192_mt6359_rt1015_rt5682 23 - mediatek,mt8192_mt6359_rt1015p_rt5682 24 - mediatek,mt8192_mt6359_rt1015p_rt5682s [all …]
|
/linux/Documentation/sound/soc/ |
H A D | codec.rst | 6 the codec, FM, MODEM, BT or external DSP to provide audio capture and playback. 11 Each codec class driver *must* provide the following features:- 14 2. Codec control IO - using RegMap API 20 Optionally, codec drivers can also provide:- 25 driver code in sound/soc/codecs/ 31 ------------------------------- 49 .name = "wm8731-hifi", 50 .playback = { 51 .stream_name = "Playback", 68 ---------------- [all …]
|
/linux/sound/soc/rockchip/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 Say Y or M if you want to add support for codecs attached to 27 maximum of 8 channels each for playback and recording. 69 tristate "ASoC support multiple codecs for Rockchip RK3288 boards" 78 RK3288 boards using an analog output and the built-in HDMI audio. 81 tristate "ASoC support multiple codecs for Rockchip RK3399 GRU boards" 91 Say Y or M here if you want to add support multiple codecs for SoC
|
/linux/sound/pci/ac97/ |
H A D | ac97_patch.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * for specific codecs. 33 err = snd_ctl_add(ac97->bus->card, snd_ac97_cnew(&controls[idx], ac97)); in patch_build_controls() 46 kctl = snd_ctl_find_id_mixer(ac97->bus->card, name); in reset_tlv() 47 if (kctl && kctl->tlv.p) in reset_tlv() 48 kctl->tlv.p = tlv; in reset_tlv() 57 mutex_lock(&ac97->page_mutex); in ac97_update_bits_page() 62 mutex_unlock(&ac97->page_mutex); /* unlock paging */ in ac97_update_bits_page() 67 * shared line-in/mic controls 80 ucontrol->value.enumerated.item[0] = ac97->indep_surround; in ac97_surround_jack_mode_get() [all …]
|
/linux/sound/soc/sdw_utils/ |
H A D | soc_sdw_rt_amp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * soc_sdw_rt_amp - Helpers to handle RT1308/RT1316/RT1318 from generic machine driver 14 #include <sound/soc-acpi.h> 15 #include <sound/soc-dapm.h> 21 #include "../codecs/rt1308.h" 119 pdata = dmi_data->driver_data; in rt_amp_add_device_props() 120 memcpy(¶ms, pdata->bq_params, sizeof(unsigned char) * pdata->bq_params_cnt); in rt_amp_add_device_props() 122 props[0] = PROPERTY_ENTRY_U8_ARRAY("realtek,bq-params", params); in rt_amp_add_device_props() 123 props[1] = PROPERTY_ENTRY_U32("realtek,bq-params-cnt", pdata->bq_params_cnt); in rt_amp_add_device_props() 143 { "Speaker", NULL, "rt1308-1 SPOL" }, [all …]
|
/linux/Documentation/sound/hd-audio/ |
H A D | controls.rst | 2 HD-Audio Codec-Specific Mixer Controls 6 This file explains the codec-specific mixer controls. 8 Realtek codecs 9 -------------- 12 This is an enum control to change the surround-channel setup, 16 jack-retasking of multi-I/O jacks. 18 Auto-Mute Mode 19 This is an enum control to change the auto-mute behavior of the 20 headphone and line-out jacks. If built-in speakers and headphone 21 and/or line-out jacks are available on a machine, this controls [all …]
|
/linux/sound/soc/generic/ |
H A D | audio-graph-card2.c | 1 // SPDX-License-Identifier: GPL-2.0 8 // based on ${LINUX}/sound/soc/generic/audio-graph-card.c 25 bitclock-master; 27 frame-master; 39 sample0: left_j, bitclock-master, frame-master 40 sample1: i2s, bitclock-master 54 linux/sound/soc/codecs/ak4613.c 55 linux/sound/soc/codecs/pcm3168a.c 56 linux/sound/soc/soc-utils.c 57 linux/sound/soc/generic/test-component.c [all …]
|
/linux/sound/soc/mediatek/mt8188/ |
H A D | mt8188-mt6359.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * mt8188-mt6359.c -- MT8188-MT6359 ALSA SoC machine driver 17 #include "mt8188-afe-common.h" 18 #include "../../codecs/nau8825.h" 19 #include "../../codecs/mt6359.h" 20 #include "../../codecs/rt5682.h" 21 #include "../common/mtk-afe-platform-driver.h" 22 #include "../common/mtk-soundcard-driver.h" 23 #include "../common/mtk-dsp-sof-common.h" 24 #include "../common/mtk-soc-card.h" [all …]
|
/linux/Documentation/sound/designs/ |
H A D | compress-offload.rst | 2 ALSA Compress-Offload API 5 Pierre-Louis.Bossart <pierre-louis.bossart@linux.intel.com> 18 in system-on-chip designs, and DSPs are also integrated in audio 19 codecs. Processing compressed data on such DSPs results in a dramatic 20 reduction of power consumption compared to host-based 27 provide a control and data-streaming interface for audio DSPs. 29 The design of this API was inspired by the 2-year experience with the 39 - separation between byte counts and time. Compressed formats may have 41 may vary from frame-to-frame. As a result, it is not possible to 44 reliable audio-video synchronization, which requires precise [all …]
|
/linux/drivers/gpu/drm/xlnx/ |
H A D | zynqmp_dp_audio.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ZynqMP DisplayPort Subsystem Driver - Audio support 5 * Copyright (C) 2015 - 2024 Xilinx, Inc. 8 * - Hyun Woo Kwon <hyun.kwon@xilinx.com> 9 * - Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> 54 * - enabled_streams 55 * - volumes 56 * - current_rate 83 struct snd_pcm_runtime *runtime = substream->runtime; in zynqmp_dp_startup() 98 writel(val, audio->base + reg); in zynqmp_dp_audio_write() [all …]
|
/linux/sound/soc/intel/common/ |
H A D | soc-acpi-intel-tgl-match.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * soc-acpi-intel-tgl-match.c - tables and support for TGL ACPI enumeration. 9 #include <sound/soc-acpi.h> 10 #include <sound/soc-acpi-intel-match.h> 11 #include <sound/soc-acpi-intel-ssp-common.h> 12 #include "soc-acpi-intel-sdw-mockup-match.h" 16 .codecs = { "ESSX8316", "ESSX8326", "ESSX8336"}, 92 .name_prefix = "rt1308-1" 98 .name_prefix = "rt1308-2" 107 .name_prefix = "rt1308-1" [all …]
|
/linux/Documentation/sound/cards/ |
H A D | maya44.rst | 8 keep here as reference -- tiwai 22 … programming information, so I (Rainer Zimmermann) had to find out some card-specific information … 24 This is the first testing version of the Maya44 driver released to the alsa-devel mailing list (Feb… 29 - playback and capture at all sampling rates 30 - input/output level 31 - crossmixing 32 - line/mic switch 33 - phantom power switch 34 - analogue monitor a.k.a bypass 39 - Channel 3+4 analogue - S/PDIF input switching [all …]
|