Searched refs:LEDState (Results 1 – 5 of 5) sorted by relevance
/openbmc/qemu/include/hw/misc/ |
H A D | led.h | 36 struct LEDState { struct 54 typedef struct LEDState LEDState; typedef 55 DECLARE_INSTANCE_CHECKER(LEDState, LED, TYPE_LED) 62 void led_set_intensity(LEDState *s, unsigned intensity_percent); 70 unsigned led_get_intensity(LEDState *s); 79 void led_set_state(LEDState *s, bool is_emitting); 93 LEDState *led_create_simple(Object *parentobj,
|
H A D | mps2-fpgaio.h | 39 LEDState *led[MPS2FPGAIO_MAX_LEDS];
|
H A D | mps2-scc.h | 46 LEDState *led[8];
|
/openbmc/qemu/hw/misc/ |
H A D | led.c | 38 void led_set_intensity(LEDState *s, unsigned intensity_percent) in led_set_intensity() 51 unsigned led_get_intensity(LEDState *s) in led_get_intensity() 56 void led_set_state(LEDState *s, bool is_emitting) in led_set_state() 63 LEDState *s = LED(opaque); in led_set_state_gpio_handler() 71 LEDState *s = LED(dev); in led_reset() 81 VMSTATE_UINT8(intensity_percent, LEDState), 88 LEDState *s = LED(dev); in led_realize() 105 DEFINE_PROP_STRING("color", LEDState, color), 106 DEFINE_PROP_STRING("description", LEDState, description), 107 DEFINE_PROP_BOOL("gpio-active-high", LEDState, gpio_active_high, true), [all …]
|
/openbmc/qemu/hw/arm/ |
H A D | aspeed.c | 708 LEDState *led; in witherspoon_bmc_i2c_init()
|