/linux-6.1.9/drivers/video/backlight/ |
D | lcd.c | 37 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 …]
|
D | backlight.c | 109 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/ |
D | interface.c | 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() 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 …]
|
D | dev.c | 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 …]
|
D | class.c | 32 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()
|
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-ds1307.c | 689 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()
|
D | rtc-ds1685.c | 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()
|
/linux-6.1.9/fs/dlm/ |
D | plock.c | 16 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/ |
D | mbochs.c | 176 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 …]
|
D | mtty.c | 135 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()
|
D | mdpy.c | 98 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/ |
D | rkisp1-resizer.c | 589 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 …]
|
D | rkisp1-isp.c | 721 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 …]
|
D | rkisp1-common.h | 206 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/ |
D | wwan_core.c | 77 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/ |
D | rtc.h | 94 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)
|
D | lcd.h | 62 struct mutex ops_lock; member
|
D | backlight.h | 303 struct mutex ops_lock; member
|