STRUCT STW481X(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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, client shows up right there in the struct up in SYNOPSIS, but this page only gives a write-up for map. 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