Home
last modified time | relevance | path

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

/sound/soc/sof/
Dsof-of-dev.c48 struct snd_sof_pdata *sof_pdata; in sof_of_probe() local
54 sof_pdata = devm_kzalloc(dev, sizeof(*sof_pdata), GFP_KERNEL); in sof_of_probe()
55 if (!sof_pdata) in sof_of_probe()
75 ret = sof_nocodec_setup(dev, sof_pdata, mach, desc, ops); in sof_of_probe()
86 sof_pdata->machine = mach; in sof_of_probe()
87 sof_pdata->desc = desc; in sof_of_probe()
88 sof_pdata->dev = &pdev->dev; in sof_of_probe()
89 sof_pdata->platform = dev_name(dev); in sof_of_probe()
92 sof_pdata->fw_filename_prefix = sof_pdata->desc->default_fw_path; in sof_of_probe()
93 sof_pdata->tplg_filename_prefix = sof_pdata->desc->default_tplg_path; in sof_of_probe()
[all …]
Dsof-acpi-dev.c135 struct snd_sof_pdata *sof_pdata; in sof_acpi_probe() local
141 sof_pdata = devm_kzalloc(dev, sizeof(*sof_pdata), GFP_KERNEL); in sof_acpi_probe()
142 if (!sof_pdata) in sof_acpi_probe()
167 ret = sof_nocodec_setup(dev, sof_pdata, mach, desc, ops); in sof_acpi_probe()
176 sof_pdata->fw_filename = mach->sof_fw_filename; in sof_acpi_probe()
177 sof_pdata->tplg_filename = mach->sof_tplg_filename; in sof_acpi_probe()
186 sof_pdata->machine = mach; in sof_acpi_probe()
187 sof_pdata->desc = desc; in sof_acpi_probe()
188 sof_pdata->dev = &pdev->dev; in sof_acpi_probe()
189 sof_pdata->platform = dev_name(dev); in sof_acpi_probe()
[all …]
Dsof-pci-dev.c276 struct snd_sof_pdata *sof_pdata; in sof_pci_probe() local
289 sof_pdata = devm_kzalloc(dev, sizeof(*sof_pdata), GFP_KERNEL); in sof_pci_probe()
290 if (!sof_pdata) in sof_pci_probe()
309 ret = sof_nocodec_setup(dev, sof_pdata, mach, desc, ops); in sof_pci_probe()
320 sof_pdata->fw_filename = mach->sof_fw_filename; in sof_pci_probe()
321 sof_pdata->tplg_filename = mach->sof_tplg_filename; in sof_pci_probe()
325 sof_pdata->name = pci_name(pci); in sof_pci_probe()
326 sof_pdata->machine = mach; in sof_pci_probe()
327 sof_pdata->desc = (struct sof_dev_desc *)pci_id->driver_data; in sof_pci_probe()
328 sof_pdata->dev = dev; in sof_pci_probe()
[all …]
Dnocodec.c69 struct snd_sof_pdata *sof_pdata, in sof_nocodec_setup() argument
80 sof_pdata->drv_name = "sof-nocodec"; in sof_nocodec_setup()
83 sof_pdata->fw_filename = desc->nocodec_fw_filename; in sof_nocodec_setup()
84 sof_pdata->tplg_filename = desc->nocodec_tplg_filename; in sof_nocodec_setup()