STRUCT STMPE_VARIANT_BLOCK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 each IORESOURCE_IRQ in the cell. 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