STRUCT MT6323_LED(9)
π 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 partyparentβ the pointer to MT6323 LED controller π the main character she answers tocdevβ LED class device for this LED device β¨ her whole class-device situationcurrent_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
- 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