Lines Matching refs:sof_pdata
127 struct snd_sof_pdata *sof_pdata; in sof_pci_probe() local
137 sof_pdata = devm_kzalloc(dev, sizeof(*sof_pdata), GFP_KERNEL); in sof_pci_probe()
138 if (!sof_pdata) in sof_pci_probe()
149 sof_pdata->name = pci_name(pci); in sof_pci_probe()
150 sof_pdata->desc = desc; in sof_pci_probe()
151 sof_pdata->dev = dev; in sof_pci_probe()
152 sof_pdata->fw_filename = desc->default_fw_filename; in sof_pci_probe()
163 sof_pdata->fw_filename_prefix = fw_path; in sof_pci_probe()
167 sof_pdata->fw_filename_prefix); in sof_pci_probe()
170 sof_pdata->fw_filename_prefix = in sof_pci_probe()
172 sof_pdata->desc->default_fw_path, in sof_pci_probe()
177 sof_pdata->fw_filename_prefix); in sof_pci_probe()
179 sof_pdata->fw_filename_prefix = in sof_pci_probe()
180 sof_pdata->desc->default_fw_path; in sof_pci_probe()
184 sof_pdata->tplg_filename_prefix = tplg_path; in sof_pci_probe()
186 sof_pdata->tplg_filename_prefix = in sof_pci_probe()
187 sof_pdata->desc->default_tplg_path; in sof_pci_probe()
191 sof_pdata->tplg_filename = sof_override_tplg_name; in sof_pci_probe()
194 sof_pdata->sof_probe_complete = sof_pci_probe_complete; in sof_pci_probe()
197 ret = snd_sof_device_probe(dev, sof_pdata); in sof_pci_probe()