Searched refs:ops_lock (Results 1 – 15 of 15) sorted by relevance
114 err = mutex_lock_interruptible(&rtc->ops_lock); in rtc_read_time()119 mutex_unlock(&rtc->ops_lock); in rtc_read_time()151 err = mutex_lock_interruptible(&rtc->ops_lock); in rtc_set_time()163 mutex_unlock(&rtc->ops_lock); in rtc_set_time()183 err = mutex_lock_interruptible(&rtc->ops_lock); in rtc_read_alarm_internal()206 mutex_unlock(&rtc->ops_lock); in rtc_read_alarm_internal()391 err = mutex_lock_interruptible(&rtc->ops_lock); in rtc_read_alarm()403 mutex_unlock(&rtc->ops_lock); in rtc_read_alarm()468 err = mutex_lock_interruptible(&rtc->ops_lock); in rtc_set_alarm()487 mutex_unlock(&rtc->ops_lock); in rtc_set_alarm()[all …]
214 err = mutex_lock_interruptible(&rtc->ops_lock); in rtc_dev_ioctl()258 mutex_unlock(&rtc->ops_lock); in rtc_dev_ioctl()269 mutex_unlock(&rtc->ops_lock); in rtc_dev_ioctl()321 mutex_unlock(&rtc->ops_lock); in rtc_dev_ioctl()332 mutex_unlock(&rtc->ops_lock); in rtc_dev_ioctl()348 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()371 mutex_unlock(&rtc->ops_lock); in rtc_dev_ioctl()[all …]
31 mutex_lock(&rtc->ops_lock); in rtc_device_release()34 mutex_unlock(&rtc->ops_lock); in rtc_device_release()39 mutex_destroy(&rtc->ops_lock); in rtc_device_release()231 mutex_init(&rtc->ops_lock); in rtc_allocate_device()345 mutex_lock(&rtc->ops_lock); in devm_rtc_unregister_device()354 mutex_unlock(&rtc->ops_lock); in devm_rtc_unregister_device()
300 ret = mutex_lock_interruptible(&priv->rtc->ops_lock); in isl12026_nvm_read()310 mutex_unlock(&priv->rtc->ops_lock); in isl12026_nvm_read()341 ret = mutex_lock_interruptible(&priv->rtc->ops_lock); in isl12026_nvm_write()373 mutex_unlock(&priv->rtc->ops_lock); in isl12026_nvm_write()
695 struct mutex *lock = &ds1307->rtc->ops_lock; in mcp794xx_irq()1162 struct mutex *lock = &ds1307->rtc->ops_lock; in ds1307_irq()1430 struct mutex *lock = &ds1307->rtc->ops_lock; in ds1337_write_control()1540 struct mutex *lock = &ds1307->rtc->ops_lock; in ds3231_clk_32khz_control()
844 struct mutex *rtc_mutex = &rtc->dev->ops_lock; in ds1685_nvram_read()911 struct mutex *rtc_mutex = &rtc->dev->ops_lock; in ds1685_nvram_write()
53 guard(mutex)(&ld->ops_lock); in fb_notifier_callback()105 mutex_lock(&ld->ops_lock); in lcd_power_show()110 mutex_unlock(&ld->ops_lock); in lcd_power_show()128 mutex_lock(&ld->ops_lock); in lcd_power_store()134 mutex_unlock(&ld->ops_lock); in lcd_power_store()146 mutex_lock(&ld->ops_lock); in contrast_show()149 mutex_unlock(&ld->ops_lock); in contrast_show()167 mutex_lock(&ld->ops_lock); in contrast_store()173 mutex_unlock(&ld->ops_lock); in contrast_store()231 mutex_init(&new_ld->ops_lock); in lcd_device_register()[all …]
110 mutex_lock(&bd->ops_lock); in fb_notifier_callback()134 mutex_unlock(&bd->ops_lock); in fb_notifier_callback()202 mutex_lock(&bd->ops_lock); in bl_power_store()217 mutex_unlock(&bd->ops_lock); in bl_power_store()236 mutex_lock(&bd->ops_lock); in backlight_device_set_brightness()246 mutex_unlock(&bd->ops_lock); in backlight_device_set_brightness()295 mutex_lock(&bd->ops_lock); in actual_brightness_show()303 mutex_unlock(&bd->ops_lock); in actual_brightness_show()326 mutex_lock(&bd->ops_lock); in backlight_suspend()331 mutex_unlock(&bd->ops_lock); in backlight_suspend()[all …]
19 static DEFINE_SPINLOCK(ops_lock);94 spin_lock(&ops_lock); in send_op()96 spin_unlock(&ops_lock); in send_op()176 spin_lock(&ops_lock); in dlm_posix_lock()181 spin_unlock(&ops_lock); in dlm_posix_lock()184 spin_unlock(&ops_lock); in dlm_posix_lock()194 spin_lock(&ops_lock); in dlm_posix_lock()196 spin_unlock(&ops_lock); in dlm_posix_lock()390 spin_lock(&ops_lock); in dlm_posix_cancel()396 spin_unlock(&ops_lock); in dlm_posix_cancel()[all …]
179 struct mutex ops_lock; member257 WARN_ON(!mutex_is_locked(&mdev_state->ops_lock)); in mbochs_check_framebuffer()449 mutex_lock(&mdev_state->ops_lock); in mdev_access()502 mutex_unlock(&mdev_state->ops_lock); in mdev_access()547 mutex_init(&mdev_state->ops_lock); in mbochs_init_dev()733 WARN_ON(!mutex_is_locked(&mdev_state->ops_lock)); in __mbochs_get_page()754 mutex_lock(&mdev_state->ops_lock); in mbochs_get_page()756 mutex_unlock(&mdev_state->ops_lock); in mbochs_get_page()766 WARN_ON(!mutex_is_locked(&mdev_state->ops_lock)); in mbochs_put_pages()919 mutex_lock(&mdev_state->ops_lock); in mbochs_release_dmabuf()[all …]
101 struct mutex ops_lock; member178 mutex_lock(&mdev_state->ops_lock); in mdev_access()207 mutex_unlock(&mdev_state->ops_lock); in mdev_access()245 mutex_init(&mdev_state->ops_lock); in mdpy_init_dev()
159 struct mutex ops_lock; member233 lockdep_assert_held(&mdev_state->ops_lock); in mtty_trigger_interrupt()717 mutex_lock(&mdev_state->ops_lock); in mdev_access()772 mutex_unlock(&mdev_state->ops_lock); in mdev_access()1341 mutex_init(&mdev_state->ops_lock); in mtty_init_dev()1562 mutex_lock(&mdev_state->ops_lock); in mtty_set_irqs()1716 mutex_unlock(&mdev_state->ops_lock); in mtty_set_irqs()1731 mutex_lock(&mdev_state->ops_lock); in mtty_get_region_info()1757 mutex_unlock(&mdev_state->ops_lock); in mtty_get_region_info()
94 struct mutex ops_lock; member167 #define rtc_lock(d) mutex_lock(&d->ops_lock)168 #define rtc_unlock(d) mutex_unlock(&d->ops_lock)
77 struct mutex ops_lock; member
270 struct mutex ops_lock; member