Home
last modified time | relevance | path

Searched refs:mach_params (Results 1 – 25 of 55) sorted by relevance

123

/sound/soc/intel/avs/
Dboard_selection.c71 .mach_params = {
79 .mach_params = {
87 .mach_params = {
95 .mach_params = {
107 .mach_params = {
117 .mach_params = {
127 .mach_params = {
135 .mach_params = {
147 .mach_params = {
155 .mach_params = {
[all …]
Dtopology.c384 if (hweight_long(mach->mach_params.i2s_link_mask) != 1) in parse_link_formatted_string()
388 __ffs(mach->mach_params.i2s_link_mask)); in parse_link_formatted_string()
831 if (hweight_long(mach->mach_params.i2s_link_mask) == 1 && !cfg->copier.vindex.i2s.instance) in assign_copier_gtw_instance()
832 cfg->copier.vindex.i2s.instance = __ffs(mach->mach_params.i2s_link_mask); in assign_copier_gtw_instance()
1380 if (hweight_long(mach->mach_params.i2s_link_mask) == 1) { in avs_route_load()
1381 port = __ffs(mach->mach_params.i2s_link_mask); in avs_route_load()
1412 if (hweight_long(mach->mach_params.i2s_link_mask) == 1) { in avs_widget_load()
1415 w->name = kasprintf(GFP_KERNEL, dw->name, __ffs(mach->mach_params.i2s_link_mask)); in avs_widget_load()
/sound/soc/intel/boards/
Dskl_hda_dsp_generic.c121 static int skl_hda_fill_card_info(struct snd_soc_acpi_mach_params *mach_params) in skl_hda_fill_card_info() argument
129 codec_mask = mach_params->codec_mask; in skl_hda_fill_card_info()
174 dai_link->platforms->name = mach_params->platform; in skl_hda_fill_card_info()
222 ret = skl_hda_fill_card_info(&mach->mach_params); in skl_hda_audio_probe()
230 ctx->platform_name = mach->mach_params.platform; in skl_hda_audio_probe()
231 ctx->common_hdmi_codec_drv = mach->mach_params.common_hdmi_codec_drv; in skl_hda_audio_probe()
235 if (mach->mach_params.dmic_num > 0) { in skl_hda_audio_probe()
237 "cfg-dmics:%d", mach->mach_params.dmic_num); in skl_hda_audio_probe()
Dsof_sdw.c1153 struct snd_soc_acpi_mach_params *mach_params, in sof_card_codec_conf_alloc() argument
1162 adr_link = mach_params->links; in sof_card_codec_conf_alloc()
1196 struct snd_soc_acpi_mach_params *mach_params; in sof_card_dai_links_create() local
1215 mach_params = &mach->mach_params; in sof_card_dai_links_create()
1218 ret = sof_card_codec_conf_alloc(dev, mach_params, &codec_conf, &codec_conf_count); in sof_card_dai_links_create()
1226 if (mach_params->codec_mask & IDISP_CODEC_MASK) { in sof_card_dai_links_create()
1246 ret = get_sdw_dailink_info(dev, mach_params->links, in sof_card_dai_links_create()
1254 dmic_num = (sof_sdw_quirk & SOF_SDW_PCH_DMIC || mach_params->dmic_num) ? 2 : 0; in sof_card_dai_links_create()
1279 adr_link = mach_params->links; in sof_card_dai_links_create()
1579 if (mach->mach_params.dmic_num) { in mc_probe()
[all …]
Dehl_rt5660.c260 if (mach->mach_params.common_hdmi_codec_drv && in hdmi_link_init()
261 (mach->mach_params.codec_mask & IDISP_CODEC_MASK)) { in hdmi_link_init()
294 mach->mach_params.platform); in snd_ehl_rt5660_probe()
Dsof_es8336.c632 if (!mach->mach_params.i2s_link_mask) { in sof_es8336_probe()
645 ssp = fls(mach->mach_params.i2s_link_mask) - 1; in sof_es8336_probe()
651 if (mach->mach_params.dmic_num) in sof_es8336_probe()
701 mach->mach_params.platform); in sof_es8336_probe()
762 if (mach->mach_params.dmic_num > 0) { in sof_es8336_probe()
764 "cfg-dmics:%d", mach->mach_params.dmic_num); in sof_es8336_probe()
Dsof_ssp_amp.c400 if (dmi_check_system(chromebook_platforms) || mach->mach_params.dmic_num > 0) in sof_ssp_amp_probe()
419 if (mach->mach_params.codec_mask & IDISP_CODEC_MASK) in sof_ssp_amp_probe()
445 mach->mach_params.platform); in sof_ssp_amp_probe()
449 ctx->common_hdmi_codec_drv = mach->mach_params.common_hdmi_codec_drv; in sof_ssp_amp_probe()
Dsof_pcm512x.c375 if (mach->mach_params.common_hdmi_codec_drv && in sof_audio_probe()
376 (mach->mach_params.codec_mask & IDISP_CODEC_MASK)) in sof_audio_probe()
409 mach->mach_params.platform); in sof_audio_probe()
Dsof_da7219_max98373.c261 if (mach->mach_params.common_hdmi_codec_drv) { in card_late_probe()
436 mach->mach_params.platform); in audio_probe()
/sound/soc/sof/intel/
Dhda.c233 if (pdata->machine && !pdata->machine->mach_params.link_mask) in hda_sdw_startup()
1254 struct snd_soc_acpi_mach_params *mach_params; in hda_generic_machine_select() local
1309 hda_mach->mach_params.dmic_num = dmic_num; in hda_generic_machine_select()
1318 hda_mach->mach_params.link_mask = 0; in hda_generic_machine_select()
1327 hda_mach->mach_params.link_mask = hdev->info.link_mask; in hda_generic_machine_select()
1336 mach_params = &(*mach)->mach_params; in hda_generic_machine_select()
1337 mach_params->codec_mask = bus->codec_mask; in hda_generic_machine_select()
1338 mach_params->common_hdmi_codec_drv = hda_codec_use_common_hdmi; in hda_generic_machine_select()
1482 mach->mach_params.links = mach->links; in hda_sdw_machine_select()
1483 mach->mach_params.link_mask = mach->link_mask; in hda_sdw_machine_select()
[all …]
Datom.c329 mach->mach_params.acpi_ipc_irq_index = desc->irqindex_host_ipc; in atom_machine_select()
411 struct snd_soc_acpi_mach_params *mach_params; in atom_set_mach_params() local
413 mach_params = &mach->mach_params; in atom_set_mach_params()
414 mach_params->platform = dev_name(sdev->dev); in atom_set_mach_params()
415 mach_params->num_dai_drivers = desc->ops->num_drv; in atom_set_mach_params()
416 mach_params->dai_drivers = desc->ops->drv; in atom_set_mach_params()
Dbdw.c525 mach->mach_params.acpi_ipc_irq_index = desc->irqindex_host_ipc; in bdw_machine_select()
535 struct snd_soc_acpi_mach_params *mach_params; in bdw_set_mach_params() local
537 mach_params = &mach->mach_params; in bdw_set_mach_params()
538 mach_params->platform = dev_name(sdev->dev); in bdw_set_mach_params()
539 mach_params->num_dai_drivers = desc->ops->num_drv; in bdw_set_mach_params()
540 mach_params->dai_drivers = desc->ops->drv; in bdw_set_mach_params()
/sound/soc/sof/
Dnocodec.c98 ret = sof_nocodec_setup(card->dev, mach->mach_params.num_dai_drivers, in sof_nocodec_probe()
99 mach->mach_params.dai_drivers); in sof_nocodec_probe()
/sound/soc/intel/avs/boards/
Di2s_test.c123 pname = mach->mach_params.platform; in avs_i2s_test_probe()
124 ssp_port = __ffs(mach->mach_params.i2s_link_mask); in avs_i2s_test_probe()
Dmax98357a.c126 pname = mach->mach_params.platform; in avs_max98357a_probe()
127 ssp_port = __ffs(mach->mach_params.i2s_link_mask); in avs_max98357a_probe()
Dssm4567.c187 pname = mach->mach_params.platform; in avs_ssm4567_probe()
188 ssp_port = __ffs(mach->mach_params.i2s_link_mask); in avs_ssm4567_probe()
Dmax98373.c187 pname = mach->mach_params.platform; in avs_max98373_probe()
188 ssp_port = __ffs(mach->mach_params.i2s_link_mask); in avs_max98373_probe()
Ddmic.c75 ret = snd_soc_fixup_dai_links_platform_name(card, mach->mach_params.platform); in avs_dmic_probe()
Drt298.c246 pname = mach->mach_params.platform; in avs_rt298_probe()
247 ssp_port = __ffs(mach->mach_params.i2s_link_mask); in avs_rt298_probe()
Drt286.c226 pname = mach->mach_params.platform; in avs_rt286_probe()
227 ssp_port = __ffs(mach->mach_params.i2s_link_mask); in avs_rt286_probe()
Drt274.c255 pname = mach->mach_params.platform; in avs_rt274_probe()
256 ssp_port = __ffs(mach->mach_params.i2s_link_mask); in avs_rt274_probe()
Drt5682.c284 pname = mach->mach_params.platform; in avs_rt5682_probe()
285 ssp_port = __ffs(mach->mach_params.i2s_link_mask); in avs_rt5682_probe()
Dda7219.c247 pname = mach->mach_params.platform; in avs_da7219_probe()
248 ssp_port = __ffs(mach->mach_params.i2s_link_mask); in avs_da7219_probe()
Dnau8825.c298 pname = mach->mach_params.platform; in avs_nau8825_probe()
299 ssp_port = __ffs(mach->mach_params.i2s_link_mask); in avs_nau8825_probe()
Dhdaudio.c193 ret = avs_create_dai_links(card->dev, codec, pcm_count, mach->mach_params.platform, &links); in avs_probing_link_init()
264 binder->platforms->name = mach->mach_params.platform; in avs_hdaudio_probe()

123