led_mc_calc_...r_components(9)
hiii bestie π welcome to the Kernel API Manual page for led_mc_calc_...r_components(9). buckle up, it's short but iconic.
π NAME π
led_mc_calc_color_components β Calculates component brightness values of a LED cluster.
and the original NAME section also slides in these two at-sign notes:
@mcled_cdevβ Multicolor LED class device of the LED cluster.@brightnessβ Global brightness of the LED cluster.
(yes bestie, those are chilling in NAME, not ARGUMENTS β the plot thickens π)
β¨ SYNOPSIS β¨
int led_mc_calc_color_components (struct led_classdev_mc *mcled_cdev , enum led_brightness brightness );
π ARGUMENTS π
okay so the ARGUMENTS section is literally giving mystery-box energy, because both entries are marked -- undescribed -- in the original. no cap.
mcled_cdevβ-- undescribed --brightnessβ-- undescribed --
the only extra context the page gives us is that NAME-section note above: @mcled_cdev is the Multicolor LED class device of the LED cluster, and @brightness is the Global brightness of the LED cluster. that's the whole tea π
π¦ DESCRIPTION π¦
Calculates the brightness values for each color component of a monochrome LED cluster. that's the function's whole thing. for the details, the original sends you straight to Documentation/leds/leds-class-multicolor.rst β go read it, iykyk πβ¨
π SEE ALSO π
- Kernel file
./include/linux/led-class-multicolor.h struct mc_subled(9)led_classdev_multicolor_register_ext(9)led_classdev_multicolor_unregister(9)
mwah π
that's the page! source/version is ./include/linux, date is October 2026, and the footer title is led_mc_calc_...r_components(9). bye bestie, go slay some LED clusters π«Άπ
π¦ 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