Lines Matching refs:lock
58 struct k_spinlock lock; member
95 key = k_spin_lock(&data->lock); in tco_setup()
99 k_spin_unlock(&data->lock, key); in tco_setup()
113 k_spin_unlock(&data->lock, key); in tco_setup()
128 key = k_spin_lock(&data->lock); in tco_disable()
138 k_spin_unlock(&data->lock, key); in tco_disable()
195 key = k_spin_lock(&data->lock); in tco_install_timeout()
206 k_spin_unlock(&data->lock, key); in tco_install_timeout()
221 key = k_spin_lock(&data->lock); in tco_feed()
228 k_spin_unlock(&data->lock, key); in tco_feed()
248 key = k_spin_lock(&data->lock); in wdt_init()
255 k_spin_unlock(&data->lock, key); in wdt_init()