Home
last modified time | relevance | path

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

/linux/sound/soc/sof/
A Dsof-pci-dev.c127 struct snd_sof_pdata *sof_pdata; in sof_pci_probe() local
137 sof_pdata = devm_kzalloc(dev, sizeof(*sof_pdata), GFP_KERNEL); in sof_pci_probe()
138 if (!sof_pdata) in sof_pci_probe()
149 sof_pdata->name = pci_name(pci); in sof_pci_probe()
150 sof_pdata->desc = desc; in sof_pci_probe()
151 sof_pdata->dev = dev; in sof_pci_probe()
167 sof_pdata->fw_filename_prefix); in sof_pci_probe()
170 sof_pdata->fw_filename_prefix = in sof_pci_probe()
177 sof_pdata->fw_filename_prefix); in sof_pci_probe()
179 sof_pdata->fw_filename_prefix = in sof_pci_probe()
[all …]
A 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()
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; in sof_acpi_probe()
89 sof_pdata->tplg_filename_prefix = in sof_acpi_probe()
90 sof_pdata->desc->default_tplg_path; in sof_acpi_probe()
[all …]
A Dsof-of-dev.c78 struct snd_sof_pdata *sof_pdata; in sof_of_probe() local
82 sof_pdata = devm_kzalloc(dev, sizeof(*sof_pdata), GFP_KERNEL); in sof_of_probe()
83 if (!sof_pdata) in sof_of_probe()
95 sof_pdata->desc = desc; in sof_of_probe()
96 sof_pdata->dev = &pdev->dev; in sof_of_probe()
97 sof_pdata->fw_filename = desc->default_fw_filename; in sof_of_probe()
100 sof_pdata->fw_filename_prefix = fw_path; in sof_of_probe()
102 sof_pdata->fw_filename_prefix = sof_pdata->desc->default_fw_path; in sof_of_probe()
105 sof_pdata->tplg_filename_prefix = tplg_path; in sof_of_probe()
107 sof_pdata->tplg_filename_prefix = sof_pdata->desc->default_tplg_path; in sof_of_probe()
[all …]
A Dsof-audio.c873 struct snd_sof_pdata *sof_pdata = sdev->pdata; in sof_machine_check() local
874 const struct sof_dev_desc *desc = sof_pdata->desc; in sof_machine_check()
881 if (sof_pdata->machine) { in sof_machine_check()
882 snd_sof_set_mach_params(sof_pdata->machine, sdev); in sof_machine_check()
901 sof_pdata->tplg_filename = desc->nocodec_tplg_filename; in sof_machine_check()
903 sof_pdata->machine = mach; in sof_machine_check()
904 snd_sof_set_mach_params(sof_pdata->machine, sdev); in sof_machine_check()
/linux/sound/soc/sof/intel/
A Datom.c339 struct snd_sof_pdata *sof_pdata = sdev->pdata; in atom_machine_select() local
340 const struct sof_dev_desc *desc = sof_pdata->desc; in atom_machine_select()
369 sof_pdata->tplg_filename = tplg_filename; in atom_machine_select()
371 sof_pdata->machine = mach; in atom_machine_select()
A Dbdw.c546 struct snd_sof_pdata *sof_pdata = sdev->pdata; in bdw_machine_select() local
547 const struct sof_dev_desc *desc = sof_pdata->desc; in bdw_machine_select()
556 sof_pdata->tplg_filename = mach->sof_tplg_filename; in bdw_machine_select()
558 sof_pdata->machine = mach; in bdw_machine_select()
A Dhda.c1383 struct snd_sof_pdata *sof_pdata = sdev->pdata; in hda_machine_select() local
1384 const struct sof_dev_desc *desc = sof_pdata->desc; in hda_machine_select()
1393 if (!sof_pdata->tplg_filename) in hda_machine_select()
1394 sof_pdata->tplg_filename = mach->sof_tplg_filename; in hda_machine_select()
1396 sof_pdata->machine = mach; in hda_machine_select()
1415 if (!sof_pdata->machine) in hda_machine_select()

Completed in 14 milliseconds