Home
last modified time | relevance | path

Searched refs:codecs (Results 1 – 25 of 292) sorted by relevance

12345678910>>...12

/linux-6.15/sound/aoa/fabrics/
H A Dlayout.c276 .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 …]
/linux-6.15/drivers/media/platform/qcom/venus/
H A Dhfi_parser.c43 u32 codecs, u32 domain, func cb, void *data, in for_each_codec() argument
53 if (cap->codec & codecs && cap->domain == domain) in for_each_codec()
204 struct hfi_codec_supported *codecs = data; in parse_codecs() local
206 core->dec_codecs = codecs->dec_codecs; in parse_codecs()
207 core->enc_codecs = codecs->enc_codecs; in parse_codecs()
215 return sizeof(*codecs); in parse_codecs()
231 *codecs = mask->codecs; in parse_codecs_mask()
242 *codecs = inst->hfi_codec; in parser_init()
260 if (cap->codec & codecs && cap->domain == dom) in parser_fini()
315 parser_init(inst, &codecs, &domain); in hfi_parser()
[all …]
/linux-6.15/sound/soc/intel/common/
H A Dsoc-acpi-intel-ssp-common.c27 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 Dsoc-acpi-intel-jsl-match.c14 .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 Dsoc-acpi-intel-kbl-match.c14 .codecs = {"10508825"}
19 .codecs = {"10EC5663"}
24 .codecs = {"10EC5663", "10EC5514"}
29 .codecs = {"MX98357A"}
34 .codecs = {"MX98927"}
39 .codecs = {"MX98373"}
H A Dsoc-acpi-intel-glk-match.c14 .codecs = { "ESSX8316", "ESSX8326", "ESSX8336"},
19 .codecs = {"MX98357A"}
24 .codecs = {"10EC5682", "RTL5682"},
H A Dsoc-acpi-intel-cht-match.c112 .codecs = { "10EC5640", "10EC3276" },
117 .codecs = { "10EC5670", "10EC5672" },
122 .codecs = { "10EC5645", "10EC5650", "10EC3270" },
127 .codecs = { "DGLS7212", "DGLS7213"},
H A Dsoc-acpi-intel-cml-match.c14 .codecs = { "ESSX8316", "ESSX8326", "ESSX8336"},
19 .codecs = {"10EC1011"}
24 .codecs = {"10EC1015"}
29 .codecs = {"MX98357A"}
34 .codecs = {"MX98390"}
H A Dsoc-acpi-intel-byt-match.c123 .codecs = { "10EC5640", "10EC5642", "INTCCFFD"},
128 .codecs = { "10WM5102", "WM510204", "WM510205"},
133 .codecs = { "DGLS7212", "DGLS7213"},
138 .codecs = { "10EC5645", "10EC5648"},
/linux-6.15/sound/soc/intel/avs/boards/
H A Dssm4567.c100 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()
H A Dhdaudio.c46 dl[i].codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_links()
48 if (!dl[i].codecs || !dl[i].cpus) in avs_create_dai_links()
55 dl[i].codecs->name = devm_kstrdup_const(dev, cname, GFP_KERNEL); in avs_create_dai_links()
56 if (!dl[i].codecs->name) in avs_create_dai_links()
59 dl[i].codecs->dai_name = pcm->name; in avs_create_dai_links()
186 binder->codecs = devm_kzalloc(dev, sizeof(*binder->codecs), GFP_KERNEL); in avs_hdaudio_probe()
187 if (!binder->platforms || !binder->codecs) in avs_hdaudio_probe()
190 binder->codecs->name = devm_kstrdup_const(dev, dev_name(&codec->core.dev), GFP_KERNEL); in avs_hdaudio_probe()
191 if (!binder->codecs->name) in avs_hdaudio_probe()
196 binder->codecs->dai_name = "codec-probing-DAI"; in avs_hdaudio_probe()
[all …]
H A Dmax98927.c111 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()
H A Dmax98373.c114 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()
H A Dmax98357a.c65 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()
H A Drt5514.c103 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()
H A Drt286.c134 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()
H A Drt5663.c153 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()
H A Drt298.c151 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()
H A Drt274.c166 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link()
167 if (!dl->name || !dl->cpus || !dl->codecs) in avs_create_dai_link()
172 dl->codecs->name = devm_kasprintf(dev, GFP_KERNEL, "i2c-INT34C2:00"); in avs_create_dai_link()
173 dl->codecs->dai_name = devm_kasprintf(dev, GFP_KERNEL, RT274_CODEC_DAI); in avs_create_dai_link()
174 if (!dl->cpus->dai_name || !dl->codecs->name || !dl->codecs->dai_name) in avs_create_dai_link()
/linux-6.15/sound/soc/mediatek/
H A DKconfig12 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.
115 with the RT5650 and RT5514 codecs.
127 with the RT5650 and RT5676 codecs.
[all …]
/linux-6.15/sound/soc/mediatek/mt8173/
H A Dmt8173-rt5650-rt5676.c263 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()
H A Dmt8173-rt5650.c287 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()
/linux-6.15/sound/soc/rockchip/
H A Drockchip_rt5645.c174 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()
/linux-6.15/sound/soc/intel/boards/
H A Dsof_board_helpers.c257 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 …]
/linux-6.15/sound/soc/generic/
H A Dsimple-card.c290 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 …]

12345678910>>...12