STRUCT SOF_IPC_PM_OPS(9)
π NAME π
okay bestie, welcome to the struct sof_ipc_pm_ops(9) page from the Kernel API Manual β this is literally the struct for IPC-specific PM ops. π
struct sof_ipc_pm_ops β IPC-specific PM ops
β¨ SYNOPSIS β¨
struct sof_ipc_pm_ops {
int (*ctx_save)(struct snd_sof_dev *sdev);
int (*ctx_restore)(struct snd_sof_dev *sdev);
int (*set_core_state)(struct snd_sof_dev *sdev, int core_idx, bool on);
int (*set_pm_gate)(struct snd_sof_dev *sdev, u32 flags);
};
π Members π
ctx_saveβ Optional function pointer for context save. Itβs giving βsave the vibe before things go down.β β¨ctx_restoreβ Optional function pointer for context restore. Bringing the context back like it never left. π«Άset_core_stateβ Optional function pointer for turning on/off a DSP core. Core says βonβ or βoff,β no cap. π₯set_pm_gateβ Optional function pointer for pm gate settings. Gatekeeping, but make it power management. π
π SEE ALSO π
Kernel file ./sound/soc/sof/sof-priv.h β and the whole friend group:
struct snd_sof_platform_stream_params(9)struct sof_firmware(9)struct sof_ipc_fw_tracing_ops(9)struct sof_ipc_fw_loader_ops(9)struct sof_ipc_ops(9)
Cute sign-off: this iconic page lives at./sound/soc/sof, dated October 2026, and itβs all aboutstruct sof_ipc_pm_ops(9). ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms