ipc_pm_set_s2idle_sleep(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

This page lives in the Kernel API Manual under the very cute name ipc_pm_set_s2idle_sleep(9).

ipc_pm_set_s2idle_sleep β€” sets the PM variables to sleep/active. That’s the whole vibe, bestie. πŸ’…


🌸 SYNOPSIS 🌸

void ipc_pm_set_s2idle_sleep (struct iosm_pm *ipc_pm , bool sleep );

No return value, no drama β€” it’s void, periodt. ✨


πŸŽ€ ARGUMENTS πŸŽ€

Okay so there are exactly two args, and they are both doing main character work:

  • ipc_pm β€” pointer to the power management component. It’s giving β€œhere’s the PM stuff you need” energy. 🫢
  • sleep β€” true to enter sleep, false to exit sleep. Literally the sleep switch, no cap. 😴

πŸ¦‹ SEE ALSO πŸ¦‹

Wanna go down the kernel rabbit hole? These are the references, bestie:

Kernel file: ./drivers/net/wwan/iosm/iosm_ipc_pm.h


Source/version: ./drivers/net/wwan/iosm Β· date: October 2026. Slay, bye bestie! πŸ’–πŸ¦‹βœ¨

πŸ“¦ where this page comes from