Lines Matching refs:i
26 int i; in sof_nocodec_bes_setup() local
32 for (i = 0; i < link_num; i++) { in sof_nocodec_bes_setup()
37 links[i].name = devm_kasprintf(dev, GFP_KERNEL, in sof_nocodec_bes_setup()
38 "NoCodec-%d", i); in sof_nocodec_bes_setup()
39 if (!links[i].name) in sof_nocodec_bes_setup()
42 links[i].cpus = &dlc[0]; in sof_nocodec_bes_setup()
43 links[i].codecs = &dlc[1]; in sof_nocodec_bes_setup()
44 links[i].platforms = &dlc[2]; in sof_nocodec_bes_setup()
46 links[i].num_cpus = 1; in sof_nocodec_bes_setup()
47 links[i].num_codecs = 1; in sof_nocodec_bes_setup()
48 links[i].num_platforms = 1; in sof_nocodec_bes_setup()
50 links[i].id = i; in sof_nocodec_bes_setup()
51 links[i].no_pcm = 1; in sof_nocodec_bes_setup()
52 links[i].cpus->dai_name = ops->drv[i].name; in sof_nocodec_bes_setup()
53 links[i].platforms->name = dev_name(dev); in sof_nocodec_bes_setup()
54 links[i].codecs->dai_name = "snd-soc-dummy-dai"; in sof_nocodec_bes_setup()
55 links[i].codecs->name = "snd-soc-dummy"; in sof_nocodec_bes_setup()
56 if (ops->drv[i].playback.channels_min) in sof_nocodec_bes_setup()
57 links[i].dpcm_playback = 1; in sof_nocodec_bes_setup()
58 if (ops->drv[i].capture.channels_min) in sof_nocodec_bes_setup()
59 links[i].dpcm_capture = 1; in sof_nocodec_bes_setup()