Searched refs:sof_pdata (Results 1 – 8 of 8) sorted by relevance
192 struct snd_sof_pdata *sof_pdata; in sof_pci_probe() local207 sof_pdata = devm_kzalloc(dev, sizeof(*sof_pdata), GFP_KERNEL); in sof_pci_probe()208 if (!sof_pdata) in sof_pci_probe()219 sof_pdata->name = pci_name(pci); in sof_pci_probe()223 sof_pdata->subsystem_vendor = pci->subsystem_vendor; in sof_pci_probe()224 sof_pdata->subsystem_device = pci->subsystem_device; in sof_pci_probe()225 sof_pdata->subsystem_id_set = true; in sof_pci_probe()228 sof_pdata->desc = desc; in sof_pci_probe()229 sof_pdata->dev = dev; in sof_pci_probe()231 sof_pdata->ipc_type = desc->ipc_default; in sof_pci_probe()[all …]
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()77 sof_pdata->fw_filename = desc->default_fw_filename[SOF_IPC]; in sof_acpi_probe()81 sof_pdata->fw_filename_prefix = fw_path; in sof_acpi_probe()83 sof_pdata->fw_filename_prefix = in sof_acpi_probe()84 sof_pdata->desc->default_fw_path[SOF_IPC]; in sof_acpi_probe()87 sof_pdata->tplg_filename_prefix = tplg_path; in sof_acpi_probe()[all …]
48 struct snd_sof_pdata *sof_pdata; in sof_of_probe() local52 sof_pdata = devm_kzalloc(dev, sizeof(*sof_pdata), GFP_KERNEL); in sof_of_probe()53 if (!sof_pdata) in sof_of_probe()65 sof_pdata->desc = desc; in sof_of_probe()66 sof_pdata->dev = &pdev->dev; in sof_of_probe()67 sof_pdata->fw_filename = desc->default_fw_filename[SOF_IPC]; in sof_of_probe()70 sof_pdata->fw_filename_prefix = fw_path; in sof_of_probe()72 sof_pdata->fw_filename_prefix = sof_pdata->desc->default_fw_path[SOF_IPC]; in sof_of_probe()75 sof_pdata->tplg_filename_prefix = tplg_path; in sof_of_probe()77 sof_pdata->tplg_filename_prefix = sof_pdata->desc->default_tplg_path[SOF_IPC]; in sof_of_probe()[all …]
799 struct snd_sof_pdata *sof_pdata = sdev->pdata; in sof_of_machine_select() local800 const struct sof_dev_desc *desc = sof_pdata->desc; in sof_of_machine_select()808 sof_pdata->tplg_filename = mach->sof_tplg_filename; in sof_of_machine_select()810 sof_pdata->fw_filename = mach->fw_filename; in sof_of_machine_select()824 struct snd_sof_pdata *sof_pdata = sdev->pdata; in sof_machine_check() local825 const struct sof_dev_desc *desc = sof_pdata->desc; in sof_machine_check()834 sof_pdata->machine = mach; in sof_machine_check()836 if (sof_pdata->subsystem_id_set) { in sof_machine_check()837 mach->mach_params.subsystem_vendor = sof_pdata->subsystem_vendor; in sof_machine_check()838 mach->mach_params.subsystem_device = sof_pdata->subsystem_device; in sof_machine_check()[all …]
38 struct snd_sof_pdata *sof_pdata = sdev->pdata; in amd_sof_machine_select() local39 const struct sof_dev_desc *desc = sof_pdata->desc; in amd_sof_machine_select()48 sof_pdata->tplg_filename = mach->sof_tplg_filename; in amd_sof_machine_select()49 sof_pdata->fw_filename = mach->fw_filename; in amd_sof_machine_select()
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()
1547 struct snd_sof_pdata *sof_pdata = sdev->pdata; in hda_machine_select() local1548 const struct sof_dev_desc *desc = sof_pdata->desc; in hda_machine_select()1561 if (!sof_pdata->tplg_filename) { in hda_machine_select()1562 sof_pdata->tplg_filename = mach->sof_tplg_filename; in hda_machine_select()1574 sof_pdata->tplg_filename, in hda_machine_select()1581 sof_pdata->tplg_filename = tplg_filename; in hda_machine_select()1615 sof_pdata->tplg_filename, in hda_machine_select()1621 sof_pdata->tplg_filename = tplg_filename; in hda_machine_select()1643 sof_pdata->tplg_filename, in hda_machine_select()1648 sof_pdata->tplg_filename = tplg_filename; in hda_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()