STRUCT TPS6594_PFSM(9)
π¦ struct tps6594_pfsm(9) β the lil' device-private-data glow-up
okay bestie, so this is a page straight out of the Kernel API Manual and honestly? it's a short one, but it's iconic in its own lowkey way. no cap. let's get into it β¨
β¨ NAME β¨
struct tps6594_pfsm β the device private data structure π
like, this is the little bundle of info that belongs to this specific device and nobody else's. main character energy, fr fr.
πΈ SYNOPSIS πΈ
struct tps6594_pfsm {
struct miscdevice miscdev;
struct regmap *regmap;
unsigned long chip_id;
};
that's the whole struct, and it's giving "small but mighty" π«Ά three members, all serving their purpose, no filler.
π Members π
miscdevβ the misc device infos π§ this is where the misc-device side of things lives.regmapβ theregmapfor accessing the device registers π yes, the regmap, the one that lets you touch the device's registers. key detail, iykyk.chip_idβ the chip identifier of the device π₯ literally the chip's ID. that's it, that's the vibe.
ngl bestie, there are only three members here, so there's zero excuse not to remember them π
π SEE ALSO π
- Kernel file
./drivers/misc/tps6594-pfsm.cβ go read the source, it's right there π
and that's the whole thing! short, sweet, and honestly kind of a slay π this one came from ./drivers/misc, dated October 2026, in the struct tps6594_pfsm(9) era of the Kernel API Manual. mwah π see u at the next man page bestie π¦β¨π
π¦ 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