STRUCT STPMIC1_REGULATOR_CFG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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