STRUCT GPIO_REGULATOR_STATE(9)
π struct gpio_regulator_state(9) π
okay so welcome to the Kernel API Manual page for struct gpio_regulator_state(9), bestie β it's literally the state-description era and we're obsessed. π¦β¨
π NAME π
struct gpio_regulator_state β state description. periodt, that's the name, no cap. π
β¨ SYNOPSIS β¨
struct gpio_regulator_state {
int value;
int gpios;
};
πΈ Members πΈ
valueβ microvolts or microamps. β‘gpiosβ bitfield of gpio target-states for the value. π
π¦ Description π¦
This structure describes a supported setting of the regulator and the necessary gpio-state to achieve it. fr fr, that's the whole vibe. π
The n-th bit in the bitfield describes the state of the n-th GPIO from the gpios-array defined in gpio_regulator_config below. iykyk πβ¨
π SEE ALSO π
Kernel file ./include/linux/regulator/gpio-regulator.h and struct gpio_regulator_config(9). π«Ά
okay that's a wrap, bestie: source/version is ./include/linux/regulator, date is October 2026, and it's struct gpio_regulator_state(9) all the way down β mwah ππ₯
π¦ 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