/linux/sound/aoa/fabrics/ |
H A D | layout.c | 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] = { 321 .codecs[1] = { 328 .codecs[0] = { [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/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"}
|
H 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"},
|
H 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"}
|
H A D | soc-acpi-intel-glk-match.c | 14 .codecs = { "ESSX8316", "ESSX8326", "ESSX8336"}, 19 .codecs = {"MX98357A"} 24 .codecs = {"10EC5682", "RTL5682"},
|
H A D | soc-acpi-intel-byt-match.c | 123 .codecs = { "10EC5640", "10EC5642", "INTCCFFD"}, 128 .codecs = { "10WM5102", "WM510204", "WM510205"}, 133 .codecs = { "DGLS7212", "DGLS7213"}, 138 .codecs = { "10EC5645", "10EC5648"},
|
/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/sound/soc/intel/boards/ |
H A D | sof_board_helpers.c | 257 link->codecs = dmic_component; in set_dmic_link() 277 struct snd_soc_dai_link_component *cpus, *codecs; in set_idisp_hdmi_link() local 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() 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() [all …]
|
/linux/sound/soc/rockchip/ |
H 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()
|
/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() 599 li->num[li->link].codecs = 1; in simple_count_noml() 629 li->num[li->link].codecs = 1; in simple_count_dpcm() 691 li->num[0].codecs = 1; in simple_get_dais_count() [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() 468 li->num[li->link].codecs = 1; in graph_count_noml() 500 li->num[li->link].codecs = 1; in graph_count_dpcm()
|
/linux/sound/soc/amd/acp/ |
H A D | acp-mach-common.c | 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() 1453 links[i].codecs = nau8825; in acp_sofdsp_dai_links_create() 1459 links[i].codecs = rt5682s; in acp_sofdsp_dai_links_create() 1484 links[i].codecs = &snd_soc_dummy_dlc; in acp_sofdsp_dai_links_create() 1488 links[i].codecs = rt1019; in acp_sofdsp_dai_links_create() 1496 links[i].codecs = max98360a; in acp_sofdsp_dai_links_create() [all …]
|
H A D | acp-sdw-sof-mach.c | 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()
|
H A D | acp-sdw-legacy-mach.c | 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()
|
/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 …]
|
/linux/Documentation/devicetree/bindings/sound/ |
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
|
/linux/sound/soc/samsung/ |
H A D | snow.c | 147 link->codecs = links_codecs; in snow_probe() 188 link->codecs->dai_name = "HiFi"; in snow_probe() 197 link->codecs->of_node = of_parse_phandle(dev->of_node, in snow_probe() 199 if (!link->codecs->of_node) { in snow_probe() 227 of_node_put(link->codecs->of_node); in snow_remove()
|
/linux/sound/soc/fsl/ |
H A D | p1022_rdk.c | 242 mdata->dai[0].codecs = &comp[1]; in p1022_rdk_probe() 250 mdata->dai[1].codecs = &comp[4]; in p1022_rdk_probe() 261 mdata->dai[0].codecs->of_node = codec_np; in p1022_rdk_probe() 271 mdata->dai[0].codecs->dai_name = "wm8960-hifi"; in p1022_rdk_probe() 272 mdata->dai[1].codecs->dai_name = mdata->dai[0].codecs->dai_name; in p1022_rdk_probe()
|
H A D | imx-hdmi.c | 138 data->dai.codecs = &dlc[2]; in imx_hdmi_probe() 174 data->dai.codecs->dai_name = "i2s-hifi"; in imx_hdmi_probe() 175 data->dai.codecs->name = "hdmi-audio-codec.1"; in imx_hdmi_probe() 184 data->dai.codecs->dai_name = "i2s-hifi"; in imx_hdmi_probe() 185 data->dai.codecs->name = "hdmi-audio-codec.2"; in imx_hdmi_probe()
|
/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
|
/linux/sound/soc/kirkwood/ |
H A D | armada-370-db.c | 116 a370db_dai[0].codecs->of_node = in a370db_probe() 123 a370db_dai[1].codecs->of_node = in a370db_probe() 130 a370db_dai[2].codecs->of_node = in a370db_probe()
|
/linux/include/sound/ |
H A D | simple_card_utils.h | 53 int codecs; member 85 #define simple_props_to_dlc_codec(props, i) ((props)->codecs + i) 99 ((i) < (props)->num.codecs) && \ 109 ((i) < (props)->num.codecs) && \ 121 ((i) < (props)->num.codecs) && \
|