Home
last modified time | relevance | path

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

/linux/sound/soc/sof/
H A Dsof-pci-dev.c196 struct snd_sof_pdata *sof_pdata; in sof_pci_probe() local
211 sof_pdata = devm_kzalloc(dev, sizeof(*sof_pdata), GFP_KERNEL); in sof_pci_probe()
212 if (!sof_pdata) in sof_pci_probe()
223 sof_pdata->name = pci_name(pci); in sof_pci_probe()
227 sof_pdata->subsystem_vendor = pci->subsystem_vendor; in sof_pci_probe()
228 sof_pdata->subsystem_device = pci->subsystem_device; in sof_pci_probe()
229 sof_pdata->subsystem_id_set = true; in sof_pci_probe()
232 sof_pdata->desc = desc; in sof_pci_probe()
233 sof_pdata->dev = dev; in sof_pci_probe()
235 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 …]
H A Dtopology.c2497 struct snd_sof_pdata *sof_pdata = sdev->pdata; in snd_sof_load_topology() local
2498 const char *tplg_filename_prefix = sof_pdata->tplg_filename_prefix; in snd_sof_load_topology()
2510 if (!sof_pdata->disable_function_topology && !disable_function_topology && in snd_sof_load_topology()
2511 sof_pdata->machine && sof_pdata->machine->get_function_tplg_files) { in snd_sof_load_topology()
2526 tplg_cnt = sof_pdata->machine->get_function_tplg_files(scomp->card, in snd_sof_load_topology()
2527 sof_pdata->machine, in snd_sof_load_topology()
/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()
/linux/sound/soc/sof/intel/
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.c513 struct snd_sof_pdata *sof_pdata = sdev->pdata; in bdw_machine_select() local
514 const struct sof_dev_desc *desc = sof_pdata->desc; in bdw_machine_select()
523 sof_pdata->tplg_filename = mach->sof_tplg_filename; in bdw_machine_select()