| /sound/aoa/fabrics/ |
| A D | layout.c | 276 .codecs[0] = { 280 .codecs[1] = { 287 .codecs[0] = { 294 .codecs[0] = { 302 .codecs[0] = { 309 .codecs[0] = { 317 .codecs[0] = { 321 .codecs[1] = { 328 .codecs[0] = { 332 .codecs[1] = { [all …]
|
| /sound/soc/intel/common/ |
| 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 …]
|
| 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"},
|
| 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"}
|
| A D | soc-acpi-intel-cht-match.c | 112 .codecs = { "10EC5640", "10EC3276" }, 117 .codecs = { "10EC5670", "10EC5672" }, 122 .codecs = { "10EC5645", "10EC5650", "10EC3270" }, 127 .codecs = { "DGLS7212", "DGLS7213"},
|
| A D | soc-acpi-intel-glk-match.c | 14 .codecs = { "ESSX8316", "ESSX8326", "ESSX8336"}, 19 .codecs = {"MX98357A"} 24 .codecs = {"10EC5682", "RTL5682"},
|
| A D | soc-acpi-intel-cml-match.c | 14 .codecs = { "ESSX8316", "ESSX8326", "ESSX8336"}, 19 .codecs = {"10EC1011"} 24 .codecs = {"10EC1015"} 29 .codecs = {"MX98357A"} 34 .codecs = {"MX98390"}
|
| /sound/soc/intel/avs/boards/ |
| A D | ssm4567.c | 100 dl->codecs = devm_kcalloc(dev, 2, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link() 101 if (!dl->name || !dl->cpus || !dl->codecs) in avs_create_dai_link() 106 dl->codecs[0].name = devm_kasprintf(dev, GFP_KERNEL, "i2c-INT343B:00"); in avs_create_dai_link() 107 dl->codecs[0].dai_name = devm_kasprintf(dev, GFP_KERNEL, "ssm4567-hifi"); in avs_create_dai_link() 108 dl->codecs[1].name = devm_kasprintf(dev, GFP_KERNEL, "i2c-INT343B:01"); in avs_create_dai_link() 109 dl->codecs[1].dai_name = devm_kasprintf(dev, GFP_KERNEL, "ssm4567-hifi"); in avs_create_dai_link() 110 if (!dl->cpus->dai_name || !dl->codecs[0].name || !dl->codecs[0].dai_name || in avs_create_dai_link() 111 !dl->codecs[1].name || !dl->codecs[1].dai_name) in avs_create_dai_link()
|
| A D | hdaudio.c | 47 dl[i].codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_links() 49 if (!dl[i].codecs || !dl[i].cpus) in avs_create_dai_links() 56 dl[i].codecs->name = devm_kstrdup_const(dev, cname, GFP_KERNEL); in avs_create_dai_links() 57 if (!dl[i].codecs->name) in avs_create_dai_links() 60 dl[i].codecs->dai_name = pcm->name; in avs_create_dai_links() 192 binder->codecs = devm_kzalloc(dev, sizeof(*binder->codecs), GFP_KERNEL); in avs_hdaudio_probe() 193 if (!binder->platforms || !binder->codecs) in avs_hdaudio_probe() 196 binder->codecs->name = devm_kstrdup_const(dev, dev_name(&codec->core.dev), GFP_KERNEL); in avs_hdaudio_probe() 197 if (!binder->codecs->name) in avs_hdaudio_probe() 202 binder->codecs->dai_name = "codec-probing-DAI"; in avs_hdaudio_probe() [all …]
|
| A D | max98373.c | 114 dl->codecs = devm_kcalloc(dev, 2, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link() 115 if (!dl->name || !dl->cpus || !dl->codecs) in avs_create_dai_link() 120 dl->codecs[0].name = devm_kasprintf(dev, GFP_KERNEL, MAX98373_DEV0_NAME); in avs_create_dai_link() 121 dl->codecs[0].dai_name = devm_kasprintf(dev, GFP_KERNEL, MAX98373_CODEC_NAME); in avs_create_dai_link() 122 dl->codecs[1].name = devm_kasprintf(dev, GFP_KERNEL, MAX98373_DEV1_NAME); in avs_create_dai_link() 123 dl->codecs[1].dai_name = devm_kasprintf(dev, GFP_KERNEL, MAX98373_CODEC_NAME); in avs_create_dai_link() 124 if (!dl->cpus->dai_name || !dl->codecs[0].name || !dl->codecs[0].dai_name || in avs_create_dai_link() 125 !dl->codecs[1].name || !dl->codecs[1].dai_name) in avs_create_dai_link()
|
| A D | max98927.c | 111 dl->codecs = devm_kcalloc(dev, 2, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link() 112 if (!dl->name || !dl->cpus || !dl->codecs) in avs_create_dai_link() 117 dl->codecs[0].name = devm_kasprintf(dev, GFP_KERNEL, MAX98927_DEV0_NAME); in avs_create_dai_link() 118 dl->codecs[0].dai_name = devm_kasprintf(dev, GFP_KERNEL, MAX98927_CODEC_NAME); in avs_create_dai_link() 119 dl->codecs[1].name = devm_kasprintf(dev, GFP_KERNEL, MAX98927_DEV1_NAME); in avs_create_dai_link() 120 dl->codecs[1].dai_name = devm_kasprintf(dev, GFP_KERNEL, MAX98927_CODEC_NAME); in avs_create_dai_link() 121 if (!dl->cpus->dai_name || !dl->codecs[0].name || !dl->codecs[0].dai_name || in avs_create_dai_link() 122 !dl->codecs[1].name || !dl->codecs[1].dai_name) in avs_create_dai_link()
|
| A D | max98357a.c | 65 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link() 66 if (!dl->name || !dl->cpus || !dl->codecs) in avs_create_dai_link() 71 dl->codecs->name = devm_kasprintf(dev, GFP_KERNEL, "MX98357A:00"); in avs_create_dai_link() 72 dl->codecs->dai_name = devm_kasprintf(dev, GFP_KERNEL, "HiFi"); in avs_create_dai_link() 73 if (!dl->cpus->dai_name || !dl->codecs->name || !dl->codecs->dai_name) in avs_create_dai_link()
|
| A D | rt5514.c | 103 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link() 104 if (!dl->name || !dl->cpus || !dl->codecs) in avs_create_dai_link() 109 dl->codecs->name = devm_kasprintf(dev, GFP_KERNEL, "i2c-10EC5514:00"); in avs_create_dai_link() 110 dl->codecs->dai_name = devm_kasprintf(dev, GFP_KERNEL, RT5514_CODEC_DAI); in avs_create_dai_link() 111 if (!dl->cpus->dai_name || !dl->codecs->name || !dl->codecs->dai_name) in avs_create_dai_link()
|
| A D | rt5640.c | 154 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link() 155 if (!dl->name || !dl->cpus || !dl->codecs) in avs_create_dai_link() 160 dl->codecs->name = devm_kasprintf(dev, GFP_KERNEL, "i2c-10EC5640:0%d", uid); in avs_create_dai_link() 161 dl->codecs->dai_name = devm_kasprintf(dev, GFP_KERNEL, RT5640_CODEC_DAI); in avs_create_dai_link() 162 if (!dl->cpus->dai_name || !dl->codecs->name || !dl->codecs->dai_name) in avs_create_dai_link()
|
| A D | rt286.c | 134 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link() 135 if (!dl->name || !dl->cpus || !dl->codecs) in avs_create_dai_link() 140 dl->codecs->name = devm_kasprintf(dev, GFP_KERNEL, "i2c-INT343A:00"); in avs_create_dai_link() 141 dl->codecs->dai_name = devm_kasprintf(dev, GFP_KERNEL, RT286_CODEC_DAI); in avs_create_dai_link() 142 if (!dl->cpus->dai_name || !dl->codecs->name || !dl->codecs->dai_name) in avs_create_dai_link()
|
| A D | rt298.c | 151 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link() 152 if (!dl->name || !dl->cpus || !dl->codecs) in avs_create_dai_link() 157 dl->codecs->name = devm_kasprintf(dev, GFP_KERNEL, "i2c-INT343A:00"); in avs_create_dai_link() 158 dl->codecs->dai_name = devm_kasprintf(dev, GFP_KERNEL, RT298_CODEC_DAI); in avs_create_dai_link() 159 if (!dl->cpus->dai_name || !dl->codecs->name || !dl->codecs->dai_name) in avs_create_dai_link()
|
| A D | rt5663.c | 153 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link() 154 if (!dl->name || !dl->cpus || !dl->codecs) in avs_create_dai_link() 159 dl->codecs->name = devm_kasprintf(dev, GFP_KERNEL, "i2c-10EC5663:00"); in avs_create_dai_link() 160 dl->codecs->dai_name = devm_kasprintf(dev, GFP_KERNEL, RT5663_CODEC_DAI); in avs_create_dai_link() 161 if (!dl->cpus->dai_name || !dl->codecs->name || !dl->codecs->dai_name) in avs_create_dai_link()
|
| /sound/soc/mediatek/ |
| A D | Kconfig | 14 that can be used with other codecs. 25 with the CS42448 codecs. 35 with the WM8960 codecs. 45 that can be used with other codecs. 55 with the MT6351 codecs. 65 that can be used with other codecs. 75 boards with the WM8960 codecs. 85 that can be used with other codecs. 117 with the RT5650 and RT5514 codecs. 129 with the RT5650 and RT5676 codecs. [all …]
|
| /sound/soc/mediatek/mt8173/ |
| A D | mt8173-rt5650-rt5676.c | 263 mt8173_rt5650_rt5676_dais[DAI_LINK_CODEC_I2S].codecs[0].of_node = in mt8173_rt5650_rt5676_dev_probe() 265 if (!mt8173_rt5650_rt5676_dais[DAI_LINK_CODEC_I2S].codecs[0].of_node) { in mt8173_rt5650_rt5676_dev_probe() 271 mt8173_rt5650_rt5676_dais[DAI_LINK_CODEC_I2S].codecs[1].of_node = in mt8173_rt5650_rt5676_dev_probe() 273 if (!mt8173_rt5650_rt5676_dais[DAI_LINK_CODEC_I2S].codecs[1].of_node) { in mt8173_rt5650_rt5676_dev_probe() 280 mt8173_rt5650_rt5676_dais[DAI_LINK_CODEC_I2S].codecs[1].of_node; in mt8173_rt5650_rt5676_dev_probe() 282 mt8173_rt5650_rt5676_dais[DAI_LINK_INTERCODEC].codecs->of_node = in mt8173_rt5650_rt5676_dev_probe() 283 mt8173_rt5650_rt5676_dais[DAI_LINK_CODEC_I2S].codecs[1].of_node; in mt8173_rt5650_rt5676_dev_probe() 285 mt8173_rt5650_rt5676_dais[DAI_LINK_HDMI_I2S].codecs->of_node = in mt8173_rt5650_rt5676_dev_probe() 287 if (!mt8173_rt5650_rt5676_dais[DAI_LINK_HDMI_I2S].codecs->of_node) { in mt8173_rt5650_rt5676_dev_probe()
|
| A D | mt8173-rt5650.c | 287 mt8173_rt5650_dais[DAI_LINK_CODEC_I2S].codecs[0].of_node = in mt8173_rt5650_dev_probe() 289 if (!mt8173_rt5650_dais[DAI_LINK_CODEC_I2S].codecs[0].of_node) { in mt8173_rt5650_dev_probe() 295 mt8173_rt5650_dais[DAI_LINK_CODEC_I2S].codecs[1].of_node = in mt8173_rt5650_dev_probe() 296 mt8173_rt5650_dais[DAI_LINK_CODEC_I2S].codecs[0].of_node; in mt8173_rt5650_dev_probe() 308 mt8173_rt5650_dais[DAI_LINK_CODEC_I2S].codecs[1].dai_name = in mt8173_rt5650_dev_probe() 323 mt8173_rt5650_dais[DAI_LINK_HDMI_I2S].codecs->of_node = in mt8173_rt5650_dev_probe() 325 if (!mt8173_rt5650_dais[DAI_LINK_HDMI_I2S].codecs->of_node) { in mt8173_rt5650_dev_probe()
|
| /sound/soc/intel/boards/ |
| A D | sof_board_helpers.c | 257 link->codecs = dmic_component; in set_dmic_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() 311 if (!codecs->dai_name) in set_idisp_hdmi_link() 314 link->codecs = codecs; in set_idisp_hdmi_link() 316 link->codecs = &snd_soc_dummy_dlc; in set_idisp_hdmi_link() 398 link->codecs = &snd_soc_dummy_dlc; in set_bt_offload_link() 437 link->codecs = &snd_soc_dummy_dlc; in set_hdmi_in_link() 465 link->codecs = hda_analog_codecs; in set_hda_codec_link() [all …]
|
| /sound/soc/rockchip/ |
| A D | rockchip_rt5645.c | 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()
|
| /sound/hda/codecs/realtek/ |
| A D | Kconfig | 46 tristate "Build Realtek ALC269 HD-audio codecs support" if EXPERT 55 tristate "Build Realtek ALC662 HD-audio codecs support" if EXPERT 64 tristate "Build Realtek ALC680 HD-audio codecs support" if EXPERT 72 tristate "Build Realtek ALC861 HD-audio codecs support" if EXPERT 80 tristate "Build Realtek ALC861-VD HD-audio codecs support" if EXPERT 88 tristate "Build Realtek ALC880 HD-audio codecs support" if EXPERT 96 tristate "Build Realtek ALC882 HD-audio codecs support" if EXPERT
|
| /sound/soc/generic/ |
| A D | simple-card.c | 290 snd_soc_of_parse_node_prefix(top, cconf, codecs->of_node, in simple_dai_link_of_dpcm() 292 snd_soc_of_parse_node_prefix(node, cconf, codecs->of_node, in simple_dai_link_of_dpcm() 294 snd_soc_of_parse_node_prefix(np, cconf, codecs->of_node, in simple_dai_link_of_dpcm() 350 "%s-%s", cpus->dai_name, codecs->dai_name); in simple_dai_link_of() 587 li->num[li->link].codecs = 1; in simple_count_noml() 616 li->num[li->link].codecs = 1; in simple_count_dpcm() 679 li->num[0].codecs = 1; in simple_get_dais_count() 756 struct snd_soc_dai_link_component *codecs; in simple_probe() local 781 codecs = dai_link->codecs; in simple_probe() 782 codecs->name = cinfo->codec; in simple_probe() [all …]
|
| /sound/soc/mediatek/mt8195/ |
| A D | mt8195-mt6359.c | 1296 dai_link->codecs->of_node = dp_node; in mt8195_mt6359_legacy_probe() 1297 dai_link->codecs->name = NULL; in mt8195_mt6359_legacy_probe() 1305 dai_link->codecs->of_node = hdmi_node; in mt8195_mt6359_legacy_probe() 1306 dai_link->codecs->name = NULL; in mt8195_mt6359_legacy_probe() 1315 dai_link->codecs->name = NULL; in mt8195_mt6359_legacy_probe() 1316 dai_link->codecs->dai_name = in mt8195_mt6359_legacy_probe() 1326 dai_link->codecs->name = NULL; in mt8195_mt6359_legacy_probe() 1327 dai_link->codecs->dai_name = in mt8195_mt6359_legacy_probe() 1341 dai_link->codecs = rt1011_comps; in mt8195_mt6359_legacy_probe() 1350 dai_link->codecs = rt1019_comps; in mt8195_mt6359_legacy_probe() [all …]
|