STRUCT TPS6105X(9)
β¨ 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
- 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