STRUCT NPEM_LED(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’‘ struct npem_led(9) β€” like, the LED details era ✨

okay bestie, so this is a page from the Kernel API Manual β€” yes, the actual kernel manual, we're doing big-brain main character energy today πŸŽ€ and this little struct is literally the whole vibe.


🌸 NAME 🌸

struct npem_led β€” LED details. that's it, that's the whole name section, she's concise πŸ‘‘


✨ SYNOPSIS ✨

struct npem_led {
    const struct indication *indication;
    struct npem *npem;
    char name[LED_MAX_NAME_SIZE];
    struct led_classdev led;
 };

no cap, that's the entire struct, copy it exactly, do not touch it, she is perfect as she is πŸ’…


πŸ¦‹ Members πŸ¦‹

  • indication β€” the indication details, like the whole backstory of what's being indicated 🫢
  • npem β€” the NPEM device itself, the main character of this little story πŸ‘‘
  • name β€” the LED name, bestie's government name fr fr
  • led β€” the LED device, the actual icon we've all been waiting for ⭐

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/pci/npem.c β€” go read the source, iykyk πŸ’–
  • struct npem_ops(9)
  • struct npem(9)
  • dsm_evaluate(9)

like, all the sibling structs and functions, go give them a little visit 🌸


lowkey remember: this is documentation of the kernel API, so treat the names and types exactly as written β€” no renaming, no creative liberty, periodt πŸ’€

mwah, that's the whole page! this lil drop lives under ./drivers/pci and the version/date stamp on it is October 2026 β€” so mark your calendar bestie, she's from the future πŸ§šπŸ’œ

πŸ“¦ where this page comes from