Lines Matching full:cpus
308 struct snd_soc_dai_link_component *cpus, in create_spk_amp_dai_links() argument
340 links[*id].cpus = &cpus[*id]; in create_spk_amp_dai_links()
343 links[*id].cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, in create_spk_amp_dai_links()
345 if (!links[*id].cpus->dai_name) { in create_spk_amp_dai_links()
358 struct snd_soc_dai_link_component *cpus, in create_hp_codec_dai_links() argument
378 links[*id].cpus = &cpus[*id]; in create_hp_codec_dai_links()
381 links[*id].cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, in create_hp_codec_dai_links()
384 if (!links[*id].cpus->dai_name) in create_hp_codec_dai_links()
397 struct snd_soc_dai_link_component *cpus, in create_dmic_dai_links() argument
408 links[*id].cpus = &cpus[*id]; in create_dmic_dai_links()
409 links[*id].cpus->dai_name = "DMIC01 Pin"; in create_dmic_dai_links()
414 links[*id + 1].cpus = &cpus[*id + 1]; in create_dmic_dai_links()
415 links[*id + 1].cpus->dai_name = "DMIC16k Pin"; in create_dmic_dai_links()
438 struct snd_soc_dai_link_component *cpus, in create_hdmi_dai_links() argument
461 links[*id].cpus = &cpus[*id]; in create_hdmi_dai_links()
463 links[*id].cpus->dai_name = devm_kasprintf(dev, in create_hdmi_dai_links()
467 if (!links[*id].cpus->dai_name) in create_hdmi_dai_links()
497 struct snd_soc_dai_link_component *cpus, in create_bt_offload_dai_links() argument
518 links[*id].cpus = &cpus[*id]; in create_bt_offload_dai_links()
521 links[*id].cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, in create_bt_offload_dai_links()
524 if (!links[*id].cpus->dai_name) in create_bt_offload_dai_links()
542 struct snd_soc_dai_link_component *cpus; in sof_card_dai_links_create() local
548 cpus = devm_kcalloc(dev, sof_audio_card_cs42l42.num_links, in sof_card_dai_links_create()
550 if (!links || !cpus) in sof_card_dai_links_create()
560 ret = create_hp_codec_dai_links(dev, links, cpus, &id, ssp_codec); in sof_card_dai_links_create()
568 ret = create_spk_amp_dai_links(dev, links, cpus, &id, ssp_amp); in sof_card_dai_links_create()
576 ret = create_dmic_dai_links(dev, links, cpus, &id, dmic_be_num); in sof_card_dai_links_create()
584 ret = create_hdmi_dai_links(dev, links, cpus, &id, hdmi_num); in sof_card_dai_links_create()
592 ret = create_bt_offload_dai_links(dev, links, cpus, &id, ssp_bt); in sof_card_dai_links_create()