led_mc_set_brightness(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ led_mc_set_brightness β€” the Kernel API Manual glow-up ✨

Okay bestie, welcome to the Kernel API Manual page for led_mc_set_brightness(9) β€” yes, the multicolor LED function, and yes, she ate πŸ’…


🌸 NAME 🌸

led_mc_set_brightness β€” set mc LED color intensity values and brightness πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

void led_mc_set_brightness (struct led_classdev *led_cdev , unsigned int
*intensity_value , unsigned int num_colors , unsigned int brightness );

πŸ’– ARGUMENTS πŸ’–

  • led_cdev β€” the LED to set, like literally the main character here πŸ‘‘
  • intensity_value β€” array of per color intensity values to set, one lil entry per color 🌈
  • num_colors β€” amount of entries in intensity_value array, so she knows how many vibes she's working with ✨
  • brightness β€” the brightness to set the LED to, glow level unlocked πŸ”₯

πŸ’… DESCRIPTION πŸ’…

Set a multi-color LED's per color intensity values and brightness. If necessary, this cancels the software blink timer. This function is guaranteed not to sleep 😴🚫 β€” no nap time, periodt.

Calling this function on a non multi-color led_classdev or with the wrong num_colors value is an error. In this case an error will be logged once and the call will do nothing. Not me warning you β€” okay yes, me warning you: vibe check your args first, bestie 🫢


🌟 SEE ALSO 🌟


And that's the whole page, bestie β€” iconic, no cap. πŸ’œ

Sign-off time: this cutie lives in ./include/linux, dated October 2026, and she's officially led_mc_set_brightness(9). Go forth and glow responsibly πŸ§šβœ¨πŸŽ€

πŸ“¦ where this page comes from