Home
last modified time | relevance | path

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

/Linux-v6.6/sound/soc/sof/
Dsof-pci-dev.c189 struct snd_sof_pdata *sof_pdata; in sof_pci_probe() local
204 sof_pdata = devm_kzalloc(dev, sizeof(*sof_pdata), GFP_KERNEL); in sof_pci_probe()
205 if (!sof_pdata) in sof_pci_probe()
216 sof_pdata->name = pci_name(pci); in sof_pci_probe()
217 sof_pdata->desc = desc; in sof_pci_probe()
218 sof_pdata->dev = dev; in sof_pci_probe()
220 sof_pdata->ipc_type = desc->ipc_default; in sof_pci_probe()
223 sof_pdata->ipc_type = desc->ipc_default; in sof_pci_probe()
238 sof_pdata->ipc_type = sof_pci_ipc_type; in sof_pci_probe()
242 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.c995 struct snd_sof_pdata *sof_pdata = sdev->pdata; in sof_of_machine_select() local
996 const struct sof_dev_desc *desc = sof_pdata->desc; in sof_of_machine_select()
1004 sof_pdata->tplg_filename = mach->sof_tplg_filename; in sof_of_machine_select()
1006 sof_pdata->fw_filename = mach->fw_filename; in sof_of_machine_select()
1020 struct snd_sof_pdata *sof_pdata = sdev->pdata; in sof_machine_check() local
1021 const struct sof_dev_desc *desc = sof_pdata->desc; in sof_machine_check()
1034 sof_pdata->machine = mach; in sof_machine_check()
1041 sof_pdata->of_machine = of_mach; in sof_machine_check()
1061 if (!sof_pdata->tplg_filename) in sof_machine_check()
1062 sof_pdata->tplg_filename = desc->nocodec_tplg_filename; in sof_machine_check()
[all …]
/Linux-v6.6/sound/soc/sof/amd/
Dacp-common.c124 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()
/Linux-v6.6/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.c1606 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()
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()