/Linux-v4.19/drivers/video/backlight/ |
D | lcd.c | 48 mutex_lock(&ld->ops_lock); in fb_notifier_callback() 66 mutex_unlock(&ld->ops_lock); in fb_notifier_callback() 98 mutex_lock(&ld->ops_lock); in lcd_power_show() 103 mutex_unlock(&ld->ops_lock); in lcd_power_show() 121 mutex_lock(&ld->ops_lock); in lcd_power_store() 127 mutex_unlock(&ld->ops_lock); in lcd_power_store() 139 mutex_lock(&ld->ops_lock); in contrast_show() 142 mutex_unlock(&ld->ops_lock); in contrast_show() 160 mutex_lock(&ld->ops_lock); in contrast_store() 166 mutex_unlock(&ld->ops_lock); in contrast_store() [all …]
|
D | backlight.c | 53 mutex_lock(&bd->ops_lock); in fb_notifier_callback() 76 mutex_unlock(&bd->ops_lock); in fb_notifier_callback() 144 mutex_lock(&bd->ops_lock); in bl_power_store() 159 mutex_unlock(&bd->ops_lock); in bl_power_store() 178 mutex_lock(&bd->ops_lock); in backlight_device_set_brightness() 188 mutex_unlock(&bd->ops_lock); in backlight_device_set_brightness() 237 mutex_lock(&bd->ops_lock); in actual_brightness_show() 242 mutex_unlock(&bd->ops_lock); in actual_brightness_show() 255 mutex_lock(&bd->ops_lock); in backlight_suspend() 260 mutex_unlock(&bd->ops_lock); in backlight_suspend() [all …]
|
/Linux-v4.19/fs/dlm/ |
D | plock.c | 19 static spinlock_t ops_lock; variable 68 spin_lock(&ops_lock); in send_op() 70 spin_unlock(&ops_lock); in send_op() 152 spin_lock(&ops_lock); in dlm_posix_lock() 154 spin_unlock(&ops_lock); in dlm_posix_lock() 164 spin_lock(&ops_lock); in dlm_posix_lock() 170 spin_unlock(&ops_lock); in dlm_posix_lock() 197 spin_lock(&ops_lock); in dlm_plock_callback() 203 spin_unlock(&ops_lock); in dlm_plock_callback() 296 spin_lock(&ops_lock); in dlm_posix_unlock() [all …]
|
/Linux-v4.19/drivers/rtc/ |
D | interface.c | 116 err = mutex_lock_interruptible(&rtc->ops_lock); in rtc_read_time() 121 mutex_unlock(&rtc->ops_lock); in rtc_read_time() 142 err = mutex_lock_interruptible(&rtc->ops_lock); in rtc_set_time() 161 mutex_unlock(&rtc->ops_lock); in rtc_set_time() 174 err = mutex_lock_interruptible(&rtc->ops_lock); in rtc_read_alarm_internal() 197 mutex_unlock(&rtc->ops_lock); in rtc_read_alarm_internal() 385 err = mutex_lock_interruptible(&rtc->ops_lock); in rtc_read_alarm() 397 mutex_unlock(&rtc->ops_lock); in rtc_read_alarm() 460 err = mutex_lock_interruptible(&rtc->ops_lock); in rtc_set_alarm() 471 mutex_unlock(&rtc->ops_lock); in rtc_set_alarm() [all …]
|
D | rtc-dev.c | 219 err = mutex_lock_interruptible(&rtc->ops_lock); in rtc_dev_ioctl() 262 mutex_unlock(&rtc->ops_lock); in rtc_dev_ioctl() 273 mutex_unlock(&rtc->ops_lock); in rtc_dev_ioctl() 325 mutex_unlock(&rtc->ops_lock); in rtc_dev_ioctl() 336 mutex_unlock(&rtc->ops_lock); in rtc_dev_ioctl() 352 mutex_unlock(&rtc->ops_lock); in rtc_dev_ioctl() 356 mutex_unlock(&rtc->ops_lock); in rtc_dev_ioctl() 360 mutex_unlock(&rtc->ops_lock); in rtc_dev_ioctl() 364 mutex_unlock(&rtc->ops_lock); in rtc_dev_ioctl() 376 mutex_unlock(&rtc->ops_lock); in rtc_dev_ioctl() [all …]
|
D | rtc-isl12026.c | 301 ret = mutex_lock_interruptible(&priv->rtc->ops_lock); in isl12026_nvm_read() 311 mutex_unlock(&priv->rtc->ops_lock); in isl12026_nvm_read() 342 ret = mutex_lock_interruptible(&priv->rtc->ops_lock); in isl12026_nvm_write() 374 mutex_unlock(&priv->rtc->ops_lock); in isl12026_nvm_write()
|
D | rtc-asm9260.c | 123 mutex_lock(&priv->rtc->ops_lock); in asm9260_rtc_irq() 126 mutex_unlock(&priv->rtc->ops_lock); in asm9260_rtc_irq() 131 mutex_unlock(&priv->rtc->ops_lock); in asm9260_rtc_irq()
|
D | class.c | 173 mutex_init(&rtc->ops_lock); in rtc_allocate_device() 364 mutex_lock(&rtc->ops_lock); in rtc_device_unregister() 372 mutex_unlock(&rtc->ops_lock); in rtc_device_unregister()
|
D | rtc-rx8010.c | 79 mutex_lock(&rx8010->rtc->ops_lock); in rx8010_irq_1_handler() 84 mutex_unlock(&rx8010->rtc->ops_lock); in rx8010_irq_1_handler() 108 mutex_unlock(&rx8010->rtc->ops_lock); in rx8010_irq_1_handler()
|
D | rtc-ds1307.c | 381 struct mutex *lock = &ds1307->rtc->ops_lock; in ds1307_irq() 660 struct mutex *lock = &ds1307->rtc->ops_lock; in rx8130_irq() 825 struct mutex *lock = &ds1307->rtc->ops_lock; in mcp794xx_irq() 1151 struct mutex *lock = &ds1307->rtc->ops_lock; in ds1337_write_control() 1261 struct mutex *lock = &ds1307->rtc->ops_lock; in ds3231_clk_32khz_control()
|
D | rtc-ac100.c | 539 mutex_lock(&chip->rtc->ops_lock); in ac100_rtc_irq() 562 mutex_unlock(&chip->rtc->ops_lock); in ac100_rtc_irq()
|
D | rtc-stm32.c | 212 mutex_lock(&rtc->rtc_dev->ops_lock); in stm32_rtc_alarm_irq() 229 mutex_unlock(&rtc->rtc_dev->ops_lock); in stm32_rtc_alarm_irq()
|
D | rtc-mcp795.c | 363 struct mutex *lock = &rtc->ops_lock; in mcp795_irq()
|
D | rtc-hym8563.c | 441 struct mutex *lock = &hym8563->rtc->ops_lock; in hym8563_irq()
|
D | rtc-rx8025.c | 149 struct mutex *lock = &rx8025->rtc->ops_lock; in rx8025_handle_irq()
|
D | rtc-ds3232.c | 409 struct mutex *lock = &ds3232->rtc->ops_lock; in ds3232_irq()
|
D | rtc-ds1305.c | 446 struct mutex *lock = &ds1305->rtc->ops_lock; in ds1305_work()
|
D | rtc-m41t80.c | 165 struct mutex *lock = &m41t80->rtc->ops_lock; in m41t80_handle_irq()
|
D | rtc-rv3029c2.c | 336 struct mutex *lock = &rv3029->rtc->ops_lock; in rv3029_handle_irq()
|
/Linux-v4.19/samples/vfio-mdev/ |
D | mbochs.c | 145 struct mutex ops_lock; member 232 WARN_ON(!mutex_is_locked(&mdev_state->ops_lock)); in mbochs_check_framebuffer() 378 mutex_lock(&mdev_state->ops_lock); in mdev_access() 419 mutex_unlock(&mdev_state->ops_lock); in mdev_access() 467 mutex_init(&mdev_state->ops_lock); in mbochs_create() 617 WARN_ON(!mutex_is_locked(&mdev_state->ops_lock)); in __mbochs_get_page() 638 mutex_lock(&mdev_state->ops_lock); in mbochs_get_page() 640 mutex_unlock(&mdev_state->ops_lock); in mbochs_get_page() 650 WARN_ON(!mutex_is_locked(&mdev_state->ops_lock)); in mbochs_put_pages() 801 mutex_lock(&mdev_state->ops_lock); in mbochs_release_dmabuf() [all …]
|
D | mtty.c | 139 struct mutex ops_lock; member 670 mutex_lock(&mdev_state->ops_lock); in mdev_access() 725 mutex_unlock(&mdev_state->ops_lock); in mdev_access() 767 mutex_init(&mdev_state->ops_lock); in mtty_create() 948 mutex_lock(&mdev_state->ops_lock); in mtty_set_irqs() 1031 mutex_unlock(&mdev_state->ops_lock); in mtty_set_irqs() 1089 mutex_lock(&mdev_state->ops_lock); in mtty_get_region_info() 1115 mutex_unlock(&mdev_state->ops_lock); in mtty_get_region_info()
|
D | mdpy.c | 93 struct mutex ops_lock; member 182 mutex_lock(&mdev_state->ops_lock); in mdev_access() 210 mutex_unlock(&mdev_state->ops_lock); in mdev_access() 262 mutex_init(&mdev_state->ops_lock); in mdpy_create()
|
/Linux-v4.19/include/linux/ |
D | lcd.h | 72 struct mutex ops_lock; member
|
D | backlight.h | 99 struct mutex ops_lock; member
|
D | rtc.h | 109 struct mutex ops_lock; member
|