Lines Matching refs:dlc
1137 struct snd_soc_dai_link_component *dlc; in asoc_sdw_init_simple_dai_link() local
1140 dlc = devm_kcalloc(dev, 3, sizeof(*dlc), GFP_KERNEL); in asoc_sdw_init_simple_dai_link()
1141 if (!dlc || !name || !cpu_dai_name || !platform_comp_name || !codec_name || !codec_dai_name) in asoc_sdw_init_simple_dai_link()
1144 dlc[0].dai_name = cpu_dai_name; in asoc_sdw_init_simple_dai_link()
1145 dlc[1].name = platform_comp_name; in asoc_sdw_init_simple_dai_link()
1147 dlc[2].name = codec_name; in asoc_sdw_init_simple_dai_link()
1148 dlc[2].dai_name = codec_dai_name; in asoc_sdw_init_simple_dai_link()
1151 &dlc[0], 1, &dlc[1], 1, &dlc[2], 1, in asoc_sdw_init_simple_dai_link()
1238 struct snd_soc_dai_link_component *dlc; in is_sdca_endpoint_present() local
1245 dlc = kzalloc(sizeof(*dlc), GFP_KERNEL); in is_sdca_endpoint_present()
1246 if (!dlc) in is_sdca_endpoint_present()
1252 dlc->dai_name = dai_info->dai_name; in is_sdca_endpoint_present()
1253 codec_dai = snd_soc_find_dai_with_mutex(dlc); in is_sdca_endpoint_present()
1255 dev_warn(dev, "codec dai %s not registered yet\n", dlc->dai_name); in is_sdca_endpoint_present()
1256 kfree(dlc); in is_sdca_endpoint_present()
1259 kfree(dlc); in is_sdca_endpoint_present()