STRUCT MT6323_LED(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct mt6323_led(9) πŸ’–

okay bestie, welcome to the Kernel API Manual, we're doing kernel structs today and honestly? this one's a cutie. it's giving "small but important". no cap.


✨ NAME ✨

struct mt6323_led β€” the state container for the LED device πŸŽ€

like, it literally holds the state. that's the whole vibe. that's her job.


🌸 SYNOPSIS 🌸

struct mt6323_led {
    int id;
    struct mt6323_leds      *parent;
    struct led_classdev     cdev;
    enum led_brightness     current_brightness;
 };

look at her. four members. immaculate. 🫢


πŸ¦‹ Members πŸ¦‹

  • id β€” the identifier in MT6323 LED device πŸ’… like her little name tag at the party
  • parent β€” the pointer to MT6323 LED controller πŸ‘‘ the main character she answers to
  • cdev β€” LED class device for this LED device ✨ her whole class-device situation
  • current_brightness β€” current state of the LED device πŸ”₯ literally how bright she's shining rn

🌈 SEE ALSO 🌈

Kernel file ./drivers/leds/leds-mt6323.c β€” plus the whole friend group:

  • struct mt6323_regs(9)
  • struct mt6323_hwspec(9)
  • struct mt6323_data(9)
  • struct mt6323_leds(9)

go say hi. they're all in ./drivers/leds. iykyk 🧚


fr fr, that's the whole page. struct understood, vibes immaculate, LED state successfully contained. πŸ’€πŸ’–

and that's a wrap bestie β€” this one came from ./drivers/leds, dated October 2026, and you can cite it as struct mt6323_led(9) if anyone asks. slay. πŸ“β­

πŸ“¦ where this page comes from