Searched refs:leds_on (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/leds/ |
D | leds-pca963x.c | 114 unsigned long leds_on; member 205 unsigned long *leds_on = &led->chip->leds_on; in pca963x_power_state() local 206 unsigned long cached_leds = *leds_on; in pca963x_power_state() 209 set_bit(led->led_num, leds_on); in pca963x_power_state() 211 clear_bit(led->led_num, leds_on); in pca963x_power_state() 213 if (!(*leds_on) != !cached_leds) in pca963x_power_state() 215 *leds_on ? 0 : BIT(4)); in pca963x_power_state()
|
/linux-6.12.1/drivers/input/keyboard/ |
D | lkkbd.c | 488 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()
|