Home
last modified time | relevance | path

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

/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()
299 mutex_unlock(&bd->ops_lock); in actual_brightness_show()
324 mutex_lock(&bd->ops_lock); in backlight_suspend()
329 mutex_unlock(&bd->ops_lock); in backlight_suspend()
[all …]
/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()
465 err = mutex_lock_interruptible(&rtc->ops_lock); in rtc_set_alarm()
476 mutex_unlock(&rtc->ops_lock); in rtc_set_alarm()
[all …]
Ddev.c213 err = mutex_lock_interruptible(&rtc->ops_lock); in rtc_dev_ioctl()
256 mutex_unlock(&rtc->ops_lock); in rtc_dev_ioctl()
267 mutex_unlock(&rtc->ops_lock); in rtc_dev_ioctl()
319 mutex_unlock(&rtc->ops_lock); in rtc_dev_ioctl()
330 mutex_unlock(&rtc->ops_lock); in rtc_dev_ioctl()
346 mutex_unlock(&rtc->ops_lock); in rtc_dev_ioctl()
350 mutex_unlock(&rtc->ops_lock); in rtc_dev_ioctl()
354 mutex_unlock(&rtc->ops_lock); in rtc_dev_ioctl()
358 mutex_unlock(&rtc->ops_lock); in rtc_dev_ioctl()
369 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()
221 mutex_init(&rtc->ops_lock); in rtc_allocate_device()
335 mutex_lock(&rtc->ops_lock); in rtc_device_unregister()
343 mutex_unlock(&rtc->ops_lock); in rtc_device_unregister()
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.c119 mutex_lock(&priv->rtc->ops_lock); in asm9260_rtc_irq()
122 mutex_unlock(&priv->rtc->ops_lock); in asm9260_rtc_irq()
127 mutex_unlock(&priv->rtc->ops_lock); in asm9260_rtc_irq()
Drtc-rx8010.c76 mutex_lock(&rx8010->rtc->ops_lock); in rx8010_irq_1_handler()
80 mutex_unlock(&rx8010->rtc->ops_lock); in rx8010_irq_1_handler()
103 mutex_unlock(&rx8010->rtc->ops_lock); in rx8010_irq_1_handler()
Drtc-ds1307.c568 struct mutex *lock = &ds1307->rtc->ops_lock; in rx8130_irq()
710 struct mutex *lock = &ds1307->rtc->ops_lock; in mcp794xx_irq()
1213 struct mutex *lock = &ds1307->rtc->ops_lock; in ds1307_irq()
1482 struct mutex *lock = &ds1307->rtc->ops_lock; in ds1337_write_control()
1592 struct mutex *lock = &ds1307->rtc->ops_lock; in ds3231_clk_32khz_control()
Drtc-ac100.c531 mutex_lock(&chip->rtc->ops_lock); in ac100_rtc_irq()
554 mutex_unlock(&chip->rtc->ops_lock); in ac100_rtc_irq()
Drtc-ds1685.c670 rtc_mutex = &rtc->dev->ops_lock; in ds1685_rtc_irq_handler()
846 struct mutex *rtc_mutex = &rtc->dev->ops_lock; in ds1685_nvram_read()
913 struct mutex *rtc_mutex = &rtc->dev->ops_lock; in ds1685_nvram_write()
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-pcf2123.c310 struct mutex *lock = &pcf2123->rtc->ops_lock; in pcf2123_rtc_irq()
Drtc-mcp795.c353 struct mutex *lock = &rtc->ops_lock; in mcp795_irq()
Drtc-hym8563.c431 struct mutex *lock = &hym8563->rtc->ops_lock; in hym8563_irq()
Drtc-rx8025.c145 struct mutex *lock = &rx8025->rtc->ops_lock; in rx8025_handle_irq()
Drtc-ds1305.c438 struct mutex *lock = &ds1305->rtc->ops_lock; in ds1305_work()
Drtc-ds3232.c409 struct mutex *lock = &ds3232->rtc->ops_lock; in ds3232_irq()
Drtc-m41t80.c161 struct mutex *lock = &m41t80->rtc->ops_lock; in m41t80_handle_irq()
Drtc-rv3029c2.c268 struct mutex *lock = &rv3029->rtc->ops_lock; in rv3029_handle_irq()
/drivers/staging/media/rkisp1/
Drkisp1-resizer.c634 mutex_lock(&rsz->ops_lock); in rkisp1_rsz_get_fmt()
636 mutex_unlock(&rsz->ops_lock); in rkisp1_rsz_get_fmt()
647 mutex_lock(&rsz->ops_lock); in rkisp1_rsz_set_fmt()
653 mutex_unlock(&rsz->ops_lock); in rkisp1_rsz_set_fmt()
669 mutex_lock(&rsz->ops_lock); in rkisp1_rsz_get_selection()
687 mutex_unlock(&rsz->ops_lock); in rkisp1_rsz_get_selection()
704 mutex_lock(&rsz->ops_lock); in rkisp1_rsz_set_selection()
706 mutex_unlock(&rsz->ops_lock); in rkisp1_rsz_set_selection()
746 mutex_lock(&rsz->ops_lock); in rkisp1_rsz_s_stream()
750 mutex_unlock(&rsz->ops_lock); in rkisp1_rsz_s_stream()
[all …]
Drkisp1-isp.c782 mutex_lock(&isp->ops_lock); in rkisp1_isp_get_fmt()
784 mutex_unlock(&isp->ops_lock); in rkisp1_isp_get_fmt()
794 mutex_lock(&isp->ops_lock); in rkisp1_isp_set_fmt()
803 mutex_unlock(&isp->ops_lock); in rkisp1_isp_set_fmt()
818 mutex_lock(&isp->ops_lock); in rkisp1_isp_get_selection()
843 mutex_unlock(&isp->ops_lock); in rkisp1_isp_get_selection()
861 mutex_lock(&isp->ops_lock); in rkisp1_isp_set_selection()
869 mutex_unlock(&isp->ops_lock); in rkisp1_isp_set_selection()
956 mutex_lock(&isp->ops_lock); in rkisp1_isp_s_stream()
968 mutex_unlock(&isp->ops_lock); in rkisp1_isp_s_stream()
[all …]
Drkisp1-common.h132 struct mutex ops_lock; /* serialize the subdevice ops */ member
303 struct mutex ops_lock; /* serialize the subdevice ops */ member