Lines Matching refs:link_index
944 struct device *dev, int *link_index, in create_sdw_dailink() argument
1064 if (*link_index >= sdw_be_num) { in create_sdw_dailink()
1065 dev_err(dev, "invalid dai link index %d", *link_index); in create_sdw_dailink()
1076 init_dai_link(dev, dai_links + *link_index, (*link_id)++, name, in create_sdw_dailink()
1086 dai_links[*link_index].nonatomic = true; in create_sdw_dailink()
1088 ret = set_codec_init_func(card, link, dai_links + (*link_index)++, in create_sdw_dailink()
1158 int num_links, link_index = 0; in sof_card_dai_links_create() local
1259 ret = create_sdw_dailink(card, dev, &link_index, links, sdw_be_num, in sof_card_dai_links_create()
1266 dev_err(dev, "failed to create dai link %d", link_index); in sof_card_dai_links_create()
1310 init_dai_link(dev, links + link_index, be_id, name, in sof_card_dai_links_create()
1316 ret = info->init(card, NULL, links + link_index, info, 0); in sof_card_dai_links_create()
1320 INC_ID(be_id, cpu_id, link_index); in sof_card_dai_links_create()
1331 init_dai_link(dev, links + link_index, be_id, "dmic01", in sof_card_dai_links_create()
1336 INC_ID(be_id, cpu_id, link_index); in sof_card_dai_links_create()
1339 init_dai_link(dev, links + link_index, be_id, "dmic16k", in sof_card_dai_links_create()
1345 INC_ID(be_id, cpu_id, link_index); in sof_card_dai_links_create()
1383 init_dai_link(dev, links + link_index, be_id, name, in sof_card_dai_links_create()
1388 INC_ID(be_id, cpu_id, link_index); in sof_card_dai_links_create()
1412 init_dai_link(dev, links + link_index, be_id, name, 1, 1, in sof_card_dai_links_create()