/linux/sound/soc/mediatek/ |
H A D | Kconfig | 12 that can be used with other codecs. 23 with the CS42448 codecs. 33 with the WM8960 codecs. 43 that can be used with other codecs. 53 with the MT6351 codecs. 63 that can be used with other codecs. 73 boards with the WM8960 codecs. 83 that can be used with other codecs. 109 tristate "ASoC Audio driver for MT8173 with RT5650 RT5514 codecs" 115 with the RT5650 and RT5514 codecs. [all …]
|
/linux/drivers/media/platform/qcom/venus/ |
H A D | hfi_parser.c | 41 u32 codecs, u32 domain, func cb, void *data, in for_each_codec() argument 51 if (cap->codec & codecs && cap->domain == domain) in for_each_codec() 66 parse_alloc_mode(struct venus_core *core, u32 codecs, u32 domain, void *data) in parse_alloc_mode() argument 81 codecs, domain, fill_buf_mode, type, 1); in parse_alloc_mode() 100 parse_profile_level(struct venus_core *core, u32 codecs, u32 domain, void *data) in parse_profile_level() argument 111 for_each_codec(core->caps, ARRAY_SIZE(core->caps), codecs, domain, in parse_profile_level() 128 parse_caps(struct venus_core *core, u32 codecs, u32 domain, void *data) in parse_caps() argument 140 for_each_codec(core->caps, ARRAY_SIZE(core->caps), codecs, domain, in parse_caps() 157 parse_raw_formats(struct venus_core *core, u32 codecs, u32 domain, void *data) in parse_raw_formats() argument 185 for_each_codec(core->caps, ARRAY_SIZE(core->caps), codecs, domain, in parse_raw_formats() [all …]
|
/linux/sound/aoa/fabrics/ |
H A D | layout.c | 7 * This fabric module looks for sound codecs based on the 51 * fabric has to know the codec anyway and all codecs might have 65 struct codec_connect_info codecs[MAX_CODECS_PER_BUS]; member 276 .codecs[0] = { 280 .codecs[1] = { 287 .codecs[0] = { 294 .codecs[0] = { 302 .codecs[0] = { 309 .codecs[0] = { 317 .codecs[0] = { [all …]
|
/linux/sound/soc/intel/common/ |
H A D | soc-acpi-intel-ssp-common.c | 27 static const struct codec_map codecs[] = { variable 83 for (i = 0; i < ARRAY_SIZE(codecs); i++) { in snd_soc_acpi_intel_detect_codec_type() 84 if (!acpi_dev_present(codecs[i].acpi_hid, NULL, -1)) in snd_soc_acpi_intel_detect_codec_type() 87 dev_dbg(dev, "codec %s found\n", codecs[i].name); in snd_soc_acpi_intel_detect_codec_type() 88 return codecs[i].codec_type; in snd_soc_acpi_intel_detect_codec_type() 117 for (i = 0; i < ARRAY_SIZE(codecs); i++) { in snd_soc_acpi_intel_get_codec_name() 118 if (codecs[i].codec_type != codec_type) in snd_soc_acpi_intel_get_codec_name() 121 return codecs[i].name; in snd_soc_acpi_intel_get_codec_name() 139 for (i = 0; i < ARRAY_SIZE(codecs); i++) { in snd_soc_acpi_intel_get_codec_tplg_suffix() 140 if (codecs[i].codec_type != codec_type) in snd_soc_acpi_intel_get_codec_tplg_suffix() [all …]
|
H A D | soc-acpi-intel-jsl-match.c | 14 .codecs = { "ESSX8316", "ESSX8326", "ESSX8336"}, 19 .codecs = {"MX98373"} 24 .codecs = {"10EC1015"} 29 .codecs = {"RTL1015"} 34 .codecs = {"MX98360A"} 39 .codecs = {"10EC5650"} 44 .codecs = {"10EC5682", "RTL5682"},
|
H A D | soc-acpi-intel-kbl-match.c | 14 .codecs = {"10508825"} 19 .codecs = {"10EC5663"} 24 .codecs = {"10EC5663", "10EC5514"} 29 .codecs = {"MX98357A"} 34 .codecs = {"MX98927"} 39 .codecs = {"MX98373"}
|
/linux/sound/soc/intel/boards/ |
H A D | sof_board_helpers.c | 212 /* codecs - caller to handle */ in set_ssp_codec_link() 256 /* codecs */ in set_dmic_link() 257 link->codecs = dmic_component; in set_dmic_link() 277 struct snd_soc_dai_link_component *cpus, *codecs; in set_idisp_hdmi_link() local 300 /* codecs */ in set_idisp_hdmi_link() 302 codecs = devm_kzalloc(dev, in set_idisp_hdmi_link() 305 if (!codecs) in set_idisp_hdmi_link() 308 codecs->name = "ehdaudio0D2"; in set_idisp_hdmi_link() 309 codecs->dai_name = devm_kasprintf(dev, GFP_KERNEL, in set_idisp_hdmi_link() 311 if (!codecs->dai_name) in set_idisp_hdmi_link() [all …]
|
/linux/Documentation/sound/hd-audio/ |
H A D | controls.rst | 8 Realtek codecs 35 IDT/Sigmatel codecs 41 (see HD-Audio.txt). Note that on some codecs the analog-loopback 62 VIA codecs 101 Conexant codecs 105 See Realtek codecs. 108 Analog codecs
|
H A D | realtek-pc-beep.rst | 6 Realtek HDA codecs and controls a muxer and pair of passthrough mixers that can 9 for codecs that don't have mixer widgets in their output paths. Why it's easier 79 All Realtek HDA codecs have a vendor-defined widget with node ID 20h which 124 also applies for the ALC255, ALC257, ALC235, and ALC236, since those codecs 126 function.) Additionally, other codecs like the ALC225 and ALC285 also have this 128 data (e.g. node IDs, bit positions, pin mappings) for those codecs may differ
|
/linux/sound/soc/amd/acp/ |
H A D | acp-mach-common.c | 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" 1414 links[i].codecs = &snd_soc_dummy_dlc; in acp_sofdsp_dai_links_create() 1418 links[i].codecs = rt5682; in acp_sofdsp_dai_links_create() 1424 links[i].codecs = rt5682s; in acp_sofdsp_dai_links_create() 1430 links[i].codecs = nau8821; in acp_sofdsp_dai_links_create() 1449 links[i].codecs = &snd_soc_dummy_dlc; in acp_sofdsp_dai_links_create() [all …]
|
H A D | acp-sdw-sof-mach.c | 17 #include "../../codecs/rt711.h" 104 struct snd_soc_dai_link_component *codecs; in create_sdw_dailink() local 154 codecs = devm_kcalloc(dev, num_codecs, sizeof(*codecs), GFP_KERNEL); in create_sdw_dailink() 155 if (!codecs) in create_sdw_dailink() 178 codecs[j].name = sof_end->codec_name; in create_sdw_dailink() 179 codecs[j].dai_name = sof_end->dai_info->dai_name; in create_sdw_dailink() 190 ARRAY_SIZE(platform_component), codecs, num_codecs, in create_sdw_dailink() 394 * codecs on used platform in mc_probe()
|
H A D | acp-sdw-legacy-mach.c | 17 #include "../../codecs/rt711.h" 98 struct snd_soc_dai_link_component *codecs; in create_sdw_dailink() local 148 codecs = devm_kcalloc(dev, num_codecs, sizeof(*codecs), GFP_KERNEL); in create_sdw_dailink() 149 if (!codecs) in create_sdw_dailink() 172 codecs[j].name = soc_end->codec_name; in create_sdw_dailink() 173 codecs[j].dai_name = soc_end->dai_info->dai_name; in create_sdw_dailink() 184 1, codecs, num_codecs, in create_sdw_dailink() 426 * codecs on used platform in mc_probe()
|
/linux/include/sound/ |
H A D | soc-acpi.h | 33 /* check all codecs */ 51 /* check all codecs */ 146 * This choice was found to be valid on platforms with ES8336 codecs. 176 * @comp_ids: list of compatible audio codecs using the same machine driver, 187 * audio codecs whose presence if checked with ACPI 224 * @num_codecs: number of secondary codecs used in the platform 225 * @codecs: holds the codec IDs 230 u8 codecs[SND_SOC_ACPI_MAX_CODECS][ACPI_ID_LEN]; member
|
/linux/sound/soc/rockchip/ |
H A D | rockchip_rt5645.c | 18 #include "../codecs/rt5645.h" 174 rk_dailink.codecs->of_node = of_parse_phandle(np, in snd_rk_mc_probe() 176 if (!rk_dailink.codecs->of_node) { in snd_rk_mc_probe() 213 of_node_put(rk_dailink.codecs->of_node); in snd_rk_mc_probe() 214 rk_dailink.codecs->of_node = NULL; in snd_rk_mc_probe() 223 of_node_put(rk_dailink.codecs->of_node); in snd_rk_mc_remove() 224 rk_dailink.codecs->of_node = NULL; in snd_rk_mc_remove()
|
H A D | Kconfig | 6 Say Y or M if you want to add support for codecs attached to 69 tristate "ASoC support multiple codecs for Rockchip RK3288 boards" 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/Documentation/devicetree/bindings/sound/ |
H A D | cirrus,madera.yaml | 7 title: Cirrus Logic Madera class audio CODECs 13 This describes audio configuration bindings for these codecs. 75 CS47L35_DMIC_REF_xxx values For all other codecs one of 103 codecs that do not have OUT6. 112 of this value. The second cell is ignored for codecs that
|
H A D | rockchip,rk3399-gru-sound.txt | 1 ROCKCHIP with MAX98357A/RT5514/DA7219 codecs on GRU boards 6 connected to the codecs 7 - rockchip,codec: The phandle of the audio codecs
|
H A D | mt8183-mt6358-ts3a227-max98357.txt | 1 MT8183 with MT6358, TS3A227, MAX98357, and RT1015 CODECS 11 - mediatek,headset-codec: the phandles of ts3a227 codecs 12 - mediatek,ec-codec: the phandle of EC codecs.
|
/linux/sound/soc/generic/ |
H A D | simple-card.c | 266 struct snd_soc_dai_link_component *codecs = snd_soc_link_to_codec(dai_link, 0); in simple_dai_link_of_dpcm() local 281 snprintf(dai_name, sizeof(dai_name), "be.%s", codecs->dai_name); in simple_dai_link_of_dpcm() 284 snd_soc_of_parse_node_prefix(top, cconf, codecs->of_node, in simple_dai_link_of_dpcm() 286 snd_soc_of_parse_node_prefix(node, cconf, codecs->of_node, in simple_dai_link_of_dpcm() 288 snd_soc_of_parse_node_prefix(np, cconf, codecs->of_node, in simple_dai_link_of_dpcm() 312 struct snd_soc_dai_link_component *codecs = snd_soc_link_to_codec(dai_link, 0); in simple_dai_link_of() local 347 "%s-%s", cpus->dai_name, codecs->dai_name); in simple_dai_link_of() 494 * all Codecs are detected as "dummy-Codec". in simple_for_each_link() 599 li->num[li->link].codecs = 1; in simple_count_noml() 629 li->num[li->link].codecs = 1; in simple_count_dpcm() [all …]
|
H A D | audio-graph-card.c | 252 struct snd_soc_dai_link_component *codecs = snd_soc_link_to_codec(dai_link, 0); in graph_dai_link_of_dpcm() local 267 "be.%pOFP.%s", codecs->of_node, codecs->dai_name); in graph_dai_link_of_dpcm() 272 snd_soc_of_parse_node_prefix(top, cconf, codecs->of_node, "prefix"); in graph_dai_link_of_dpcm() 273 snd_soc_of_parse_node_prefix(ports, cconf, codecs->of_node, "prefix"); in graph_dai_link_of_dpcm() 274 snd_soc_of_parse_node_prefix(port, cconf, codecs->of_node, "prefix"); in graph_dai_link_of_dpcm() 297 struct snd_soc_dai_link_component *codecs = snd_soc_link_to_codec(dai_link, 0); in graph_dai_link_of() local 313 "%s-%s", cpus->dai_name, codecs->dai_name); in graph_dai_link_of() 435 * all Codecs are detected as "dummy-Codec". in graph_for_each_link() 468 li->num[li->link].codecs = 1; in graph_count_noml() 500 li->num[li->link].codecs = 1; in graph_count_dpcm()
|
/linux/include/sound/ac97/ |
H A D | controller.h | 23 * @slots_available: the mask of accessible/scanable codecs. 25 * @codecs: the 4 possible AC97 codecs (NULL if none found). 38 struct ac97_codec_device *codecs[AC97_BUS_MAX_CODECS]; member
|
/linux/sound/soc/atmel/ |
H A D | mikroe-proto.c | 17 #include "../codecs/wm8731.h" 88 /* for cpus/codecs/platforms */ in snd_proto_probe() 98 dai->codecs = &comp[1]; in snd_proto_probe() 105 dai->codecs->dai_name = "wm8731-hifi"; in snd_proto_probe() 113 dai->codecs->of_node = codec_np; in snd_proto_probe()
|
/linux/sound/soc/sof/intel/ |
H A D | hda-codec.c | 18 #include "../../codecs/hdac_hda.h" 75 /* enable controller wake up event for all codecs with jack connectors */ 90 /* only set WAKEEN when needed for HDaudio codecs */ in hda_codec_jack_wake_enable() 97 /* reset WAKEEN only HDaudio codecs */ in hda_codec_jack_wake_enable() 118 * Wake up all jack-detecting codecs regardless whether an event in hda_codec_jack_check() 226 /* probe codecs in avail slots */ in hda_codec_probe_bus() 266 /* detect codecs */ in hda_codec_detect_mask() 460 MODULE_DESCRIPTION("SOF support for HDaudio codecs");
|
/linux/sound/ac97/ |
H A D | bus.c | 65 return ac97_ctrl->codecs[codec_num]; in ac97_codec_find() 96 ac97_ctrl->codecs[adev->num] = NULL; in ac97_codec_release() 110 ac97_ctrl->codecs[idx] = codec; in ac97_codec_add() 232 if (ac97_ctrl->codecs[i]) { in ac97_ctrl_codecs_unregister() 233 ac97_ctrl->codecs[i]->ac97_ctrl = &ac97_unbound_ctrl; in ac97_ctrl_codecs_unregister() 234 device_unregister(&ac97_ctrl->codecs[i]->dev); in ac97_ctrl_codecs_unregister() 339 * @slots_available: mask of the ac97 codecs that can be scanned and probed 343 * Register a digital controller which can control up to 4 ac97 codecs. This is 344 * the controller side of the AC97 AC-link, while the slave side are the codecs.
|
/linux/sound/soc/ti/ |
H A D | j721e-evm.c | 662 priv->dai_links[*link_idx].codecs = &compnent[comp_idx++]; in j721e_soc_probe_cpb() 671 priv->dai_links[*link_idx].codecs->of_node = codec_node; in j721e_soc_probe_cpb() 672 priv->dai_links[*link_idx].codecs->dai_name = "pcm3168a-dac"; in j721e_soc_probe_cpb() 682 priv->dai_links[*link_idx].codecs = &compnent[comp_idx++]; in j721e_soc_probe_cpb() 691 priv->dai_links[*link_idx].codecs->of_node = codec_node; in j721e_soc_probe_cpb() 692 priv->dai_links[*link_idx].codecs->dai_name = "pcm3168a-adc"; in j721e_soc_probe_cpb() 778 priv->dai_links[*link_idx].codecs = &compnent[comp_idx]; in j721e_soc_probe_ivi() 786 priv->dai_links[*link_idx].codecs[0].of_node = codeca_node; in j721e_soc_probe_ivi() 787 priv->dai_links[*link_idx].codecs[0].dai_name = "pcm3168a-dac"; in j721e_soc_probe_ivi() 788 priv->dai_links[*link_idx].codecs[1].of_node = codecb_node; in j721e_soc_probe_ivi() [all …]
|