Searched refs:sof_pdata (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/sound/soc/sof/ |
H A D | sof-pci-dev.c | 211 sof_pdata = devm_kzalloc(dev, sizeof(*sof_pdata), GFP_KERNEL); in sof_pci_probe() 212 if (!sof_pdata) in sof_pci_probe() 232 sof_pdata->desc = desc; in sof_pci_probe() 233 sof_pdata->dev = dev; in sof_pci_probe() 262 sof_pdata->fw_filename = desc->default_fw_filename[sof_pdata->ipc_type]; in sof_pci_probe() 283 sof_pdata->desc->default_fw_path[sof_pdata->ipc_type], in sof_pci_probe() 291 sof_pdata->desc->default_fw_path[sof_pdata->ipc_type]; in sof_pci_probe() 300 } else if (sof_pdata->desc->default_lib_path[sof_pdata->ipc_type]) { in sof_pci_probe() 304 sof_pdata->desc->default_lib_path[sof_pdata->ipc_type], in sof_pci_probe() 312 sof_pdata->desc->default_lib_path[sof_pdata->ipc_type]; in sof_pci_probe() [all …]
|
H A D | sof-of-dev.c | 48 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() 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() 80 sof_pdata->sof_probe_complete = sof_of_probe_complete; in sof_of_probe() [all …]
|
H A D | sof-acpi-dev.c | 62 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() 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() 89 sof_pdata->tplg_filename_prefix = in sof_acpi_probe() [all …]
|
H A D | sof-audio.c | 1012 struct snd_sof_pdata *sof_pdata = sdev->pdata; in sof_of_machine_select() local 1013 const struct sof_dev_desc *desc = sof_pdata->desc; in sof_of_machine_select() 1021 sof_pdata->tplg_filename = mach->sof_tplg_filename; in sof_of_machine_select() 1023 sof_pdata->fw_filename = mach->fw_filename; in sof_of_machine_select() 1037 struct snd_sof_pdata *sof_pdata = sdev->pdata; in sof_machine_check() local 1038 const struct sof_dev_desc *desc = sof_pdata->desc; in sof_machine_check() 1051 sof_pdata->machine = mach; in sof_machine_check() 1053 if (sof_pdata->subsystem_id_set) { in sof_machine_check() 1065 sof_pdata->of_machine = of_mach; in sof_machine_check() 1085 if (!sof_pdata->tplg_filename) in sof_machine_check() [all …]
|
/openbmc/linux/sound/soc/sof/amd/ |
H A D | acp-common.c | 124 struct snd_sof_pdata *sof_pdata = sdev->pdata; in amd_sof_machine_select() local 125 const struct sof_dev_desc *desc = sof_pdata->desc; in amd_sof_machine_select() 134 sof_pdata->tplg_filename = mach->sof_tplg_filename; in amd_sof_machine_select() 135 sof_pdata->fw_filename = mach->fw_filename; in amd_sof_machine_select()
|
/openbmc/linux/sound/soc/sof/intel/ |
H A D | atom.c | 298 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 D | hda.c | 1606 struct snd_sof_pdata *sof_pdata = sdev->pdata; in hda_machine_select() local 1607 const struct sof_dev_desc *desc = sof_pdata->desc; in hda_machine_select() 1623 if (!sof_pdata->tplg_filename) { in hda_machine_select() 1624 sof_pdata->tplg_filename = mach->sof_tplg_filename; in hda_machine_select() 1636 sof_pdata->tplg_filename, in hda_machine_select() 1643 sof_pdata->tplg_filename = tplg_filename; in hda_machine_select() 1677 sof_pdata->tplg_filename, in hda_machine_select() 1683 sof_pdata->tplg_filename = tplg_filename; in hda_machine_select() 1705 sof_pdata->tplg_filename, in hda_machine_select() 1710 sof_pdata->tplg_filename = tplg_filename; in hda_machine_select()
|
H A D | bdw.c | 514 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()
|