Home
last modified time | relevance | path

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

/drivers/leds/
Dleds-pca963x.c112 unsigned long leds_on; member
189 unsigned long *leds_on = &led->chip->leds_on; in pca963x_power_state() local
190 unsigned long cached_leds = *leds_on; in pca963x_power_state()
193 set_bit(led->led_num, leds_on); in pca963x_power_state()
195 clear_bit(led->led_num, leds_on); in pca963x_power_state()
197 if (!(*leds_on) != !cached_leds) in pca963x_power_state()
199 *leds_on ? 0 : BIT(4)); in pca963x_power_state()
/drivers/input/keyboard/
Dlkkbd.c491 unsigned char leds_on = 0; in lkkbd_toggle_leds() local
494 CHECK_LED(lk, leds_on, leds_off, LED_CAPSL, LK_LED_SHIFTLOCK); in lkkbd_toggle_leds()
495 CHECK_LED(lk, leds_on, leds_off, LED_COMPOSE, LK_LED_COMPOSE); in lkkbd_toggle_leds()
496 CHECK_LED(lk, leds_on, leds_off, LED_SCROLLL, LK_LED_SCROLLLOCK); in lkkbd_toggle_leds()
497 CHECK_LED(lk, leds_on, leds_off, LED_SLEEP, LK_LED_WAIT); in lkkbd_toggle_leds()
498 if (leds_on != 0) { in lkkbd_toggle_leds()
500 serio_write(serio, leds_on); in lkkbd_toggle_leds()