Lines Matching refs:sof_pdata
276 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()
329 sof_pdata->platform = dev_name(dev); in sof_pci_probe()
333 sof_pdata->fw_filename_prefix = fw_path; in sof_pci_probe()
335 sof_pdata->fw_filename_prefix = in sof_pci_probe()
336 sof_pdata->desc->default_fw_path; in sof_pci_probe()
339 sof_pdata->tplg_filename_prefix = tplg_path; in sof_pci_probe()
341 sof_pdata->tplg_filename_prefix = in sof_pci_probe()
342 sof_pdata->desc->default_tplg_path; in sof_pci_probe()
346 sof_pdata->sof_probe_complete = sof_pci_probe_complete; in sof_pci_probe()
349 ret = snd_sof_device_probe(dev, sof_pdata); in sof_pci_probe()