Lines Matching refs:sof_pdata
185 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()
241 sof_pdata->fw_filename); in sof_pci_probe()
243 sof_pdata->fw_filename = desc->default_fw_filename[sof_pdata->ipc_type]; in sof_pci_probe()
255 sof_pdata->fw_filename_prefix = fw_path; in sof_pci_probe()
259 sof_pdata->fw_filename_prefix); in sof_pci_probe()
262 sof_pdata->fw_filename_prefix = in sof_pci_probe()
264 sof_pdata->desc->default_fw_path[sof_pdata->ipc_type], in sof_pci_probe()
269 sof_pdata->fw_filename_prefix); in sof_pci_probe()
271 sof_pdata->fw_filename_prefix = in sof_pci_probe()
272 sof_pdata->desc->default_fw_path[sof_pdata->ipc_type]; in sof_pci_probe()
276 sof_pdata->tplg_filename_prefix = tplg_path; in sof_pci_probe()
278 sof_pdata->tplg_filename_prefix = in sof_pci_probe()
279 sof_pdata->desc->default_tplg_path[sof_pdata->ipc_type]; in sof_pci_probe()
286 sof_pdata->tplg_filename = tplg_filename; in sof_pci_probe()
289 sof_pdata->tplg_filename); in sof_pci_probe()
293 sof_pdata->tplg_filename = sof_dmi_override_tplg_name; in sof_pci_probe()
297 sof_pdata->sof_probe_complete = sof_pci_probe_complete; in sof_pci_probe()
300 ret = snd_sof_device_probe(dev, sof_pdata); in sof_pci_probe()