Lines Matching refs:ops_lock
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()
507 err = mutex_lock_interruptible(&rtc->ops_lock); in rtc_initialize_alarm()
521 mutex_unlock(&rtc->ops_lock); in rtc_initialize_alarm()
530 err = mutex_lock_interruptible(&rtc->ops_lock); in rtc_alarm_irq_enable()
550 mutex_unlock(&rtc->ops_lock); in rtc_alarm_irq_enable()
561 err = mutex_lock_interruptible(&rtc->ops_lock); in rtc_update_irq_enable()
567 mutex_unlock(&rtc->ops_lock); in rtc_update_irq_enable()
577 mutex_unlock(&rtc->ops_lock); in rtc_update_irq_enable()
602 mutex_unlock(&rtc->ops_lock); in rtc_update_irq_enable()
912 mutex_lock(&rtc->ops_lock); in rtc_timer_do_work()
916 mutex_unlock(&rtc->ops_lock); in rtc_timer_do_work()
971 mutex_unlock(&rtc->ops_lock); in rtc_timer_do_work()
1003 mutex_lock(&rtc->ops_lock); in rtc_timer_start()
1012 mutex_unlock(&rtc->ops_lock); in rtc_timer_start()
1024 mutex_lock(&rtc->ops_lock); in rtc_timer_cancel()
1027 mutex_unlock(&rtc->ops_lock); in rtc_timer_cancel()
1051 mutex_lock(&rtc->ops_lock); in rtc_read_offset()
1053 mutex_unlock(&rtc->ops_lock); in rtc_read_offset()
1086 mutex_lock(&rtc->ops_lock); in rtc_set_offset()
1088 mutex_unlock(&rtc->ops_lock); in rtc_set_offset()