Lines Matching +full:ipc +full:-
1 // SPDX-License-Identifier: GPL-2.0-only
5 #include "sof-priv.h"
9 if (!sdev->ipc->ops->fw_tracing) { in sof_fw_trace_init()
10 dev_info(sdev->dev, "Firmware tracing is not available\n"); in sof_fw_trace_init()
11 sdev->fw_trace_is_supported = false; in sof_fw_trace_init()
16 return sdev->ipc->ops->fw_tracing->init(sdev); in sof_fw_trace_init()
21 if (!sdev->fw_trace_is_supported || !sdev->ipc->ops->fw_tracing) in sof_fw_trace_free()
24 if (sdev->ipc->ops->fw_tracing->free) in sof_fw_trace_free()
25 sdev->ipc->ops->fw_tracing->free(sdev); in sof_fw_trace_free()
30 if (!sdev->fw_trace_is_supported) in sof_fw_trace_fw_crashed()
33 if (sdev->ipc->ops->fw_tracing->fw_crashed) in sof_fw_trace_fw_crashed()
34 sdev->ipc->ops->fw_tracing->fw_crashed(sdev); in sof_fw_trace_fw_crashed()
39 if (!sdev->fw_trace_is_supported) in sof_fw_trace_suspend()
42 sdev->ipc->ops->fw_tracing->suspend(sdev, pm_state); in sof_fw_trace_suspend()
47 if (!sdev->fw_trace_is_supported) in sof_fw_trace_resume()
50 return sdev->ipc->ops->fw_tracing->resume(sdev); in sof_fw_trace_resume()