Lines Matching refs:num_codecs
110 return rtd->num_codecs ? attr->mode : 0; /* enabled only with codec */ in soc_dev_attr_is_visible()
451 dai_link->num_codecs + in soc_new_pcm_runtime()
471 rtd->dais = devm_kcalloc(dev, dai_link->num_cpus + dai_link->num_codecs, in soc_new_pcm_runtime()
486 rtd->num_codecs = dai_link->num_codecs; in soc_new_pcm_runtime()
3301 int index, num_codecs, ret; in snd_soc_of_get_dai_link_codecs() local
3305 num_codecs = of_count_phandle_with_args(of_node, name, in snd_soc_of_get_dai_link_codecs()
3307 if (num_codecs <= 0) { in snd_soc_of_get_dai_link_codecs()
3308 if (num_codecs == -ENOENT) in snd_soc_of_get_dai_link_codecs()
3312 return num_codecs; in snd_soc_of_get_dai_link_codecs()
3315 num_codecs, sizeof(*component), in snd_soc_of_get_dai_link_codecs()
3320 dai_link->num_codecs = num_codecs; in snd_soc_of_get_dai_link_codecs()
3338 dai_link->num_codecs = 0; in snd_soc_of_get_dai_link_codecs()