STRUCT MLXCPLD_LED_PROFILE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 is enum 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