Home
last modified time | relevance | path

Searched refs:ops_lock (Results 1 – 25 of 26) sorted by relevance

12

/Linux-v4.19/drivers/video/backlight/
Dlcd.c48 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 …]
Dbacklight.c53 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/
Dplock.c19 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/
Dinterface.c116 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 …]
Drtc-dev.c219 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 …]
Drtc-isl12026.c301 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()
Drtc-asm9260.c123 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()
Dclass.c173 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()
Drtc-rx8010.c79 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()
Drtc-ds1307.c381 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()
Drtc-ac100.c539 mutex_lock(&chip->rtc->ops_lock); in ac100_rtc_irq()
562 mutex_unlock(&chip->rtc->ops_lock); in ac100_rtc_irq()
Drtc-stm32.c212 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()
Drtc-mcp795.c363 struct mutex *lock = &rtc->ops_lock; in mcp795_irq()
Drtc-hym8563.c441 struct mutex *lock = &hym8563->rtc->ops_lock; in hym8563_irq()
Drtc-rx8025.c149 struct mutex *lock = &rx8025->rtc->ops_lock; in rx8025_handle_irq()
Drtc-ds3232.c409 struct mutex *lock = &ds3232->rtc->ops_lock; in ds3232_irq()
Drtc-ds1305.c446 struct mutex *lock = &ds1305->rtc->ops_lock; in ds1305_work()
Drtc-m41t80.c165 struct mutex *lock = &m41t80->rtc->ops_lock; in m41t80_handle_irq()
Drtc-rv3029c2.c336 struct mutex *lock = &rv3029->rtc->ops_lock; in rv3029_handle_irq()
/Linux-v4.19/samples/vfio-mdev/
Dmbochs.c145 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 …]
Dmtty.c139 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()
Dmdpy.c93 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/
Dlcd.h72 struct mutex ops_lock; member
Dbacklight.h99 struct mutex ops_lock; member
Drtc.h109 struct mutex ops_lock; member

12