STRUCT AB8500_EXT_REGULATOR_INFO(9)
β¨ NAME β¨
okay so this is the glow-up glossary for struct ab8500_ext_regulator_info β literally the ab8500 regulator information struct, bestie π
and yeah, we're chilling in the Kernel API Manual today, welcome π
πΈ SYNOPSIS πΈ
here's the whole vibe, character for character, no cap:
struct ab8500_ext_regulator_info {
struct device *dev;
struct regulator_desc desc;
struct ab8500_ext_regulator_cfg *cfg;
u8 update_bank;
u8 update_reg;
u8 update_mask;
u8 update_val;
u8 update_val_hp;
u8 update_val_lp;
u8 update_val_hw;
};
like... look at her. every single field accounted for π
π Members π
okay breaking down every single one because we do NOT skip fields in this house:
devβ the device pointer, aka the lil handle back to the device this whole thing belongs to π«Άdescβ the regulator description. yes babe, the actual description struct β¨cfgβ the regulator configuration, which is literally an extension of the regulator FW configuration. iykyk πupdate_bankβ the bank to control on/off πupdate_regβ the register to control on/off βupdate_maskβ the mask to enable/disable and set the mode of the regulator π₯update_valβ the bits holding the regulator's current mode π«update_val_hpβ the bits to set EN pin active (LPn pin deactive). normally this means high power mode β‘update_val_lpβ the bits to set EN pin active and LPn pin active. normally this means low power mode πupdate_val_hwβ the bits to set the regulator pins in HW control. the SysClkReq pins and logic will choose the mode, so it's giving hands-off main character energy π (no notes, the hardware decides)
not me listing all ten fields with full respect, because every single one is iconic in her own way π
π¦ SEE ALSO π¦
go read the kernel file, it's right here, don't be shy:
./drivers/regulator/ab8500-ext.c
and that's the whole page, bestie π fr fr. this masterpiece comes to you from ./drivers/regulator, dated October 2026 β mwah, slay, periodt ππ§
π¦ 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