Lines Matching refs:lb
108 struct snd_soc_dai_link *lb; in axg_card_add_tdm_loopback() local
117 lb = &card->dai_link[*index + 1]; in axg_card_add_tdm_loopback()
119 lb->name = devm_kasprintf(card->dev, GFP_KERNEL, "%s-lb", pad->name); in axg_card_add_tdm_loopback()
120 if (!lb->name) in axg_card_add_tdm_loopback()
127 lb->cpus = &dlc[0]; in axg_card_add_tdm_loopback()
128 lb->codecs = &dlc[1]; in axg_card_add_tdm_loopback()
129 lb->num_cpus = 1; in axg_card_add_tdm_loopback()
130 lb->num_codecs = 1; in axg_card_add_tdm_loopback()
132 lb->stream_name = lb->name; in axg_card_add_tdm_loopback()
133 lb->cpus->of_node = pad->cpus->of_node; in axg_card_add_tdm_loopback()
134 lb->cpus->dai_name = "TDM Loopback"; in axg_card_add_tdm_loopback()
135 lb->codecs->name = "snd-soc-dummy"; in axg_card_add_tdm_loopback()
136 lb->codecs->dai_name = "snd-soc-dummy-dai"; in axg_card_add_tdm_loopback()
137 lb->dpcm_capture = 1; in axg_card_add_tdm_loopback()
138 lb->no_pcm = 1; in axg_card_add_tdm_loopback()
139 lb->ops = &axg_card_tdm_be_ops; in axg_card_add_tdm_loopback()
140 lb->init = axg_card_tdm_dai_lb_init; in axg_card_add_tdm_loopback()
149 of_node_get(lb->cpus->of_node); in axg_card_add_tdm_loopback()