Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/leds/
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()
/linux-6.3-rc2/drivers/input/keyboard/
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()

Completed in 6 milliseconds