STRUCT STMPE_VARIANT_BLOCK(9)
π struct stmpe_variant_block(9) β the Kernel API Manual, but make it cute
okay so bestie, this is struct stmpe_variant_block from the Kernel API Manual and it's literally just a little three-field glow-up that tells you everything about a block. no cap, it's small but it's doing a lot of work. π«Ά
β¨ NAME β¨
struct stmpe_variant_block β information about block πΈ
like, the entire job of this struct is holding block info. that's it. that's the vibe.
π SYNOPSIS π
struct stmpe_variant_block {
const struct mfd_cell *cell;
int irq;
enum stmpe_block block;
};
three members. three. and every one of them matters, so let's get into it π
π¦ Members π¦
cellβ the base mfd cell. yep, that's the whole description, and it's giving "confident and brief" β¨irqβ the interrupt number, and here's the tea: this one gets added to eachIORESOURCE_IRQin thecell. not just one. each. π₯blockβ the block id π and what's it for? identification with platform data, plus the enable and altfunc callbacks. so basically it's the block's whole personality badge. iconic.
π SEE ALSO π
- the Kernel file
./drivers/mfd/stmpe.h struct stmpe_variant_info(9)struct stmpe_client_info(9)
go read those if you want the full lore, iykyk π
heads up bestie: that path and those two struct refs are written exactly like the original, so if you're grepping, use them character for character π
and that's the whole page, fr fr β no hidden fields, no secret extras, just three members living their truth π§
that's the .//drivers/mfd section, October 2026 edition, and the header/footer said struct stmpe_variant_block(9) on both ends β mwah, love u, go read your kernel headers ππ
π¦ 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