STRUCT STW481X(9)
π NAME π
okay so struct stw481x β it's literally the state holder for the Stw481x drivers. that's the whole vibe. it holds the state. someone has to π«Ά
β¨ SYNOPSIS β¨
bestie, here's the shape of it, no cap:
struct stw481x {
struct i2c_client *client;
struct regmap *map;
};
like, that's it. two fields. main character energy in its most minimal form π
π Members π
mapβ the regmap handle you use to go touch the device registers. that's the one this page actually spells out for you β¨
ngl,clientshows up right there in the struct up in SYNOPSIS, but this page only gives a write-up formap. not me noticing π β just keeping it exactly as documented, fr fr.
π¦ SEE ALSO π¦
- Kernel file
./include/linux/mfd/stw481x.hβ go read it, iykyk π
and that's the whole page, bestie β short, sweet, iconic πΈ this one came from ./include/linux/mfd, dated October 2026, and it's section 9 of the Kernel API Manual, so you know it's kernel-business πβ¨ mwah, go read your headers πππ¦
π¦ 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