Lines Matching refs:dai_link

98 				 struct snd_soc_dai_link *dai_link,  in asoc_simple_set_dailink_name()  argument
112 dai_link->name = name; in asoc_simple_set_dailink_name()
113 dai_link->stream_name = name; in asoc_simple_set_dailink_name()
139 if (!card->name && card->dai_link) in asoc_simple_parse_card_name()
140 card->name = card->dai_link->name; in asoc_simple_parse_card_name()
354 void asoc_simple_canonicalize_platform(struct snd_soc_dai_link *dai_link) in asoc_simple_canonicalize_platform() argument
357 if (!dai_link->platforms->of_node) in asoc_simple_canonicalize_platform()
358 dai_link->platforms->of_node = dai_link->cpus->of_node; in asoc_simple_canonicalize_platform()
364 if (!dai_link->platforms->of_node) in asoc_simple_canonicalize_platform()
365 dai_link->num_platforms = 0; in asoc_simple_canonicalize_platform()
369 void asoc_simple_canonicalize_cpu(struct snd_soc_dai_link *dai_link, in asoc_simple_canonicalize_cpu() argument
382 dai_link->cpus->dai_name = NULL; in asoc_simple_canonicalize_cpu()
388 struct snd_soc_dai_link *dai_link; in asoc_simple_clean_reference() local
391 for_each_card_prelinks(card, i, dai_link) { in asoc_simple_clean_reference()
392 of_node_put(dai_link->cpus->of_node); in asoc_simple_clean_reference()
393 of_node_put(dai_link->codecs->of_node); in asoc_simple_clean_reference()
553 struct snd_soc_dai_link *dai_link; in asoc_simple_init_priv() local
560 dai_link = devm_kcalloc(dev, li->link, sizeof(*dai_link), GFP_KERNEL); in asoc_simple_init_priv()
562 if (!dai_props || !dai_link || !dais) in asoc_simple_init_priv()
582 dai_link[i].cpus = &dai_props[i].cpus; in asoc_simple_init_priv()
583 dai_link[i].num_cpus = 1; in asoc_simple_init_priv()
584 dai_link[i].codecs = &dai_props[i].codecs; in asoc_simple_init_priv()
585 dai_link[i].num_codecs = 1; in asoc_simple_init_priv()
586 dai_link[i].platforms = &dai_props[i].platforms; in asoc_simple_init_priv()
587 dai_link[i].num_platforms = 1; in asoc_simple_init_priv()
591 priv->dai_link = dai_link; in asoc_simple_init_priv()
595 card->dai_link = priv->dai_link; in asoc_simple_init_priv()