STRUCT MLXCPLD_LED_PROFILE(9)
π struct mlxcpld_led_profile(9)
okay so bestie, welcome to the Kernel API Manual β¨ this one's about struct mlxcpld_led_profile β it's literally the system LED profile, and it's defined per system class π like, every system class gets its own vibe, iykyk.
πΈ SYNOPSIS πΈ
struct mlxcpld_led_profile {
u8 offset;
u8 mask;
u8 base_color;
enum led_brightness brightness;
const char *name;
};
no cap, that's the whole struct. five fields. iconic. π
π¦ Members π¦
offsetβ the offset for LED access in the CPLD device. that's where the LED lives, fr fr πmaskβ the mask for LED access in the CPLD device. it's giving bit-fiddling realness πbase_colorβ the base color code. yes bestie, the color οΏ½πbrightnessβ the default brightness setting, and it's literally on/off (type isenum led_brightness) π₯nameβ the LED name. gotta have a name, main character energy β
π SEE ALSO π
- Kernel file
./drivers/leds/leds-mlxcpld.c struct mlxcpld_param(9)struct mlxcpld_led_priv(9)struct mlxcpld_led_pdata(9)
go read those too, they're all in the same friend group π«Ά
ngl this struct is smol but she's doing her job and she's slaying πβ¨
okay bye bestie, this page came from ./drivers/leds and it's dated October 2026 β mwah, see u in the next manpage π§ββοΈπ
π¦ 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