STRUCT SOF_IPC_PM_OPS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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 about struct sof_ipc_pm_ops(9). πŸ’–πŸŽ€
πŸ“¦ where this page comes from