STRUCT AMD_HALO_LED_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

struct amd_halo_led_data β€” the driver's own private little data stash πŸ’…

okay so real quick, this is page struct amd_halo_led_data(9) from the Kernel API Manual, section 9 (the kernel-internals girlies, iykyk). It's literally just the struct where the AMD Halo LED driver keeps its own stuff. no cap, that's the whole vibe. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

struct amd_halo_led_data {
    struct wmi_device *wdev;
    struct led_classdev_mc led_mc;
    struct mc_subled subled_info[3];
    struct mutex lock;
 };

bestie, that's the whole shape of it. four members, iconic, no drama. ✨


🌸 Members 🌸

  • wdev β€” the WMI device pointer 🫢. yes, the pointer itself. that's the whole description and she ate.
  • led_mc β€” the LED multicolor class device 🌈. this is the multicolor one, not the plain one. important distinction, dont @ me.
  • subled_info β€” the RGB channel information πŸ“. it's an array of 3, so like… red, green, blue. the math is mathing.
  • lock β€” a mutex whose entire job is protecting the WMI calls πŸ”₯. she's the bodyguard. respect her.
fr fr, lock is a mutex to protect WMI calls β€” that's the stated purpose, and we are not out here inventing extra lore about it. πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

like, the whole friend group. the set/get/turn-off trio plus the brightness one. go say hi. πŸ’–


and that's the page!! mwah πŸ’‹ this little number lives under ./drivers/platform/x86/amd, dated October 2026, and it's filed as struct amd_halo_led_data(9) in the Kernel API Manual. periodt. 🌟

πŸ“¦ where this page comes from