Home
last modified time | relevance | path

Searched refs:intensity_percent (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/hw/misc/
H A Dled.c38 void led_set_intensity(LEDState *s, unsigned intensity_percent) in led_set_intensity() argument
40 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),
H A Dtrace-events346 led_set_intensity(const char *color, const char *desc, uint8_t intensity_percent) "LED desc:'%s' co…
/openbmc/qemu/include/hw/misc/
H A Dled.h41 uint8_t intensity_percent; member
62 void led_set_intensity(LEDState *s, unsigned intensity_percent);