Home
last modified time | relevance | path

Searched refs:sof_ops (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/sound/soc/sof/
Dops.h21 #define sof_ops(sdev) \ macro
43 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 …]
Dcore.c274 sof_ops(sdev)->drv, in sof_probe_continue()
275 sof_ops(sdev)->num_drv); in sof_probe_continue()
300 if (!sof_ops(sdev)->runtime_suspend || !sof_ops(sdev)->runtime_resume) in sof_probe_continue()
378 if (!sof_ops(sdev) || !sof_ops(sdev)->probe || !sof_ops(sdev)->run || in snd_sof_device_probe()
379 !sof_ops(sdev)->block_read || !sof_ops(sdev)->block_write || in snd_sof_device_probe()
380 !sof_ops(sdev)->send_msg || !sof_ops(sdev)->load_firmware || in snd_sof_device_probe()
381 !sof_ops(sdev)->ipc_msg_data) { in snd_sof_device_probe()
Dpm.c82 if (!runtime_resume && !sof_ops(sdev)->resume) in sof_resume()
85 if (runtime_resume && !sof_ops(sdev)->runtime_resume) in sof_resume()
111 if (!runtime_resume && sof_ops(sdev)->set_power_state && in sof_resume()
189 if (!runtime_suspend && !sof_ops(sdev)->suspend) in sof_suspend()
192 if (runtime_suspend && !sof_ops(sdev)->runtime_suspend) in sof_suspend()
282 if (sof_ops(sdev)->remove && pm_ops && pm_ops->ctx_save) in snd_sof_dsp_power_down_notify()
Dsof-client.c147 if (sof_ops(sdev) && sof_ops(sdev)->register_ipc_clients) in sof_register_clients()
148 ret = sof_ops(sdev)->register_ipc_clients(sdev); in sof_register_clients()
163 if (sof_ops(sdev) && sof_ops(sdev)->unregister_ipc_clients) in sof_unregister_clients()
164 sof_ops(sdev)->unregister_ipc_clients(sdev); in sof_unregister_clients()
Ddebug.c333 struct snd_sof_dsp_ops *ops = sof_ops(sdev); in snd_sof_dbg_init()
405 if (sof_ops(sdev)->dbg_dump && !sdev->dbg_dump_printed) { in snd_sof_dsp_dbg_dump()
411 sof_ops(sdev)->dbg_dump(sdev, flags); in snd_sof_dsp_dbg_dump()
424 if (sof_ops(sdev)->ipc_dump && !sdev->ipc_dump_printed) { in snd_sof_ipc_dump()
426 sof_ops(sdev)->ipc_dump(sdev); in snd_sof_ipc_dump()
Dpcm.c375 if (sof_ops(sdev)->pcm_pointer) in sof_pcm_pointer()
376 return sof_ops(sdev)->pcm_pointer(sdev, substream); in sof_pcm_pointer()
399 struct snd_sof_dsp_ops *ops = sof_ops(sdev); in sof_pcm_open()
Dipc3-loader.c325 load_module = sof_ops(sdev)->load_module; in sof_ipc3_load_fw_to_dsp()
/linux-6.1.9/sound/soc/sof/amd/
Dacp.c340 sof_ops(sdev)->irq_thread(irq, sdev); in acp_irq_thread()
/linux-6.1.9/sound/soc/sof/intel/
Dhda.c986 sof_ops(sdev)->irq_thread(irq, sdev); in hda_dsp_interrupt_thread()
1065 hdev->no_ipc_position = sof_ops(sdev)->pcm_pointer ? 1 : 0; in hda_dsp_probe()