STRUCT AB8500_SHARED_MODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct ab8500_shared_mode ✨

Okay bestie, so this is a page from the Kernel API Manual, and it's about struct ab8500_shared_mode β€” and honestly? The name says it all πŸŽ€ It's the lil struct used when mode is shared between two regulators. Two regulators, one mode, sharing is caring, periodt πŸ’…


🌸 SYNOPSIS 🌸

Here's the whole vibe, exactly as written:

struct ab8500_shared_mode {
    struct ab8500_regulator_info *shared_regulator;
    bool lp_mode_req;
 };

That's it, that's the struct β€” two members, zero drama ✨


πŸ’– Members πŸ’–

  • shared_regulator β€” this one's a pointer to the other sharing regulator πŸ‘―β€β™€οΈ like, it literally points at its partner in crime, the regulator it's sharing a mode with. Bestie behaviour fr fr.
  • lp_mode_req β€” the low power mode requested by this regulator πŸŒ™ it's a bool, so it's a simple yes/no, and it's this regulator's own little request. Not the other one's. Just hers. Main character energy πŸ‘‘ (Side note: lowkey love that it's lowercase lp β€” low power, iykyk.)

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/regulator/ab8500.c β€” go read the source, bestie, it's all there πŸ“–
  • struct ab8500_regulator_info(9) β€” the related struct, definitely worth a peek πŸ‘€

⭐ Quick vibe check reminder: shared_regulator is a pointer and lp_mode_req is a bool. Don't get it twisted πŸ’€

That's the whole page, no cap 🌈 It's from ./drivers/regulator, dated October 2026, and it came to you straight from the Kernel API Manual β€” mwah, love that for us πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from