Searched refs:intensity_percent (Results 1 – 3 of 3) sorted by relevance
38 void led_set_intensity(LEDState *s, unsigned intensity_percent) in led_set_intensity() argument40 if (intensity_percent > LED_INTENSITY_PERCENT_MAX) { in led_set_intensity()41 intensity_percent = LED_INTENSITY_PERCENT_MAX; in led_set_intensity()43 trace_led_set_intensity(s->description, s->color, intensity_percent); in led_set_intensity()44 if (intensity_percent != s->intensity_percent) { in led_set_intensity()46 s->intensity_percent, intensity_percent); in led_set_intensity()48 s->intensity_percent = intensity_percent; in led_set_intensity()53 return s->intensity_percent; in led_get_intensity()81 VMSTATE_UINT8(intensity_percent, LEDState),
346 led_set_intensity(const char *color, const char *desc, uint8_t intensity_percent) "LED desc:'%s' co…
41 uint8_t intensity_percent; member62 void led_set_intensity(LEDState *s, unsigned intensity_percent);