Lines Matching refs:sof_pdata
332 struct snd_sof_pdata *sof_pdata; in sof_pci_probe() local
350 sof_pdata = devm_kzalloc(dev, sizeof(*sof_pdata), GFP_KERNEL); in sof_pci_probe()
351 if (!sof_pdata) in sof_pci_probe()
362 sof_pdata->name = pci_name(pci); in sof_pci_probe()
363 sof_pdata->desc = (struct sof_dev_desc *)pci_id->driver_data; in sof_pci_probe()
364 sof_pdata->dev = dev; in sof_pci_probe()
365 sof_pdata->fw_filename = desc->default_fw_filename; in sof_pci_probe()
376 sof_pdata->fw_filename_prefix = fw_path; in sof_pci_probe()
380 sof_pdata->fw_filename_prefix); in sof_pci_probe()
383 sof_pdata->fw_filename_prefix = in sof_pci_probe()
385 sof_pdata->desc->default_fw_path, in sof_pci_probe()
390 sof_pdata->fw_filename_prefix); in sof_pci_probe()
392 sof_pdata->fw_filename_prefix = in sof_pci_probe()
393 sof_pdata->desc->default_fw_path; in sof_pci_probe()
397 sof_pdata->tplg_filename_prefix = tplg_path; in sof_pci_probe()
399 sof_pdata->tplg_filename_prefix = in sof_pci_probe()
400 sof_pdata->desc->default_tplg_path; in sof_pci_probe()
404 sof_pdata->tplg_filename = sof_override_tplg_name; in sof_pci_probe()
408 sof_pdata->sof_probe_complete = sof_pci_probe_complete; in sof_pci_probe()
411 ret = snd_sof_device_probe(dev, sof_pdata); in sof_pci_probe()