_pwrdm_restore_clkdm_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… _pwrdm_restore_clkdm_state(9) πŸ’…

Welcome to the Kernel API Manual, bestie β€” this page is the whole group-chat explainer for _pwrdm_restore_clkdm_state ✨.

✨ NAME ✨

_pwrdm_restore_clkdm_state β€” restore the clkdm hwsup state after pwrst change πŸ¦‹

πŸ¦‹ SYNOPSIS πŸ¦‹

void _pwrdm_restore_clkdm_state (struct powerdomain *pwrdm , u8
       sleep_switch );

πŸŽ€ ARGUMENTS πŸŽ€

  • pwrdm β€” the struct powerdomain * you're operating on, periodt.
  • sleep_switch β€” the return value from _pwrdm_save_clkdm_state_and_activate, no cap.

🌸 DESCRIPTION 🌸

Okay so here's the vibe: this function restores the clockdomain state that got perturbed by _pwrdm_save_clkdm_state_and_activate, and it calls the power state bookkeeping code too. It's called by omap_set_pwrdm_state. πŸ’«

⚠️ NOTE: if the powerdomain contains multiple clockdomains, this assumes that the first associated clockdomain supports either hardware-supervised idle control in the register, or software-supervised sleep. No return value.

πŸ’– SEE ALSO πŸ’–

Kernel file: ./arch/arm/mach-omap2/powerdomain.c β€” that's where the lore lives, bestie πŸ“š.


That's the whole page, bestie β€” source/version ./arch/arm/mach-omap2, dated October 2026. πŸ’–πŸŽ€βœ¨

πŸ“¦ where this page comes from