Lines Matching refs:sof_pdata

189 	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()
245 sof_pdata->fw_filename); in sof_pci_probe()
247 sof_pdata->fw_filename = desc->default_fw_filename[sof_pdata->ipc_type]; in sof_pci_probe()
259 sof_pdata->fw_filename_prefix = fw_path; in sof_pci_probe()
263 sof_pdata->fw_filename_prefix); in sof_pci_probe()
266 sof_pdata->fw_filename_prefix = in sof_pci_probe()
268 sof_pdata->desc->default_fw_path[sof_pdata->ipc_type], in sof_pci_probe()
273 sof_pdata->fw_filename_prefix); in sof_pci_probe()
275 sof_pdata->fw_filename_prefix = in sof_pci_probe()
276 sof_pdata->desc->default_fw_path[sof_pdata->ipc_type]; in sof_pci_probe()
280 sof_pdata->fw_lib_prefix = lib_path; in sof_pci_probe()
283 sof_pdata->fw_lib_prefix); in sof_pci_probe()
285 } else if (sof_pdata->desc->default_lib_path[sof_pdata->ipc_type]) { in sof_pci_probe()
287 sof_pdata->fw_lib_prefix = in sof_pci_probe()
289 sof_pdata->desc->default_lib_path[sof_pdata->ipc_type], in sof_pci_probe()
294 sof_pdata->fw_lib_prefix); in sof_pci_probe()
296 sof_pdata->fw_lib_prefix = in sof_pci_probe()
297 sof_pdata->desc->default_lib_path[sof_pdata->ipc_type]; in sof_pci_probe()
302 sof_pdata->tplg_filename_prefix = tplg_path; in sof_pci_probe()
304 sof_pdata->tplg_filename_prefix = in sof_pci_probe()
305 sof_pdata->desc->default_tplg_path[sof_pdata->ipc_type]; in sof_pci_probe()
312 sof_pdata->tplg_filename = tplg_filename; in sof_pci_probe()
315 sof_pdata->tplg_filename); in sof_pci_probe()
319 sof_pdata->tplg_filename = sof_dmi_override_tplg_name; in sof_pci_probe()
323 sof_pdata->sof_probe_complete = sof_pci_probe_complete; in sof_pci_probe()
326 ret = snd_sof_device_probe(dev, sof_pdata); in sof_pci_probe()