_pwrdm_restore_clkdm_state(9)
π _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β thestruct 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 π.
_pwrdm_register(9)_pwrdm_save_clkdm_state_and_activate(9)pwrdm_register_platform_funcs(9)pwrdm_register_pwrdms(9)pwrdm_complete_init(9)pwrdm_lock(9)pwrdm_unlock(9)pwrdm_lookup(9)pwrdm_for_each(9)pwrdm_add_clkdm(9)pwrdm_get_mem_bank_count(9)pwrdm_set_next_pwrst(9)pwrdm_read_next_pwrst(9)pwrdm_read_pwrst(9)pwrdm_read_prev_pwrst(9)pwrdm_set_logic_retst(9)pwrdm_set_mem_onst(9)pwrdm_set_mem_retst(9)pwrdm_read_logic_pwrst(9)pwrdm_read_prev_logic_pwrst(9)pwrdm_read_logic_retst(9)pwrdm_read_mem_pwrst(9)pwrdm_read_prev_mem_pwrst(9)pwrdm_read_mem_retst(9)pwrdm_clear_all_prev_pwrst(9)pwrdm_enable_hdwr_sar(9)pwrdm_disable_hdwr_sar(9)pwrdm_has_hdwr_sar(9)pwrdm_get_valid_lp_state(9)omap_set_pwrdm_state(9)pwrdm_save_context(9)pwrdm_restore_context(9)
That's the whole page, bestie β source/version ./arch/arm/mach-omap2, dated October 2026. ππβ¨
π¦ 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