STRUCT REGULATOR_STATE(9)
β¨ struct regulator_state(9) β¨
okay so bestie, welcome to the kernel API manual π«Ά β this one's all about struct regulator_state: what a regulator gets up to during low power system states π
π NAME π
struct regulator_state β regulator state during low power system states πΈ
π SYNOPSIS π
struct regulator_state {
int uV;
int min_uV;
int max_uV;
unsigned int mode;
int enabled;
bool changeable;
};
π Members π
uVβ the default operating voltage during suspend, and yes it can be adjusted among<min_uV, max_uV>πmin_uVβ the minimum suspend voltage that may be set βmax_uVβ the maximum suspend voltage that may be set βmodeβ operating mode during suspend πenabledβ operations during suspend β¨DO_NOTHING_IN_SUSPENDDISABLE_IN_SUSPENDENABLE_IN_SUSPEND
changeableβ is this state can be switched between enabled/disabled π
π¦ Description π¦
This describes a regulator's state during a system wide low power state, fr fr π«
One ofenabledordisabledmust be set for the configuration to be applied. no cap, it's literally required π
π SEE ALSO π
Kernel file ./include/linux/regulator/machine.h struct regulation_constraints(9), struct regulator_consumer_supply(9), struct regulator_init_data(9) π₯
k that's the whole page, bestie β go be iconic with your suspend voltages π β¨
source: ./include/linux/regulator Β· version/date: October 2026 Β· struct regulator_state(9) ππ«Ά
π¦ 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