Searched refs:sof_pdata (Results 1 – 7 of 7) sorted by relevance
62 struct snd_sof_pdata *sof_pdata; in sof_acpi_probe() local66 sof_pdata = devm_kzalloc(dev, sizeof(*sof_pdata), GFP_KERNEL); in sof_acpi_probe()67 if (!sof_pdata) in sof_acpi_probe()75 sof_pdata->desc = desc; in sof_acpi_probe()76 sof_pdata->dev = &pdev->dev; in sof_acpi_probe()78 sof_pdata->ipc_file_profile_base.ipc_type = desc->ipc_default; in sof_acpi_probe()79 sof_pdata->ipc_file_profile_base.fw_path = fw_path; in sof_acpi_probe()80 sof_pdata->ipc_file_profile_base.tplg_path = tplg_path; in sof_acpi_probe()83 sof_pdata->sof_probe_complete = sof_acpi_probe_complete; in sof_acpi_probe()86 return snd_sof_device_probe(dev, sof_pdata); in sof_acpi_probe()
197 struct snd_sof_pdata *sof_pdata; in sof_pci_probe() local212 sof_pdata = devm_kzalloc(dev, sizeof(*sof_pdata), GFP_KERNEL); in sof_pci_probe()213 if (!sof_pdata) in sof_pci_probe()224 sof_pdata->name = pci_name(pci); in sof_pci_probe()228 sof_pdata->subsystem_vendor = pci->subsystem_vendor; in sof_pci_probe()229 sof_pdata->subsystem_device = pci->subsystem_device; in sof_pci_probe()230 sof_pdata->subsystem_id_set = true; in sof_pci_probe()233 sof_pdata->desc = desc; in sof_pci_probe()234 sof_pdata->dev = dev; in sof_pci_probe()236 path_override = &sof_pdata->ipc_file_profile_base; in sof_pci_probe()[all …]
185 struct snd_sof_pdata *sof_pdata = sdev->pdata; in sof_of_machine_select() local186 const struct sof_dev_desc *desc = sof_pdata->desc; in sof_of_machine_select()194 sof_pdata->tplg_filename = mach->sof_tplg_filename; in sof_of_machine_select()196 sof_pdata->fw_filename = mach->fw_filename; in sof_of_machine_select()208 struct snd_sof_pdata *sof_pdata = sdev->pdata; in sof_machine_check() local209 const struct sof_dev_desc *desc = sof_pdata->desc; in sof_machine_check()222 sof_pdata->machine = mach; in sof_machine_check()224 if (sof_pdata->subsystem_id_set) { in sof_machine_check()225 mach->mach_params.subsystem_vendor = sof_pdata->subsystem_vendor; in sof_machine_check()226 mach->mach_params.subsystem_device = sof_pdata->subsystem_device; in sof_machine_check()[all …]
1216 struct snd_sof_pdata *sof_pdata = sdev->pdata; in hda_machine_select() local1217 const struct sof_dev_desc *desc = sof_pdata->desc; in hda_machine_select()1286 if (!sof_pdata->tplg_filename) { in hda_machine_select()1292 sof_pdata->tplg_filename = tplg_filename; in hda_machine_select()1332 sof_pdata->tplg_filename, in hda_machine_select()1339 sof_pdata->tplg_filename = tplg_filename; in hda_machine_select()1372 sof_pdata->tplg_filename, in hda_machine_select()1378 sof_pdata->tplg_filename = tplg_filename; in hda_machine_select()1411 sof_pdata->tplg_filename, in hda_machine_select()1416 sof_pdata->tplg_filename = tplg_filename; in hda_machine_select()[all …]
298 struct snd_sof_pdata *sof_pdata = sdev->pdata; in atom_machine_select() local299 const struct sof_dev_desc *desc = sof_pdata->desc; in atom_machine_select()328 sof_pdata->tplg_filename = tplg_filename; in atom_machine_select()
514 struct snd_sof_pdata *sof_pdata = sdev->pdata; in bdw_machine_select() local515 const struct sof_dev_desc *desc = sof_pdata->desc; in bdw_machine_select()524 sof_pdata->tplg_filename = mach->sof_tplg_filename; in bdw_machine_select()
175 struct snd_sof_pdata *sof_pdata = sdev->pdata; in amd_sof_machine_select() local177 const struct sof_dev_desc *desc = sof_pdata->desc; in amd_sof_machine_select()191 sof_pdata->tplg_filename = mach->sof_tplg_filename; in amd_sof_machine_select()192 sof_pdata->fw_filename = mach->fw_filename; in amd_sof_machine_select()