Lines Matching refs:sof_pdata

196 	struct snd_sof_pdata *sof_pdata;  in sof_pci_probe()  local
211 sof_pdata = devm_kzalloc(dev, sizeof(*sof_pdata), GFP_KERNEL); in sof_pci_probe()
212 if (!sof_pdata) in sof_pci_probe()
223 sof_pdata->name = pci_name(pci); in sof_pci_probe()
227 sof_pdata->subsystem_vendor = pci->subsystem_vendor; in sof_pci_probe()
228 sof_pdata->subsystem_device = pci->subsystem_device; in sof_pci_probe()
229 sof_pdata->subsystem_id_set = true; in sof_pci_probe()
232 sof_pdata->desc = desc; in sof_pci_probe()
233 sof_pdata->dev = dev; in sof_pci_probe()
235 sof_pdata->ipc_type = desc->ipc_default; in sof_pci_probe()
238 sof_pdata->ipc_type = desc->ipc_default; in sof_pci_probe()
253 sof_pdata->ipc_type = sof_pci_ipc_type; in sof_pci_probe()
257 sof_pdata->fw_filename = fw_filename; in sof_pci_probe()
260 sof_pdata->fw_filename); in sof_pci_probe()
262 sof_pdata->fw_filename = desc->default_fw_filename[sof_pdata->ipc_type]; in sof_pci_probe()
274 sof_pdata->fw_filename_prefix = fw_path; in sof_pci_probe()
278 sof_pdata->fw_filename_prefix); in sof_pci_probe()
281 sof_pdata->fw_filename_prefix = in sof_pci_probe()
283 sof_pdata->desc->default_fw_path[sof_pdata->ipc_type], in sof_pci_probe()
288 sof_pdata->fw_filename_prefix); in sof_pci_probe()
290 sof_pdata->fw_filename_prefix = in sof_pci_probe()
291 sof_pdata->desc->default_fw_path[sof_pdata->ipc_type]; in sof_pci_probe()
295 sof_pdata->fw_lib_prefix = lib_path; in sof_pci_probe()
298 sof_pdata->fw_lib_prefix); in sof_pci_probe()
300 } else if (sof_pdata->desc->default_lib_path[sof_pdata->ipc_type]) { in sof_pci_probe()
302 sof_pdata->fw_lib_prefix = in sof_pci_probe()
304 sof_pdata->desc->default_lib_path[sof_pdata->ipc_type], in sof_pci_probe()
309 sof_pdata->fw_lib_prefix); in sof_pci_probe()
311 sof_pdata->fw_lib_prefix = in sof_pci_probe()
312 sof_pdata->desc->default_lib_path[sof_pdata->ipc_type]; in sof_pci_probe()
317 sof_pdata->tplg_filename_prefix = tplg_path; in sof_pci_probe()
319 sof_pdata->tplg_filename_prefix = in sof_pci_probe()
320 sof_pdata->desc->default_tplg_path[sof_pdata->ipc_type]; in sof_pci_probe()
327 sof_pdata->tplg_filename = tplg_filename; in sof_pci_probe()
330 sof_pdata->tplg_filename); in sof_pci_probe()
334 sof_pdata->tplg_filename = sof_dmi_override_tplg_name; in sof_pci_probe()
338 sof_pdata->sof_probe_complete = sof_pci_probe_complete; in sof_pci_probe()
341 ret = snd_sof_device_probe(dev, sof_pdata); in sof_pci_probe()