STRUCT MLXCPLD_LED_PRIV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

okay so bestie, welcome to the struct mlxcpld_led_priv page β€” it's a kernel API manual, section 9, and it's literally just the LED private data struct. yes. that's the whole vibe. it's giving "small struct, big responsibility" πŸŽ€


✨ NAME ✨

struct mlxcpld_led_priv β€” the LED private data struct πŸ’… (the colon at the end is canon, don't come for me)


🌸 SYNOPSIS 🌸

here's the whole thing, bestie, look at it:

struct mlxcpld_led_priv {
    struct led_classdev cdev;
    struct mlxcpld_param param;
 };

that's it. two members. lowkey iconic for how tidy it is πŸ¦‹


🫢 Members 🫢

  • cdev β€” the LED class device instance 🌟 like, the actual LED-class-device-shaped thing living inside here.
  • param β€” the LED CPLD access parameters πŸ”‘ this is where the CPLD-access config hangs out.
no cap, there are exactly two members and you've now met both of them πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

go read these next, fr fr β€” kernel file ./drivers/leds/leds-mlxcpld.c, plus:

  • struct mlxcpld_param(9)
  • struct mlxcpld_led_profile(9)
  • struct mlxcpld_led_pdata(9)

and that's the page!! this lil cutie lives in ./drivers/leds and the version tag is stamped October 2026 ⭐ mwah, go forth and LED responsibly, bestie πŸ’œπŸ§šπŸ“

πŸ“¦ where this page comes from