Searched refs:led_lock (Results 1 – 4 of 4) sorted by relevance
50 static DEFINE_MUTEX(led_lock);59 mutex_lock(&led_lock); in menf21bmc_led_set()73 mutex_unlock(&led_lock); in menf21bmc_led_set()
139 static DEFINE_SPINLOCK(led_lock);1151 spin_lock_irqsave(&led_lock, flags); in setledstate()1159 spin_unlock_irqrestore(&led_lock, flags); in setledstate()1185 spin_lock_irqsave(&led_lock, flags); in vt_get_leds()1187 spin_unlock_irqrestore(&led_lock, flags); in vt_get_leds()1224 spin_lock_irqsave(&led_lock, flags); in vt_kbd_con_start()1227 spin_unlock_irqrestore(&led_lock, flags); in vt_kbd_con_start()1241 spin_lock_irqsave(&led_lock, flags); in vt_kbd_con_stop()1244 spin_unlock_irqrestore(&led_lock, flags); in vt_kbd_con_stop()1258 spin_lock_irqsave(&led_lock, flags); in kbd_bh()[all …]
158 static void led_lock(struct led_classdev *cdev) in led_lock() function188 led_lock(cdev); \234 led_lock(cdev); in color_store()
663 struct mutex led_lock; /* serialize LED ctrl RMW access */ member848 mutex_lock(&tp->led_lock); in rtl8168_led_mod_ctrl()850 mutex_unlock(&tp->led_lock); in rtl8168_led_mod_ctrl()891 mutex_lock(&tp->led_lock); in rtl8125_set_led_mode()894 mutex_unlock(&tp->led_lock); in rtl8125_set_led_mode()5392 mutex_init(&tp->led_lock); in rtl_init_one()