Searched refs:LEDST_ON (Results 1 – 6 of 6) sorted by relevance
37 ut_asserteq(LEDST_ON, led_get_state(dev)); in dm_test_led_default_state()59 ut_assertok(led_set_state(dev, LEDST_ON)); in dm_test_led_gpio()61 ut_asserteq(LEDST_ON, led_get_state(dev)); in dm_test_led_gpio()86 ut_asserteq(LEDST_ON, led_get_state(dev)); in dm_test_led_toggle()
72 state = (priv->active_low ? LEDST_ON : LEDST_OFF); in bcm6358_led_get_state()75 state = (priv->active_low ? LEDST_OFF : LEDST_ON); in bcm6358_led_get_state()91 case LEDST_ON: in bcm6358_led_set_state()96 return bcm6358_led_set_state(dev, LEDST_ON); in bcm6358_led_set_state()
73 state = (priv->active_low ? LEDST_ON : LEDST_OFF); in bcm6328_led_get_state()76 state = (priv->active_low ? LEDST_OFF : LEDST_ON); in bcm6328_led_get_state()97 case LEDST_ON: in bcm6328_led_set_state()102 return bcm6328_led_set_state(dev, LEDST_ON); in bcm6328_led_set_state()
28 case LEDST_ON: in gpio_led_set_state()54 return ret ? LEDST_ON : LEDST_OFF; in gpio_led_get_state()75 gpio_led_set_state(dev, LEDST_ON); in led_gpio_probe()
17 [LEDST_ON] = "on",106 case LEDST_ON: in do_led()
30 LEDST_ON = 1, enumerator