Searched refs:led_state_t (Results 1 – 6 of 6) sorted by relevance
28 enum led_state_t { enum47 int (*set_state)(struct udevice *dev, enum led_state_t state);55 enum led_state_t (*get_state)(struct udevice *dev);90 int led_set_state(struct udevice *dev, enum led_state_t state);98 enum led_state_t led_get_state(struct udevice *dev);
65 static enum led_state_t bcm6358_led_get_state(struct udevice *dev) in bcm6358_led_get_state()68 enum led_state_t state = LEDST_OFF; in bcm6358_led_get_state()82 static int bcm6358_led_set_state(struct udevice *dev, enum led_state_t state) in bcm6358_led_set_state()
34 int led_set_state(struct udevice *dev, enum led_state_t state) in led_set_state()44 enum led_state_t led_get_state(struct udevice *dev) in led_get_state()
60 static enum led_state_t bcm6328_led_get_state(struct udevice *dev) in bcm6328_led_get_state()63 enum led_state_t state = LEDST_OFF; in bcm6328_led_get_state()83 static int bcm6328_led_set_state(struct udevice *dev, enum led_state_t state) in bcm6328_led_set_state()
19 static int gpio_led_set_state(struct udevice *dev, enum led_state_t state) in gpio_led_set_state()43 static enum led_state_t gpio_led_get_state(struct udevice *dev) in gpio_led_get_state()
24 enum led_state_t get_led_cmd(char *var) in get_led_cmd()76 enum led_state_t cmd; in do_led()