STRUCT TPS65218(9)
π struct tps65218(9) π
okay so real talk, we're deep in the Kernel API Manual rn and this page is about struct tps65218 β the vibe is "sub-driver chip access routines" and honestly? iconic. it's a little struct that lets a sub-driver go talk to the chip. no cap. π
β¨ NAME β¨
struct tps65218 β the tps65218 sub-driver chip access routines. that's it, that's the whole name, she's lowkey humble about it π«Ά
πΈ SYNOPSIS πΈ
here's the whole fit, laid out exactly as declared β do not come for her fields, she needs every single one:
struct tps65218 {
struct device *dev;
unsigned int id;
u8 rev;
struct mutex tps_lock;
int irq;
u32 irq_mask;
struct regmap_irq_chip_data *irq_data;
struct regulator_desc desc[TPS65218_NUM_REGULATOR];
struct regmap *regmap;
u8 *strobes;
};
π Members π
so the member list is the cast above π β dev, id, rev, tps_lock, irq, irq_mask, irq_data, desc[TPS65218_NUM_REGULATOR], regmap, and strobes. every single one is a main character, and desc shows up with TPS65218_NUM_REGULATOR of them like she's bringing her whole friend group to the function π
ngl the header file is where the actual per-member lore lives (see SEE ALSO down below), this page is just doing the introductions β¨
π Description π
okay so the whole point, fr fr: device data may be used to access the TPS65218 chip. that's the assignment. you got the device data, you got chip access, go off π
π SEE ALSO π
- Kernel file
./include/linux/mfd/tps65218.hβ go read it, she's got the answers, iykyk π¦
and that's the page bestie!! π this little gem lives in ./include/linux/mfd, and the version fairy stamped it October 2026 β so go forth, access that chip, and slay π
β¨π
π¦ 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