Home
last modified time | relevance | path

Searched refs:led_lock (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/leds/
Dleds-menf21bmc.c50 static DEFINE_MUTEX(led_lock);
59 mutex_lock(&led_lock); in menf21bmc_led_set()
73 mutex_unlock(&led_lock); in menf21bmc_led_set()
/linux-6.12.1/drivers/tty/vt/
Dkeyboard.c139 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 …]
/linux-6.12.1/drivers/staging/greybus/
Dlight.c158 static void led_lock(struct led_classdev *cdev) in led_lock() function
188 led_lock(cdev); \
234 led_lock(cdev); in color_store()
/linux-6.12.1/drivers/net/ethernet/realtek/
Dr8169_main.c663 struct mutex led_lock; /* serialize LED ctrl RMW access */ member
848 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()