STRUCT AB8500_SHARED_MODE(9)
β¨ 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 abool, 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 lowercaselpβ 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_regulatoris a pointer andlp_mode_reqis abool. 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
- 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