STRUCT AB8500_REGULATOR_INFO(9)
π struct ab8500_regulator_info(9) π
okay bestie, welcome to the struct ab8500_regulator_info(9) page from the Kernel API Manual β yes, that's the manual name, we're being fancy today. This is the ab8500 regulator information struct, and she's got a lot of fields, so grab a snack π
β¨ NAME β¨
struct ab8500_regulator_info β ab8500 regulator information. that's it, that's the whole name, slay π
πΈ SYNOPSIS πΈ
struct ab8500_regulator_info {
struct device *dev;
struct regulator_desc desc;
struct ab8500_shared_mode *shared_mode;
int load_lp_uA;
u8 update_bank;
u8 update_reg;
u8 update_mask;
u8 update_val;
u8 update_val_idle;
u8 update_val_normal;
u8 mode_bank;
u8 mode_reg;
u8 mode_mask;
u8 mode_val_idle;
u8 mode_val_normal;
u8 voltage_bank;
u8 voltage_reg;
u8 voltage_mask;
};
look at her. seventeen fields. main character energy fr π₯
π Members π
okay so here's the member-by-member breakdown, iykyk:
devβ device pointer. the classic. every struct's bestie π«Άdescβ regulator description.shared_modeβ used when mode is shared between two regulators. sharing is caring, no cap β¨load_lp_uAβ maximum load in idle (low power) mode.update_bankβ bank to control on/off.update_regβ register to control on/off.update_maskβ mask to enable/disable and set mode of regulator.update_valβ bits holding the regulator current mode.update_val_idleβ bits to enable the regulator in idle (low power) mode. sleepy mode π΄update_val_normalβ bits to enable the regulator in normal (high power) mode. awake mode β‘mode_bankβ bank with location of mode register.mode_regβ mode register.mode_maskβ mask for setting mode.mode_val_idleβ mode setting for low power.mode_val_normalβ mode setting for normal power.voltage_bankβ bank to control regulator voltage.voltage_regβ register to control regulator voltage.voltage_maskβ mask to control regulator voltage.
notice how we've got the update_* squad, the mode_* squad, and the voltage_* squad? three little friend groups, each with a bank, a reg, and a mask. it's giving organization π
π¦ SEE ALSO π¦
- Kernel file
./drivers/regulator/ab8500.c struct ab8500_shared_mode(9)
go read those next, bestie, they're literally referenced right there π
lowkey a reminder: shared_mode only matters when the mode is shared between two regulators β don't forget or you'll be confused later π
π that's the whole page!! no cap, every field accounted for. this was struct ab8500...gulator_info(9) from the Kernel API Manual, sourced from ./drivers/regulator, dated October 2026 β catch you in the next manpage, 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