Home
last modified time | relevance | path

Searched refs:links (Results 1 – 17 of 17) sorted by relevance

/sound/soc/intel/boards/
Dsof_cs42l42.c282 struct snd_soc_dai_link *links, in create_spk_amp_dai_links() argument
292 links[*id].name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", in create_spk_amp_dai_links()
294 if (!links[*id].name) { in create_spk_amp_dai_links()
299 links[*id].id = *id; in create_spk_amp_dai_links()
302 max_98357a_dai_link(&links[*id]); in create_spk_amp_dai_links()
304 max_98360a_dai_link(&links[*id]); in create_spk_amp_dai_links()
311 links[*id].platforms = platform_component; in create_spk_amp_dai_links()
312 links[*id].num_platforms = ARRAY_SIZE(platform_component); in create_spk_amp_dai_links()
313 links[*id].dpcm_playback = 1; in create_spk_amp_dai_links()
315 links[*id].dpcm_capture = 1; in create_spk_amp_dai_links()
[all …]
Dsof_pcm512x.c226 struct snd_soc_dai_link *links; in sof_card_dai_links_create() local
229 links = devm_kcalloc(dev, sof_audio_card_pcm512x.num_links, in sof_card_dai_links_create()
233 if (!links || !cpus) in sof_card_dai_links_create()
237 links[id].name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create()
239 if (!links[id].name) in sof_card_dai_links_create()
242 links[id].id = id; in sof_card_dai_links_create()
243 links[id].codecs = pcm512x_component; in sof_card_dai_links_create()
244 links[id].num_codecs = ARRAY_SIZE(pcm512x_component); in sof_card_dai_links_create()
245 links[id].platforms = platform_component; in sof_card_dai_links_create()
246 links[id].num_platforms = ARRAY_SIZE(platform_component); in sof_card_dai_links_create()
[all …]
Dsof_rt5682.c596 struct snd_soc_dai_link *links; in sof_card_dai_links_create() local
599 links = devm_kzalloc(dev, sizeof(struct snd_soc_dai_link) * in sof_card_dai_links_create()
603 if (!links || !cpus) in sof_card_dai_links_create()
607 links[id].name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create()
609 if (!links[id].name) in sof_card_dai_links_create()
612 links[id].id = id; in sof_card_dai_links_create()
613 links[id].codecs = rt5682_component; in sof_card_dai_links_create()
614 links[id].num_codecs = ARRAY_SIZE(rt5682_component); in sof_card_dai_links_create()
615 links[id].platforms = platform_component; in sof_card_dai_links_create()
616 links[id].num_platforms = ARRAY_SIZE(platform_component); in sof_card_dai_links_create()
[all …]
Dsof_sdw.c557 static int get_sdw_dailink_info(const struct snd_soc_acpi_link_adr *links, in get_sdw_dailink_info() argument
569 if (!links) in get_sdw_dailink_info()
575 for (link = links; link->num_adr; link++) { in get_sdw_dailink_info()
989 static inline int get_next_be_id(struct snd_soc_dai_link *links, in get_next_be_id() argument
992 return links[be_id - 1].id + 1; in get_next_be_id()
1007 adr_link = mach_params->links; in sof_card_codec_conf_alloc()
1050 struct snd_soc_dai_link *links; in sof_card_dai_links_create() local
1087 ret = get_sdw_dailink_info(mach_params->links, in sof_card_dai_links_create()
1109 links = devm_kcalloc(dev, num_links, sizeof(*links), GFP_KERNEL); in sof_card_dai_links_create()
1116 if (!links || !cpus) in sof_card_dai_links_create()
[all …]
/sound/soc/sof/
Dnocodec.c24 struct snd_soc_dai_link *links, in sof_nocodec_bes_setup() argument
30 if (!drv || !links || !card) in sof_nocodec_bes_setup()
39 links[i].name = devm_kasprintf(dev, GFP_KERNEL, in sof_nocodec_bes_setup()
41 if (!links[i].name) in sof_nocodec_bes_setup()
44 links[i].stream_name = links[i].name; in sof_nocodec_bes_setup()
46 links[i].cpus = &dlc[0]; in sof_nocodec_bes_setup()
47 links[i].codecs = &dlc[1]; in sof_nocodec_bes_setup()
48 links[i].platforms = &dlc[2]; in sof_nocodec_bes_setup()
50 links[i].num_cpus = 1; in sof_nocodec_bes_setup()
51 links[i].num_codecs = 1; in sof_nocodec_bes_setup()
[all …]
/sound/soc/intel/common/
Dsoc-acpi-intel-tgl-match.c395 .links = sdw_mockup_headset_2amps_mic,
402 .links = sdw_mockup_headset_1amp_mic,
409 .links = sdw_mockup_mic_headset_1amp,
416 .links = tgl_sdw_rt711_link1_rt1308_link2_rt715_link0,
422 .links = tgl_3_in_1_default,
433 .links = tgl_3_in_1_mono_amp,
439 .links = tgl_3_in_1_sdca,
451 .links = tgl_3_in_1_sdca_mono,
458 .links = tgl_hp,
464 .links = tgl_rvp,
[all …]
Dsoc-acpi-intel-adl-match.c308 .links = adl_default,
314 .links = adl_sdca_default,
320 .links = adl_sdca_3_in_1,
326 .links = adl_sdw_rt1316_link2_rt714_link0,
332 .links = adl_rvp,
338 .links = adl_chromebook_base,
Dsoc-acpi-intel-cnl-match.c59 .links = up_extreme_rt5682_2,
66 .links = sdw_mockup_headset_2amps_mic,
73 .links = sdw_mockup_headset_1amp_mic,
Dsoc-acpi-intel-cml-match.c278 .links = cml_3_in_1_default,
285 .links = cml_3_in_1_sdca,
297 .links = cml_3_in_1_mono_amp,
304 .links = cml_rvp,
Dsoc-acpi-intel-icl-match.c166 .links = icl_3_in_1_default,
173 .links = icl_3_in_1_mono_amp,
180 .links = icl_rvp,
/sound/soc/amd/
Dacp3x-rt5682-max9836.c471 static void card_spk_dai_link_present(struct snd_soc_dai_link *links, in card_spk_dai_link_present() argument
475 links[1].codecs = rt1015; in card_spk_dai_link_present()
476 links[1].num_codecs = ARRAY_SIZE(rt1015); in card_spk_dai_link_present()
478 links[1].codecs = rt1015p; in card_spk_dai_link_present()
479 links[1].num_codecs = ARRAY_SIZE(rt1015p); in card_spk_dai_link_present()
481 links[1].codecs = max; in card_spk_dai_link_present()
482 links[1].num_codecs = ARRAY_SIZE(max); in card_spk_dai_link_present()
/sound/soc/meson/
Dmeson-card-utils.c46 struct snd_soc_dai_link *links; in meson_card_reallocate_links() local
49 links = krealloc(priv->card.dai_link, in meson_card_reallocate_links()
52 if (!links) in meson_card_reallocate_links()
61 priv->card.dai_link = links; in meson_card_reallocate_links()
67 kfree(links); in meson_card_reallocate_links()
/sound/soc/sof/intel/
Dhda.c1197 if (!mach->links) in hda_sdw_machine_select()
1200 link = mach->links; in hda_sdw_machine_select()
1218 mach->mach_params.links = mach->links; in hda_sdw_machine_select()
1297 mach->mach_params.links = mach->links; in hda_machine_select()
DKconfig230 This adds support for HDA links(HDA/HDMI) with Sound Open Firmware
232 Say Y if you want to enable HDA links with SOF.
284 Say Y if you want to enable SoundWire links with SOF.
/sound/pci/cs46xx/
Dcs46xx_dsp_task_types.h230 struct dsp_tree_link links; member
Ddsp_spos.c1190 fg_task_tree_hdr.links.entry_point = fg_task_tree_header_code->address; in cs46xx_dsp_scb_and_task_init()
1266 bg_task_tree_hdr.links.entry_point = task_tree_header_code->address; in cs46xx_dsp_scb_and_task_init()
/sound/soc/samsung/
Dsnow.c17 SND_SOC_DAILINK_DEFS(links,