Lines Matching full:links
383 static int get_sdw_dailink_info(const struct snd_soc_acpi_link_adr *links, in get_sdw_dailink_info() argument
395 if (!links) in get_sdw_dailink_info()
401 for (link = links; link->num_adr; link++) { in get_sdw_dailink_info()
606 * multiple links with multiple slaves with aggregated = 1
701 /* generate codec name on different links in the same group */ in create_sdw_dailink()
805 static inline int get_next_be_id(struct snd_soc_dai_link *links, in get_next_be_id() argument
808 return links[be_id - 1].id + 1; in get_next_be_id()
823 adr_link = mach_params->links; in sof_card_codec_conf_alloc()
827 /* generate DAI links by each sdw link */ in sof_card_codec_conf_alloc()
865 struct snd_soc_dai_link *links; in sof_card_dai_links_create() local
902 ret = get_sdw_dailink_info(mach_params->links, in sof_card_dai_links_create()
921 links = devm_kcalloc(dev, num_links, sizeof(*links), GFP_KERNEL); in sof_card_dai_links_create()
928 if (!links || !cpus) in sof_card_dai_links_create()
935 adr_link = mach_params->links; in sof_card_dai_links_create()
941 * located on different hardware links. Clear array to indicate in sof_card_dai_links_create()
947 /* generate DAI links by each sdw link */ in sof_card_dai_links_create()
963 ret = create_sdw_dailink(dev, &be_id, links, sdw_be_num, in sof_card_dai_links_create()
978 be_id = get_next_be_id(links, be_id); in sof_card_dai_links_create()
1019 init_dai_link(links + link_id, be_id, name, in sof_card_dai_links_create()
1025 ret = info->init(NULL, links + link_id, info, 0); in sof_card_dai_links_create()
1036 init_dai_link(links + link_id, be_id, "dmic01", in sof_card_dai_links_create()
1044 init_dai_link(links + link_id, be_id, "dmic16k", in sof_card_dai_links_create()
1087 init_dai_link(links + link_id, be_id, name, in sof_card_dai_links_create()
1095 card->dai_link = links; in sof_card_dai_links_create()