Searched refs:leds_on (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/leds/ |
D | leds-pca963x.c | 104 unsigned long leds_on; member 182 unsigned long *leds_on = &pca963x->chip->leds_on; in pca963x_power_state() local 183 unsigned long cached_leds = pca963x->chip->leds_on; in pca963x_power_state() 186 set_bit(pca963x->led_num, leds_on); in pca963x_power_state() 188 clear_bit(pca963x->led_num, leds_on); in pca963x_power_state() 190 if (!(*leds_on) != !cached_leds) in pca963x_power_state() 192 PCA963X_MODE1, *leds_on ? 0 : BIT(4)); in pca963x_power_state()
|
/Linux-v5.4/drivers/input/keyboard/ |
D | lkkbd.c | 491 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()
|