Lines Matching refs:lock
34 struct k_spinlock lock; member
59 K_SPINLOCK(&data->lock) { in rtc_rpi_isr()
113 k_spinlock_key_t key = k_spin_lock(&data->lock); in rtc_rpi_pico_set_time()
127 k_spin_unlock(&data->lock, key); in rtc_rpi_pico_set_time()
137 k_spinlock_key_t key = k_spin_lock(&data->lock); in rtc_rpi_pico_get_time()
154 k_spin_unlock(&data->lock, key); in rtc_rpi_pico_get_time()
200 k_spinlock_key_t key = k_spin_lock(&data->lock); in rtc_rpi_pico_alarm_set_time()
244 k_spin_unlock(&data->lock, key); in rtc_rpi_pico_alarm_set_time()
263 K_SPINLOCK(&data->lock) { in rtc_rpi_pico_alarm_get_time()
280 K_SPINLOCK(&data->lock) { in rtc_rpi_pico_alarm_is_pending()
297 K_SPINLOCK(&data->lock) { in rtc_rpi_pico_alarm_set_callback()