Lines Matching refs:link
117 struct snd_soc_dai_link *link; in apq8016_sbc_parse_of() local
151 link = data->dai_link; in apq8016_sbc_parse_of()
158 link->cpus = &dlc[0]; in apq8016_sbc_parse_of()
159 link->platforms = &dlc[1]; in apq8016_sbc_parse_of()
161 link->num_cpus = 1; in apq8016_sbc_parse_of()
162 link->num_platforms = 1; in apq8016_sbc_parse_of()
173 link->cpus->of_node = of_parse_phandle(cpu, "sound-dai", 0); in apq8016_sbc_parse_of()
174 if (!link->cpus->of_node) { in apq8016_sbc_parse_of()
180 ret = snd_soc_of_get_dai_name(cpu, &link->cpus->dai_name); in apq8016_sbc_parse_of()
186 ret = snd_soc_of_get_dai_link_codecs(dev, codec, link); in apq8016_sbc_parse_of()
193 link->platforms->of_node = link->cpus->of_node; in apq8016_sbc_parse_of()
194 ret = of_property_read_string(np, "link-name", &link->name); in apq8016_sbc_parse_of()
200 link->stream_name = link->name; in apq8016_sbc_parse_of()
201 link->init = apq8016_sbc_dai_init; in apq8016_sbc_parse_of()
202 link++; in apq8016_sbc_parse_of()