Home
last modified time | relevance | path

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

/openbmc/linux/drivers/leds/
H A Dleds-pca963x.c113 unsigned long leds_on; member
204 unsigned long *leds_on = &led->chip->leds_on; in pca963x_power_state() local
205 unsigned long cached_leds = *leds_on; in pca963x_power_state()
208 set_bit(led->led_num, leds_on); in pca963x_power_state()
210 clear_bit(led->led_num, leds_on); in pca963x_power_state()
212 if (!(*leds_on) != !cached_leds) in pca963x_power_state()
214 *leds_on ? 0 : BIT(4)); in pca963x_power_state()
/openbmc/linux/drivers/input/keyboard/
H A Dlkkbd.c488 unsigned char leds_on = 0; in lkkbd_toggle_leds() local
491 CHECK_LED(lk, leds_on, leds_off, LED_CAPSL, LK_LED_SHIFTLOCK); in lkkbd_toggle_leds()
492 CHECK_LED(lk, leds_on, leds_off, LED_COMPOSE, LK_LED_COMPOSE); in lkkbd_toggle_leds()
493 CHECK_LED(lk, leds_on, leds_off, LED_SCROLLL, LK_LED_SCROLLLOCK); in lkkbd_toggle_leds()
494 CHECK_LED(lk, leds_on, leds_off, LED_SLEEP, LK_LED_WAIT); in lkkbd_toggle_leds()
495 if (leds_on != 0) { in lkkbd_toggle_leds()
497 serio_write(serio, leds_on); in lkkbd_toggle_leds()
/openbmc/u-boot/board/bachmann/ot1200/
H A Dot1200.c264 static void leds_on(void) in leds_on() function
327 leds_on(); in board_init()