STRUCT TPS6105X(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct tps6105x(9) ✨

okay bestie, welcome to the Kernel API Manual β€” this one's all about struct tps6105x, the state holder for the TPS6105x drivers. think of it as the lil backpack that carries everything the driver needs around with it πŸŽ’πŸ’…


🌸 SYNOPSIS 🌸

struct tps6105x {
    struct tps6105x_platform_data *pdata;
    struct i2c_client       *client;
    struct regulator_dev    *regulator;
    struct regmap           *regmap;
 };

no cap, that's the whole vibe β€” four fields, all baddies, all doing their own lil job 🫢


πŸŽ€ Members πŸŽ€

  • pdata β€” the associated platform data. it's giving "here's the extra info the platform handed over" ✨
  • client β€” the corresponding I2C client. literally the connection to the device on the I2C bus, iconic πŸ’–
  • regulator β€” the regulator device, but only if this thing is being used in voltage mode. conditional queen πŸ‘‘
  • regmap β€” used for i2c communcation on accessing registers. that's the register-map middleman doing all the heavy lifting for you πŸ”₯

πŸ¦‹ SEE ALSO πŸ¦‹

  • the kernel file ./include/linux/mfd/tps6105x.h
  • enum tps6105x_mode(9)
  • struct tps6105x_platform_data(9)

go read those next, iykyk πŸ“š


bestie reminder: regmap is spelled exactly like that, and yeah, the original really does say "communcation" β€” we don't fix, we report πŸ™ˆ

and that's the whole page, mwah πŸ’‹ this masterpiece lives in ./include/linux/mfd, dated October 2026, and it's officially struct tps6105x(9) β€” slay, periodt, go read the actual header πŸ§šβ€β™€οΈπŸ’œ

πŸ“¦ where this page comes from