Searched refs:leds_lock (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/drivers/hid/usbhid/
H A Dusbkbd.c88 * @leds_lock: spinlock that protects @leds, @newleds, and @led_urb_submitted
108 spinlock_t leds_lock; member in struct:usb_kbd
175 spin_lock_irqsave(&kbd->leds_lock, flags); usb_kbd_event()
181 spin_unlock_irqrestore(&kbd->leds_lock, flags); usb_kbd_event()
186 spin_unlock_irqrestore(&kbd->leds_lock, flags); usb_kbd_event()
198 spin_unlock_irqrestore(&kbd->leds_lock, flags); usb_kbd_event()
212 spin_lock_irqsave(&kbd->leds_lock, flags); usb_kbd_led()
216 spin_unlock_irqrestore(&kbd->leds_lock, flags); usb_kbd_led()
227 spin_unlock_irqrestore(&kbd->leds_lock, flags); usb_kbd_led()
307 spin_lock_init(&kbd->leds_lock); usb_kbd_probe()
/linux-4.4.14/drivers/net/wireless/b43legacy/
H A Dleds.c41 spin_lock_irqsave(&wl->leds_lock, flags); b43legacy_led_turn_on()
48 spin_unlock_irqrestore(&wl->leds_lock, flags); b43legacy_led_turn_on()
58 spin_lock_irqsave(&wl->leds_lock, flags); b43legacy_led_turn_off()
65 spin_unlock_irqrestore(&wl->leds_lock, flags); b43legacy_led_turn_off()
H A Db43legacy.h583 spinlock_t leds_lock; /* lock for leds */ member in struct:b43legacy_wl
H A Dmain.c3856 spin_lock_init(&wl->leds_lock); b43legacy_wireless_init()
/linux-4.4.14/drivers/macintosh/
H A Dadbhid.c634 static DEFINE_SPINLOCK(leds_lock);
641 spin_lock_irqsave(&leds_lock, flags); leds_done()
652 spin_unlock_irqrestore(&leds_lock, flags); leds_done()
662 spin_lock_irqsave(&leds_lock, flags); real_leds()
665 spin_unlock_irqrestore(&leds_lock, flags); real_leds()
677 spin_unlock_irqrestore(&leds_lock, flags); real_leds()

Completed in 182 milliseconds