Home
last modified time | relevance | path

Searched refs:sof_pdata (Results 1 – 7 of 7) sorted by relevance

/linux/sound/soc/sof/
H A Dsof-acpi-dev.c62 struct snd_sof_pdata *sof_pdata; in sof_acpi_probe() local
66 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()
H A Dsof-pci-dev.c197 struct snd_sof_pdata *sof_pdata; in sof_pci_probe() local
212 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 …]
H A Dcore.c185 struct snd_sof_pdata *sof_pdata = sdev->pdata; in sof_of_machine_select() local
186 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() local
209 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 …]
/linux/sound/soc/sof/intel/
H A Dhda.c1216 struct snd_sof_pdata *sof_pdata = sdev->pdata; in hda_machine_select() local
1217 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 …]
H A Datom.c298 struct snd_sof_pdata *sof_pdata = sdev->pdata; in atom_machine_select() local
299 const struct sof_dev_desc *desc = sof_pdata->desc; in atom_machine_select()
328 sof_pdata->tplg_filename = tplg_filename; in atom_machine_select()
H A Dbdw.c514 struct snd_sof_pdata *sof_pdata = sdev->pdata; in bdw_machine_select() local
515 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()
/linux/sound/soc/sof/amd/
H A Dacp-common.c175 struct snd_sof_pdata *sof_pdata = sdev->pdata; in amd_sof_machine_select() local
177 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()