Searched refs:dai_tpl (Results 1 – 1 of 1) sorted by relevance
1912 struct snd_tplg_dai_template *dai_tpl = t->dai; in tplg_add_dai_object() local1918 tplg_dbg("DAI %s", dai_tpl->dai_name); in tplg_add_dai_object()1920 elem = tplg_elem_new_common(tplg, NULL, dai_tpl->dai_name, in tplg_add_dai_object()1928 snd_strlcpy(dai->dai_name, dai_tpl->dai_name, in tplg_add_dai_object()1930 dai->dai_id = dai_tpl->dai_id; in tplg_add_dai_object()1933 dai->playback = dai_tpl->playback; in tplg_add_dai_object()1934 dai->capture = dai_tpl->capture; in tplg_add_dai_object()1937 if (!dai_tpl->caps[i] || !dai_tpl->caps[i]->name) in tplg_add_dai_object()1939 ret = tplg_add_stream_caps(tplg, dai_tpl->caps[i]); in tplg_add_dai_object()1942 snd_strlcpy(dai->caps[i].name, dai_tpl->caps[i]->name, in tplg_add_dai_object()[all …]