Lines Matching refs:mach
1270 struct snd_soc_acpi_mach *mach; in hda_sdw_machine_select() local
1285 for (mach = pdata->desc->alt_machines; in hda_sdw_machine_select()
1286 mach && mach->link_mask; mach++) { in hda_sdw_machine_select()
1295 if (~link_mask & mach->link_mask) in hda_sdw_machine_select()
1299 if (!mach->links) in hda_sdw_machine_select()
1302 link = mach->links; in hda_sdw_machine_select()
1316 if (mach && mach->link_mask) { in hda_sdw_machine_select()
1319 pdata->machine = mach; in hda_sdw_machine_select()
1320 mach->mach_params.links = mach->links; in hda_sdw_machine_select()
1321 mach->mach_params.link_mask = mach->link_mask; in hda_sdw_machine_select()
1322 mach->mach_params.platform = dev_name(sdev->dev); in hda_sdw_machine_select()
1323 if (mach->sof_fw_filename) in hda_sdw_machine_select()
1324 pdata->fw_filename = mach->sof_fw_filename; in hda_sdw_machine_select()
1327 pdata->tplg_filename = mach->sof_tplg_filename; in hda_sdw_machine_select()
1336 if (!(mach->link_mask & GENMASK(3, 2))) { in hda_sdw_machine_select()
1337 const char *tplg_filename = mach->sof_tplg_filename; in hda_sdw_machine_select()
1347 mach->mach_params.dmic_num = dmic_num; in hda_sdw_machine_select()
1351 mach->drv_name, in hda_sdw_machine_select()
1368 void hda_set_mach_params(const struct snd_soc_acpi_mach *mach, in hda_set_mach_params() argument
1375 mach_params = (struct snd_soc_acpi_mach_params *)&mach->mach_params; in hda_set_mach_params()
1385 struct snd_soc_acpi_mach *mach; in hda_machine_select() local
1387 mach = snd_soc_acpi_find_machine(desc->machines); in hda_machine_select()
1388 if (mach) { in hda_machine_select()
1394 sof_pdata->tplg_filename = mach->sof_tplg_filename; in hda_machine_select()
1396 sof_pdata->machine = mach; in hda_machine_select()
1398 if (mach->link_mask) { in hda_machine_select()
1399 mach->mach_params.links = mach->links; in hda_machine_select()
1400 mach->mach_params.link_mask = mach->link_mask; in hda_machine_select()