Searched refs:sof_ops (Results 1 – 9 of 9) sorted by relevance
21 #define sof_ops(sdev) \ macro43 return sof_ops(sdev)->probe(sdev); in snd_sof_probe()48 if (sof_ops(sdev)->remove) in snd_sof_remove()49 return sof_ops(sdev)->remove(sdev); in snd_sof_remove()56 if (sof_ops(sdev)->shutdown) in snd_sof_shutdown()57 return sof_ops(sdev)->shutdown(sdev); in snd_sof_shutdown()70 return sof_ops(sdev)->run(sdev); in snd_sof_dsp_run()75 if (sof_ops(sdev)->stall) in snd_sof_dsp_stall()76 return sof_ops(sdev)->stall(sdev, core_mask); in snd_sof_dsp_stall()83 if (sof_ops(sdev)->reset) in snd_sof_dsp_reset()[all …]
280 sof_ops(sdev)->drv, in sof_probe_continue()281 sof_ops(sdev)->num_drv); in sof_probe_continue()306 if (!sof_ops(sdev)->runtime_suspend || !sof_ops(sdev)->runtime_resume) in sof_probe_continue()396 if (!sof_ops(sdev) || !sof_ops(sdev)->probe) { in snd_sof_device_probe()403 (!sof_ops(sdev)->run || !sof_ops(sdev)->block_read || in snd_sof_device_probe()404 !sof_ops(sdev)->block_write || !sof_ops(sdev)->send_msg || in snd_sof_device_probe()405 !sof_ops(sdev)->load_firmware || !sof_ops(sdev)->ipc_msg_data)) { in snd_sof_device_probe()
82 if (!runtime_resume && !sof_ops(sdev)->resume) in sof_resume()85 if (runtime_resume && !sof_ops(sdev)->runtime_resume) in sof_resume()116 if (!runtime_resume && sof_ops(sdev)->set_power_state && in sof_resume()207 if (!runtime_suspend && !sof_ops(sdev)->suspend) in sof_suspend()210 if (runtime_suspend && !sof_ops(sdev)->runtime_suspend) in sof_suspend()301 if (sof_ops(sdev)->remove && pm_ops && pm_ops->ctx_save) in snd_sof_dsp_power_down_notify()
333 struct snd_sof_dsp_ops *ops = sof_ops(sdev); in snd_sof_dbg_init()406 if (sof_ops(sdev)->dbg_dump && !sdev->dbg_dump_printed) { in snd_sof_dsp_dbg_dump()412 sof_ops(sdev)->dbg_dump(sdev, flags); in snd_sof_dsp_dbg_dump()425 if (sof_ops(sdev)->ipc_dump && !sdev->ipc_dump_printed) { in snd_sof_ipc_dump()427 sof_ops(sdev)->ipc_dump(sdev); in snd_sof_ipc_dump()
181 if (sof_ops(sdev) && sof_ops(sdev)->register_ipc_clients) in sof_register_clients()182 ret = sof_ops(sdev)->register_ipc_clients(sdev); in sof_register_clients()200 if (sof_ops(sdev) && sof_ops(sdev)->unregister_ipc_clients) in sof_unregister_clients()201 sof_ops(sdev)->unregister_ipc_clients(sdev); in sof_unregister_clients()
399 if (sof_ops(sdev)->pcm_pointer) in sof_pcm_pointer()400 return sof_ops(sdev)->pcm_pointer(sdev, substream); in sof_pcm_pointer()423 struct snd_sof_dsp_ops *ops = sof_ops(sdev); in sof_pcm_open()
324 load_module = sof_ops(sdev)->load_module; in sof_ipc3_load_fw_to_dsp()
355 sof_ops(sdev)->irq_thread(irq, sdev); in acp_irq_thread()
1097 sof_ops(sdev)->irq_thread(irq, sdev); in hda_dsp_interrupt_thread()1180 hdev->no_ipc_position = sof_ops(sdev)->pcm_pointer ? 1 : 0; in hda_dsp_probe()