STRUCT STPMIC1_REGULATOR_CFG(9)
π struct stpmic1_regulator_cfg(9) β the Kernel API Manual, bestie edition π
okay so this is a page from the Kernel API Manual and we're talking about struct stpmic1_regulator_cfg β genuinely one of those little structs that's just out here doing its job as driver data. no cap, it's lowkey iconic in a "supporting character who carries the whole plot" way. π
β¨ NAME β¨
struct stpmic1_regulator_cfg β this structure is used as driver data π
πΈ SYNOPSIS πΈ
struct stpmic1_regulator_cfg {
struct regulator_desc desc;
u8 mask_reset_reg;
u8 mask_reset_mask;
u8 icc_reg;
u8 icc_mask;
};
that's the whole vibe. four little u8 fields plus a struct regulator_desc and honestly? she ate. π«Ά
π¦ Members π¦
descβ the regulator framework description. this is the main character field, fr fr. βmask_reset_regβ the mask reset register address. yes, an address. she's got a location. πmask_reset_maskβ the mask rank and mask reset register mask. it's masks on masks, bestie, don't overthink it, just know both of those things live here. πicc_regβ the icc register address. another address, another moment. π₯icc_maskβ the icc register mask. and that's the mask for that register. slay. π
π SEE ALSO π
- Kernel file
./drivers/regulator/stpmic1_regulator.cβ like, literally go read the source if you want the full story, iykyk π
okay that's the whole page, you made it to the end, so proud of you π₯Ήπ this cutie lives under ./drivers/regulator and the manual's dated October 2026 β so like, future energy ngl πβ¨ 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