STRUCT MT6316_REGULATOR_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

struct mt6316_regulator_info β€” the whole vibe check on MT6316 regulators info πŸ’…

okay so welcome to the Kernel API Manual, bestie β€” this is the page about the struct that holds all the deets for the MT6316 regulators πŸŽ€


✨ SYNOPSIS ✨

struct mt6316_regulator_info {
    struct regulator_desc desc;
    u16 debug_reg;
    u16 lp_mode_reg;
    u16 lp_mode_mask;
    u16 modeset_reg;
    u16 modeset_mask;
 };

like, that's the whole shape of it πŸ¦‹ nothing extra, no cap


🌸 Members 🌸

the fields, one by one, no skips 🫢

  • desc β€” the regulator description structure itself β€” the main character of this struct, honestly πŸ‘‘
  • debug_reg β€” the debug register that tells you the regulator's status πŸ” lowkey the nosy one
  • lp_mode_reg β€” the Low Power mode register, for normal/idle β€” yes it handles both, slay 😴
  • lp_mode_mask β€” the Low Power mode regulator mask 🎭 it masks, that's the job
  • modeset_reg β€” the AUTO/PWM mode register ⚑ both modes, living in one field
  • modeset_mask β€” the AUTO/PWM regulator mask πŸŽ€ same energy, masks for the AUTO/PWM side

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/regulator/mt6316-regulator.c β€” go read the source, iykyk πŸ“–βœ¨


fr fr that's everything β€” every member, every mask, every register. nothing dropped, bestie πŸ’–

and that's the page!! brought to you from ./drivers/regulator, dated October 2026, in the Kernel API Manual β€” mwah, periodt πŸ’…πŸŽ€

πŸ“¦ where this page comes from