pwrdm_read_next_pwrst(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the Kernel API Manual corner of the group chat β€” this page is literally about pwrdm_read_next_pwrst, and it's giving β€œpeek at the next power state” energy. ✨

πŸ“› NAME πŸ“›

pwrdm_read_next_pwrst β€” get next powerdomain power state. that's the whole name vibe, no cap. 🫢

πŸ› οΈ SYNOPSIS πŸ› οΈ

int pwrdm_read_next_pwrst (struct powerdomain *pwrdm );

πŸŽ€ ARGUMENTS πŸŽ€

  • pwrdm β€” a struct powerdomain * to get power state. that's the powerdomain pointer you're handing over for the vibe check. πŸŽ€

πŸ” DESCRIPTION πŸ”

okay so this function returns the powerdomain pwrdm's next power state. lowkey simple. if the powerdomain pointer is null, it returns -EINVAL; on success, it returns the next power state. periodt. πŸ’…

bestie, null pointer means -EINVAL β€” that's the error code, not a suggestion. 🚨

πŸ‘€ SEE ALSO πŸ‘€

Kernel file ./arch/arm/mach-omap2/powerdomain.c plus the whole entourage: _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_set_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 page, bestie! source/version: ./arch/arm/mach-omap2 Β· date: October 2026 Β· page tag: pwrdm_read_next_pwrst(9) β€” mwah πŸ’–

πŸ“¦ where this page comes from