Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/video/backlight/
Dlcd.c37 mutex_lock(&ld->ops_lock); in fb_notifier_callback()
47 mutex_unlock(&ld->ops_lock); in fb_notifier_callback()
79 mutex_lock(&ld->ops_lock); in lcd_power_show()
84 mutex_unlock(&ld->ops_lock); in lcd_power_show()
102 mutex_lock(&ld->ops_lock); in lcd_power_store()
108 mutex_unlock(&ld->ops_lock); in lcd_power_store()
120 mutex_lock(&ld->ops_lock); in contrast_show()
123 mutex_unlock(&ld->ops_lock); in contrast_show()
141 mutex_lock(&ld->ops_lock); in contrast_store()
147 mutex_unlock(&ld->ops_lock); in contrast_store()
[all …]
Dbacklight.c109 mutex_lock(&bd->ops_lock); in fb_notifier_callback()
133 mutex_unlock(&bd->ops_lock); in fb_notifier_callback()
201 mutex_lock(&bd->ops_lock); in bl_power_store()
216 mutex_unlock(&bd->ops_lock); in bl_power_store()
235 mutex_lock(&bd->ops_lock); in backlight_device_set_brightness()
245 mutex_unlock(&bd->ops_lock); in backlight_device_set_brightness()
294 mutex_lock(&bd->ops_lock); in actual_brightness_show()
302 mutex_unlock(&bd->ops_lock); in actual_brightness_show()
327 mutex_lock(&bd->ops_lock); in backlight_suspend()
332 mutex_unlock(&bd->ops_lock); in backlight_suspend()
[all …]
/linux-6.1.9/drivers/rtc/
Dinterface.c114 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()
390 err = mutex_lock_interruptible(&rtc->ops_lock); in rtc_read_alarm()
402 mutex_unlock(&rtc->ops_lock); in rtc_read_alarm()
467 err = mutex_lock_interruptible(&rtc->ops_lock); in rtc_set_alarm()
486 mutex_unlock(&rtc->ops_lock); in rtc_set_alarm()
[all …]
Ddev.c214 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 …]
Dclass.c32 mutex_lock(&rtc->ops_lock); in rtc_device_release()
35 mutex_unlock(&rtc->ops_lock); in rtc_device_release()
40 mutex_destroy(&rtc->ops_lock); in rtc_device_release()
227 mutex_init(&rtc->ops_lock); in rtc_allocate_device()
341 mutex_lock(&rtc->ops_lock); in devm_rtc_unregister_device()
350 mutex_unlock(&rtc->ops_lock); in devm_rtc_unregister_device()
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-ds1307.c689 struct mutex *lock = &ds1307->rtc->ops_lock; in mcp794xx_irq()
1156 struct mutex *lock = &ds1307->rtc->ops_lock; in ds1307_irq()
1425 struct mutex *lock = &ds1307->rtc->ops_lock; in ds1337_write_control()
1535 struct mutex *lock = &ds1307->rtc->ops_lock; in ds3231_clk_32khz_control()
Drtc-ds1685.c844 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()
/linux-6.1.9/fs/dlm/
Dplock.c16 static DEFINE_SPINLOCK(ops_lock);
72 spin_lock(&ops_lock); in send_op()
74 spin_unlock(&ops_lock); in send_op()
161 spin_lock(&ops_lock); in dlm_posix_lock()
166 spin_unlock(&ops_lock); in dlm_posix_lock()
171 spin_unlock(&ops_lock); in dlm_posix_lock()
385 spin_lock(&ops_lock); in dev_read()
394 spin_unlock(&ops_lock); in dev_read()
429 spin_lock(&ops_lock); in dev_write()
436 spin_unlock(&ops_lock); in dev_write()
[all …]
/linux-6.1.9/samples/vfio-mdev/
Dmbochs.c176 struct mutex ops_lock; member
254 WARN_ON(!mutex_is_locked(&mdev_state->ops_lock)); in mbochs_check_framebuffer()
446 mutex_lock(&mdev_state->ops_lock); in mdev_access()
499 mutex_unlock(&mdev_state->ops_lock); in mdev_access()
544 mutex_init(&mdev_state->ops_lock); in mbochs_init_dev()
731 WARN_ON(!mutex_is_locked(&mdev_state->ops_lock)); in __mbochs_get_page()
752 mutex_lock(&mdev_state->ops_lock); in mbochs_get_page()
754 mutex_unlock(&mdev_state->ops_lock); in mbochs_get_page()
764 WARN_ON(!mutex_is_locked(&mdev_state->ops_lock)); in mbochs_put_pages()
917 mutex_lock(&mdev_state->ops_lock); in mbochs_release_dmabuf()
[all …]
Dmtty.c135 struct mutex ops_lock; member
660 mutex_lock(&mdev_state->ops_lock); in mdev_access()
715 mutex_unlock(&mdev_state->ops_lock); in mdev_access()
749 mutex_init(&mdev_state->ops_lock); in mtty_init_dev()
931 mutex_lock(&mdev_state->ops_lock); in mtty_set_irqs()
1014 mutex_unlock(&mdev_state->ops_lock); in mtty_set_irqs()
1056 mutex_lock(&mdev_state->ops_lock); in mtty_get_region_info()
1082 mutex_unlock(&mdev_state->ops_lock); in mtty_get_region_info()
Dmdpy.c98 struct mutex ops_lock; member
175 mutex_lock(&mdev_state->ops_lock); in mdev_access()
204 mutex_unlock(&mdev_state->ops_lock); in mdev_access()
242 mutex_init(&mdev_state->ops_lock); in mdpy_init_dev()
/linux-6.1.9/drivers/media/platform/rockchip/rkisp1/
Drkisp1-resizer.c589 mutex_lock(&rsz->ops_lock); in rkisp1_rsz_get_fmt()
592 mutex_unlock(&rsz->ops_lock); in rkisp1_rsz_get_fmt()
603 mutex_lock(&rsz->ops_lock); in rkisp1_rsz_set_fmt()
611 mutex_unlock(&rsz->ops_lock); in rkisp1_rsz_set_fmt()
627 mutex_lock(&rsz->ops_lock); in rkisp1_rsz_get_selection()
647 mutex_unlock(&rsz->ops_lock); in rkisp1_rsz_get_selection()
664 mutex_lock(&rsz->ops_lock); in rkisp1_rsz_set_selection()
666 mutex_unlock(&rsz->ops_lock); in rkisp1_rsz_set_selection()
706 mutex_lock(&rsz->ops_lock); in rkisp1_rsz_s_stream()
710 mutex_unlock(&rsz->ops_lock); in rkisp1_rsz_s_stream()
[all …]
Drkisp1-isp.c721 mutex_lock(&isp->ops_lock); in rkisp1_isp_get_fmt()
724 mutex_unlock(&isp->ops_lock); in rkisp1_isp_get_fmt()
734 mutex_lock(&isp->ops_lock); in rkisp1_isp_set_fmt()
745 mutex_unlock(&isp->ops_lock); in rkisp1_isp_set_fmt()
760 mutex_lock(&isp->ops_lock); in rkisp1_isp_get_selection()
785 mutex_unlock(&isp->ops_lock); in rkisp1_isp_get_selection()
801 mutex_lock(&isp->ops_lock); in rkisp1_isp_set_selection()
809 mutex_unlock(&isp->ops_lock); in rkisp1_isp_set_selection()
880 mutex_lock(&isp->ops_lock); in rkisp1_isp_s_stream()
894 mutex_unlock(&isp->ops_lock); in rkisp1_isp_s_stream()
[all …]
Drkisp1-common.h206 struct mutex ops_lock; /* serialize the subdevice ops */ member
407 struct mutex ops_lock; /* serialize the subdevice ops */ member
/linux-6.1.9/drivers/net/wwan/
Dwwan_core.c77 struct mutex ops_lock; /* Serialize ops + protect against removal */ member
345 mutex_destroy(&port->ops_lock); in wwan_port_destroy()
458 mutex_init(&port->ops_lock); in wwan_create_port()
499 mutex_lock(&port->ops_lock); in wwan_remove_port()
503 mutex_unlock(&port->ops_lock); in wwan_remove_port()
546 mutex_lock(&port->ops_lock); in wwan_port_op_start()
560 mutex_unlock(&port->ops_lock); in wwan_port_op_start()
567 mutex_lock(&port->ops_lock); in wwan_port_op_stop()
574 mutex_unlock(&port->ops_lock); in wwan_port_op_stop()
582 mutex_lock(&port->ops_lock); in wwan_port_op_tx()
[all …]
/linux-6.1.9/include/linux/
Drtc.h94 struct mutex ops_lock; member
166 #define rtc_lock(d) mutex_lock(&d->ops_lock)
167 #define rtc_unlock(d) mutex_unlock(&d->ops_lock)
Dlcd.h62 struct mutex ops_lock; member
Dbacklight.h303 struct mutex ops_lock; member