Home
last modified time | relevance | path

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

/linux-6.12.1/sound/soc/sof/
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()
Dsof-of-dev.c48 struct snd_sof_pdata *sof_pdata; in sof_of_probe() local
52 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()
68 sof_pdata->ipc_file_profile_base.ipc_type = desc->ipc_default; in sof_of_probe()
69 sof_pdata->ipc_file_profile_base.fw_path = fw_path; in sof_of_probe()
70 sof_pdata->ipc_file_profile_base.tplg_path = tplg_path; in sof_of_probe()
73 sof_pdata->sof_probe_complete = sof_of_probe_complete; in sof_of_probe()
76 return snd_sof_device_probe(dev, sof_pdata); in sof_of_probe()
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 …]
Dcore.c149 struct snd_sof_pdata *sof_pdata = sdev->pdata; in sof_of_machine_select() local
150 const struct sof_dev_desc *desc = sof_pdata->desc; in sof_of_machine_select()
158 sof_pdata->tplg_filename = mach->sof_tplg_filename; in sof_of_machine_select()
160 sof_pdata->fw_filename = mach->fw_filename; in sof_of_machine_select()
172 struct snd_sof_pdata *sof_pdata = sdev->pdata; in sof_machine_check() local
173 const struct sof_dev_desc *desc = sof_pdata->desc; in sof_machine_check()
186 sof_pdata->machine = mach; in sof_machine_check()
188 if (sof_pdata->subsystem_id_set) { in sof_machine_check()
189 mach->mach_params.subsystem_vendor = sof_pdata->subsystem_vendor; in sof_machine_check()
190 mach->mach_params.subsystem_device = sof_pdata->subsystem_device; in sof_machine_check()
[all …]
/linux-6.12.1/sound/soc/sof/intel/
Dhda.c1209 struct snd_sof_pdata *sof_pdata = sdev->pdata; in hda_machine_select() local
1210 const struct sof_dev_desc *desc = sof_pdata->desc; in hda_machine_select()
1279 if (!sof_pdata->tplg_filename) { in hda_machine_select()
1285 sof_pdata->tplg_filename = tplg_filename; in hda_machine_select()
1325 sof_pdata->tplg_filename, in hda_machine_select()
1332 sof_pdata->tplg_filename = tplg_filename; in hda_machine_select()
1365 sof_pdata->tplg_filename, in hda_machine_select()
1371 sof_pdata->tplg_filename = tplg_filename; in hda_machine_select()
1404 sof_pdata->tplg_filename, in hda_machine_select()
1409 sof_pdata->tplg_filename = tplg_filename; in hda_machine_select()
[all …]
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()
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-6.12.1/sound/soc/sof/amd/
Dacp-common.c176 struct snd_sof_pdata *sof_pdata = sdev->pdata; in amd_sof_machine_select() local
178 const struct sof_dev_desc *desc = sof_pdata->desc; in amd_sof_machine_select()
192 sof_pdata->tplg_filename = mach->sof_tplg_filename; in amd_sof_machine_select()
193 sof_pdata->fw_filename = mach->fw_filename; in amd_sof_machine_select()