Lines Matching refs:plat_data
188 struct snd_sof_pdata *plat_data = sdev->pdata; in sof_probe_continue() local
288 ret = snd_sof_machine_register(sdev, plat_data); in sof_probe_continue()
309 if (plat_data->sof_probe_complete) in sof_probe_continue()
310 plat_data->sof_probe_complete(sdev->dev); in sof_probe_continue()
317 snd_sof_machine_unregister(sdev, plat_data); in sof_probe_continue()
352 int snd_sof_device_probe(struct device *dev, struct snd_sof_pdata *plat_data) in snd_sof_device_probe() argument
367 sdev->pdata = plat_data; in snd_sof_device_probe()
375 if (plat_data->desc->dspless_mode_supported) { in snd_sof_device_probe()
384 if (!(BIT(plat_data->ipc_type) & plat_data->desc->ipc_supported_mask)) { in snd_sof_device_probe()
386 plat_data->ipc_type, plat_data->desc->ipc_supported_mask); in snd_sof_device_probe()
428 if (plat_data->desc->ipc_timeout == 0) in snd_sof_device_probe()
431 sdev->ipc_timeout = plat_data->desc->ipc_timeout; in snd_sof_device_probe()
432 if (plat_data->desc->boot_timeout == 0) in snd_sof_device_probe()
435 sdev->boot_timeout = plat_data->desc->boot_timeout; in snd_sof_device_probe()