STRUCT AMD_HALO_LED_DATA(9)
β¨ 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 of3, 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 π
- Kernel file
./drivers/platform/x86/amd/amd_halo_led.cβ go read the actual source, it's right there π§ amd_halo_wmi_turn_off(9)amd_halo_wmi_set_rgb(9)amd_halo_wmi_get_rgb(9)amd_halo_brightness_set(9)
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
- 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