Lines Matching refs:lock
68 struct k_spinlock lock; member
166 key = k_spin_lock(&data->lock); in atcpit100_start()
173 k_spin_unlock(&data->lock, key); in atcpit100_start()
184 key = k_spin_lock(&data->lock); in atcpit100_stop()
199 k_spin_unlock(&data->lock, key); in atcpit100_stop()
209 key = k_spin_lock(&data->lock); in atcpit100_get_value()
213 k_spin_unlock(&data->lock, key); in atcpit100_get_value()
239 key = k_spin_lock(&data->lock); in atcpit100_set_alarm()
307 k_spin_unlock(&data->lock, key); in atcpit100_set_alarm()
322 key = k_spin_lock(&data->lock); in atcpit100_cancel_alarm()
339 k_spin_unlock(&data->lock, key); in atcpit100_cancel_alarm()
364 key = k_spin_lock(&data->lock); in atcpit100_set_top_value()
418 k_spin_unlock(&data->lock, key); in atcpit100_set_top_value()