Home
last modified time | relevance | path

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

/Linux-v6.1/sound/soc/sof/
Dsof-pci-dev.c185 struct snd_sof_pdata *sof_pdata; in sof_pci_probe() local
200 sof_pdata = devm_kzalloc(dev, sizeof(*sof_pdata), GFP_KERNEL); in sof_pci_probe()
201 if (!sof_pdata) in sof_pci_probe()
212 sof_pdata->name = pci_name(pci); in sof_pci_probe()
213 sof_pdata->desc = desc; in sof_pci_probe()
214 sof_pdata->dev = dev; in sof_pci_probe()
216 sof_pdata->ipc_type = desc->ipc_default; in sof_pci_probe()
219 sof_pdata->ipc_type = desc->ipc_default; in sof_pci_probe()
234 sof_pdata->ipc_type = sof_pci_ipc_type; in sof_pci_probe()
238 sof_pdata->fw_filename = fw_filename; in sof_pci_probe()
[all …]
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()
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 …]
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()
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 …]
Dsof-audio.c797 struct snd_sof_pdata *sof_pdata = sdev->pdata; in sof_of_machine_select() local
798 const struct sof_dev_desc *desc = sof_pdata->desc; in sof_of_machine_select()
806 sof_pdata->tplg_filename = mach->sof_tplg_filename; in sof_of_machine_select()
808 sof_pdata->fw_filename = mach->fw_filename; in sof_of_machine_select()
822 struct snd_sof_pdata *sof_pdata = sdev->pdata; in sof_machine_check() local
823 const struct sof_dev_desc *desc = sof_pdata->desc; in sof_machine_check()
832 sof_pdata->machine = mach; in sof_machine_check()
839 sof_pdata->of_machine = of_mach; in sof_machine_check()
858 if (!sof_pdata->tplg_filename) in sof_machine_check()
859 sof_pdata->tplg_filename = desc->nocodec_tplg_filename; in sof_machine_check()
[all …]
/Linux-v6.1/sound/soc/sof/amd/
Dacp-common.c38 struct snd_sof_pdata *sof_pdata = sdev->pdata; in amd_sof_machine_select() local
39 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()
/Linux-v6.1/sound/soc/sof/intel/
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()
Dhda.c1537 struct snd_sof_pdata *sof_pdata = sdev->pdata; in hda_machine_select() local
1538 const struct sof_dev_desc *desc = sof_pdata->desc; in hda_machine_select()
1551 if (!sof_pdata->tplg_filename) { in hda_machine_select()
1552 sof_pdata->tplg_filename = mach->sof_tplg_filename; in hda_machine_select()
1564 sof_pdata->tplg_filename, in hda_machine_select()
1571 sof_pdata->tplg_filename = tplg_filename; in hda_machine_select()
1605 sof_pdata->tplg_filename, in hda_machine_select()
1611 sof_pdata->tplg_filename = tplg_filename; in hda_machine_select()
1633 sof_pdata->tplg_filename, in hda_machine_select()
1638 sof_pdata->tplg_filename = tplg_filename; in hda_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()