Lines Matching full:codecs
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()
143 return codecs[i].tplg_suffix; in snd_soc_acpi_intel_get_codec_tplg_suffix()