pwrdm_set_next_pwrst(9)
β¨ pwrdm_set_next_pwrst β¨
okay bestie, welcome to the Kernel API Manual entry for pwrdm_set_next_pwrst(9) β yes that (9) means it's a kernel thing, she's fancy π
πΈ NAME πΈ
pwrdm_set_next_pwrst β set next powerdomain power state π
π¦ SYNOPSIS π¦
int pwrdm_set_next_pwrst (struct powerdomain *pwrdm , u8 pwrst );
π ARGUMENTS π
pwrdmβ thestruct powerdomain *you're setting, like, the actual powerdomain bestie in question β¨pwrstβ one of thePWRDM_POWER_*macros π
π«Ά DESCRIPTION π«Ά
So what this does is: it sets the next power state of the powerdomain pwrdm to pwrst. That's the whole vibe. π
But like β heads up β the powerdomain may not enter this state immediately if the preconditions for this state have not been satisfied. No cap, she'll wait until the prerequisites are met before actually sliding into that power state π
Return value tea β:
- returns
-EINVALif the powerdomain pointer is null, OR if the power state is invalid for the powerdomain π - returns
0upon success πβ
π§ SEE ALSO π§
Kernel file ./arch/arm/mach-omap2/powerdomain.c, plus literally the entire powerdomain friend group π:
_pwrdm_register(9)_pwrdm_save_clkdm_state_and_activate(9)_pwrdm_restore_clkdm_state(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_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)
and that's the page, bestie β no more, no less, don't @ me π
k so like, sign-off time πΈ β this lil masterpiece lives in ./arch/arm/mach-omap2, dated October 2026, and it's pwrdm_set_next_pwrst(9) in the Kernel API Manual. slay, go set some next power states π
β¨π
π¦ 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