Home
last modified time | relevance | path

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

/linux/drivers/leds/
H A 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/drivers/platform/x86/uniwill/
H A Duniwill-acpi.c348 struct mutex led_lock; /* Protects writes to the lightbar registers */ member
766 guard(mutex)(&data->led_lock); in rainbow_animation_store()
1249 guard(mutex)(&data->led_lock); in uniwill_led_brightness_set()
1295 ret = devm_mutex_init(data->dev, &data->led_lock); in uniwill_led_init()
/linux/drivers/staging/greybus/
H A 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()