Lines Matching refs:plat_data
261 struct snd_sof_pdata *plat_data = sdev->pdata; in sof_machine_check() local
267 if (plat_data->machine) in sof_machine_check()
280 ret = sof_nocodec_setup(sdev->dev, plat_data, machine, in sof_machine_check()
281 plat_data->desc, plat_data->desc->ops); in sof_machine_check()
285 plat_data->machine = machine; in sof_machine_check()
293 struct snd_sof_pdata *plat_data = sdev->pdata; in sof_probe_continue() local
374 drv_name = plat_data->machine->drv_name; in sof_probe_continue()
375 mach = (const void *)plat_data->machine; in sof_probe_continue()
376 size = sizeof(*plat_data->machine); in sof_probe_continue()
379 plat_data->pdev_mach = in sof_probe_continue()
383 if (IS_ERR(plat_data->pdev_mach)) { in sof_probe_continue()
384 ret = PTR_ERR(plat_data->pdev_mach); in sof_probe_continue()
389 dev_name(&plat_data->pdev_mach->dev)); in sof_probe_continue()
391 if (plat_data->sof_probe_complete) in sof_probe_continue()
392 plat_data->sof_probe_complete(sdev->dev); in sof_probe_continue()
437 int snd_sof_device_probe(struct device *dev, struct snd_sof_pdata *plat_data) in snd_sof_device_probe() argument
448 sdev->pdata = plat_data; in snd_sof_device_probe()
471 if (plat_data->desc->ipc_timeout == 0) in snd_sof_device_probe()
474 sdev->ipc_timeout = plat_data->desc->ipc_timeout; in snd_sof_device_probe()
475 if (plat_data->desc->boot_timeout == 0) in snd_sof_device_probe()
478 sdev->boot_timeout = plat_data->desc->boot_timeout; in snd_sof_device_probe()