prcmu_get_xp...urrent_state(9)
π NAME π
prcmu_get_xp70_current_state β bestie, this one just tells you the current XP70 power mode β¨
Okay so real quick, before we dive in β hi, welcome to the Kernel API Manual π, you're gonna do great, and this function is genuinely one of the chillest ones in the whole PRCMU crew. No cap.
πΈ SYNOPSIS πΈ
enum ap_pwrst prcmu_get_xp70_current_state (void );
That's it. That's the whole vibe. She takes nothing, she returns an enum ap_pwrst, she minds her business π
π¦ ARGUMENTS π¦
voidβ literally no arguments. Zero. Nada. Nothing to pass in, nothing to mess up π She asks for nothing and gives you the tea anyway.
β RETURN β
So she returns the current AP(ARM) power mode, and it's gonna be one of these, iykyk:
initapBootapExecuteapDeepSleepapSleepapIdleapReset
That's the whole set β like a little mood ring for your ARM core π Whichever one comes back, that's where your AP is at right now. Slay.
π§ SEE ALSO π§
The kernel file lives at ./drivers/mfd/db8500-prcmu.c β that's home base, go say hi π«Ά
And the whole friend group, in the order the manual gives them (yes, all of them, I'm not skipping a single one, bestie, we don't do that here):
prcmu_set_rc_a2p(9)prcmu_get_rc_p2a(9)prcmu_config_clkout(9)db8500_prcmu_set_arm_opp(9)db8500_prcmu_get_arm_opp(9)db8500_prcmu_get_ddr_opp(9)db8500_prcmu_set_ape_opp(9)db8500_prcmu_get_ape_opp(9)db8500_prcmu_request_ape_opp_100_voltage(9)prcmu_release_usb_wakeup_state(9)db8500_prcmu_set_epod(9)prcmu_configure_auto_pm(9)db8500_prcmu_request_clock(9)prcmu_abb_read(9)prcmu_abb_write_masked(9)prcmu_abb_write(9)prcmu_ac_wake_req(9)prcmu_ac_sleep_req(9)db8500_prcmu_system_reset(9)db8500_prcmu_get_reset_code(9)db8500_prcmu_modem_reset(9)
π Also quick heads up: the NAME line in the original is literallyprcmu_get_xp...urrent_state(9)up top β the title got truncated by the man renderer 'cause it's long. That's not a typo on your end, she just doesn't fit. The function's real full name isprcmu_get_xp70_current_state. π
β¨ and that's the whole page, bestie β¨ This one's from ./drivers/mfd, dated October 2026, and it's filed under prcmu_get_xp...urrent_state(9) β go forth and vibe check your power modes ππ
π¦ 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