Lines Matching refs:dai_link

52 	links = krealloc(priv->card.dai_link,  in axg_card_reallocate_links()
53 num_links * sizeof(*priv->card.dai_link), in axg_card_reallocate_links()
64 priv->card.dai_link = links; in axg_card_reallocate_links()
117 if (card->dai_link) { in axg_card_clean_references()
131 kfree(card->dai_link); in axg_card_clean_references()
257 struct snd_soc_dai_link *pad = &card->dai_link[*index]; in axg_card_add_tdm_loopback()
267 lb = &card->dai_link[*index + 1]; in axg_card_add_tdm_loopback()
428 struct snd_soc_dai_link *link = &card->dai_link[*index]; in axg_card_parse_tdm()
561 struct snd_soc_dai_link *dai_link = &card->dai_link[*index]; in axg_card_add_link() local
569 dai_link->cpus = cpu; in axg_card_add_link()
570 dai_link->num_cpus = 1; in axg_card_add_link()
572 ret = axg_card_parse_dai(card, np, &dai_link->cpus->of_node, in axg_card_add_link()
573 &dai_link->cpus->dai_name); in axg_card_add_link()
577 if (axg_card_cpu_is_playback_fe(dai_link->cpus->of_node)) in axg_card_add_link()
578 ret = axg_card_set_fe_link(card, dai_link, np, true); in axg_card_add_link()
579 else if (axg_card_cpu_is_capture_fe(dai_link->cpus->of_node)) in axg_card_add_link()
580 ret = axg_card_set_fe_link(card, dai_link, np, false); in axg_card_add_link()
582 ret = axg_card_set_be_link(card, dai_link, np); in axg_card_add_link()
587 if (axg_card_cpu_is_tdm_iface(dai_link->cpus->of_node)) in axg_card_add_link()
589 else if (axg_card_cpu_is_codec(dai_link->cpus->of_node)) in axg_card_add_link()
590 dai_link->params = &codec_params; in axg_card_add_link()