STRUCT LM36274(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct lm36274(9) β€” like, the whole entire vibe ✨

okay so bestie, welcome to the struct lm36274 glow-up page from the Kernel API Manual β€” this is the little struct that holds literally everything the LM36274 LED driver needs to know about itself πŸŽ€ she's giving main character energy in ./drivers/leds and honestly? iconic.


✨ NAME ✨

struct lm36274 β€” no cap, that's the whole name. the original page left the description blank and I'm not gonna invent one for you πŸ™ˆ (iykyk β€” we don't make stuff up here).


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the structure in all her glory, character for character, don't touch a single one:

struct lm36274 {
    struct platform_device *pdev;
    struct led_classdev led_dev;
    struct ti_lmu_bank lmu_data;
    struct regmap *regmap;
    struct device *dev;
    u32 led_sources[LM36274_MAX_STRINGS];
    int num_leds;
 };

🌸 Members 🌸

time for the member-by-member vibe check πŸ”₯ each one gets her moment:

  • pdev β€” the platform device. that's her ✨
  • led_dev β€” the led class device. literally the LED side of the operation πŸ’‘
  • lmu_data β€” the register and setting values for the common code. shared, reusable, generous πŸ‘‘
  • regmap β€” the device's register map. where all the addresses live πŸ—ΊοΈ
  • dev β€” a pointer to the device's device struct. yes bestie, the pointer points 🫢
  • led_sources β€” the LED strings supported live in this array. she's sized LM36274_MAX_STRINGS, respect her bounds πŸ’…
  • num_leds β€” the number of LED strings supported in that array. the count, the receipts, the truth ⭐

πŸ’œ SEE ALSO πŸ’œ

  • Kernel file ./drivers/leds/leds-lm36274.c β€” go read the source, bestie, it ate πŸ’–

🧚 friendly reminder: this page is Kernel API Manual material, so the struct fields above are exact β€” don't go renaming anything or the vibe check fails fr fr πŸ’€

that's the whole page, periodt πŸŽ€ this cutie lives under ./drivers/leds, dated October 2026, and yes β€” she's still struct lm36274(9) in the footer, slay πŸ’…βœ¨

πŸ“¦ where this page comes from