Lines Matching refs:lock
122 struct k_spinlock lock; member
180 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in rtc_mc146818_set_time()
212 k_spin_unlock(&dev_data->lock, key); in rtc_mc146818_set_time()
224 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in rtc_mc146818_get_time()
263 k_spin_unlock(&dev_data->lock, key); in rtc_mc146818_get_time()
310 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in rtc_mc146818_alarm_set_time()
348 k_spin_unlock(&dev_data->lock, key); in rtc_mc146818_alarm_set_time()
359 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in rtc_mc146818_alarm_get_time()
393 k_spin_unlock(&dev_data->lock, key); in rtc_mc146818_alarm_get_time()
406 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in rtc_mc146818_alarm_set_callback()
419 k_spin_unlock(&dev_data->lock, key); in rtc_mc146818_alarm_set_callback()
432 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in rtc_mc146818_alarm_is_pending()
437 k_spin_unlock(&dev_data->lock, key); in rtc_mc146818_alarm_is_pending()
448 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in rtc_mc146818_update_set_callback()
462 k_spin_unlock(&dev_data->lock, key); in rtc_mc146818_update_set_callback()