Home
last modified time | relevance | path

Searched refs:led_access (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/media/v4l2-core/
H A Dv4l2-flash-led-class.c576 mutex_lock(&led_cdev->led_access); in v4l2_flash_open()
581 mutex_unlock(&led_cdev->led_access); in v4l2_flash_open()
585 mutex_lock(&led_cdev_ind->led_access); in v4l2_flash_open()
590 mutex_unlock(&led_cdev_ind->led_access); in v4l2_flash_open()
600 mutex_lock(&led_cdev->led_access); in v4l2_flash_open()
602 mutex_unlock(&led_cdev->led_access); in v4l2_flash_open()
606 mutex_lock(&led_cdev_ind->led_access); in v4l2_flash_open()
608 mutex_unlock(&led_cdev_ind->led_access); in v4l2_flash_open()
626 mutex_lock(&led_cdev->led_access); in v4l2_flash_close()
634 mutex_unlock(&led_cdev->led_access); in v4l2_flash_close()
[all …]
H A Dv4l2-subdev.c2547 mutex_lock(&sd->privacy_led->led_access); in v4l2_subdev_get_privacy_led()
2551 mutex_unlock(&sd->privacy_led->led_access); in v4l2_subdev_get_privacy_led()
2562 mutex_lock(&sd->privacy_led->led_access); in v4l2_subdev_put_privacy_led()
2564 mutex_unlock(&sd->privacy_led->led_access); in v4l2_subdev_put_privacy_led()
/linux/drivers/leds/rgb/
H A Dleds-group-multicolor.c59 mutex_lock(&led_cdev->led_access); in restore_sysfs_write_access()
61 mutex_unlock(&led_cdev->led_access); in restore_sysfs_write_access()
144 mutex_lock(&led_cdev->led_access); in leds_gmc_probe()
146 mutex_unlock(&led_cdev->led_access); in leds_gmc_probe()
/linux/drivers/leds/
H A Dled-class.c46 mutex_lock(&led_cdev->led_access); in brightness_store()
64 mutex_unlock(&led_cdev->led_access); in brightness_store()
514 mutex_init(&led_cdev->led_access); in led_classdev_register_ext()
515 mutex_lock(&led_cdev->led_access); in led_classdev_register_ext()
519 mutex_unlock(&led_cdev->led_access); in led_classdev_register_ext()
530 mutex_unlock(&led_cdev->led_access); in led_classdev_register_ext()
558 mutex_unlock(&led_cdev->led_access); in led_classdev_register_ext()
604 mutex_destroy(&led_cdev->led_access); in led_classdev_unregister()
H A Dled-class-flash.c45 mutex_lock(&led_cdev->led_access); in flash_brightness_store()
62 mutex_unlock(&led_cdev->led_access); in flash_brightness_store()
97 mutex_lock(&led_cdev->led_access); in flash_strobe_store()
116 mutex_unlock(&led_cdev->led_access); in flash_strobe_store()
145 mutex_lock(&led_cdev->led_access); in flash_timeout_store()
162 mutex_unlock(&led_cdev->led_access); in flash_timeout_store()
H A Dled-class-multicolor.c43 mutex_lock(&led_cdev->led_access); in multi_intensity_store()
67 mutex_unlock(&led_cdev->led_access); in multi_intensity_store()
H A Dled-triggers.c45 mutex_lock(&led_cdev->led_access); in led_trigger_write()
73 mutex_unlock(&led_cdev->led_access); in led_trigger_write()
H A Dled-core.c446 lockdep_assert_held(&led_cdev->led_access); in led_sysfs_disable()
455 lockdep_assert_held(&led_cdev->led_access); in led_sysfs_enable()
/linux/drivers/video/backlight/
H A Dled_bl.c213 mutex_lock(&priv->leds[i]->led_access); in led_bl_probe()
215 mutex_unlock(&priv->leds[i]->led_access); in led_bl_probe()
/linux/include/linux/
H A Dleds.h242 struct mutex led_access; member
/linux/drivers/staging/greybus/
H A Dlight.c160 mutex_lock(&cdev->led_access); in led_lock()
165 mutex_unlock(&cdev->led_access); in led_unlock()