Lines Matching refs:lock
30 struct k_spinlock lock; member
80 key = k_spin_lock(&data->lock); in i2c_xilinx_axi_target_register()
92 k_spin_unlock(&data->lock, key); in i2c_xilinx_axi_target_register()
107 key = k_spin_lock(&data->lock); in i2c_xilinx_axi_target_unregister()
129 k_spin_unlock(&data->lock, key); in i2c_xilinx_axi_target_unregister()
222 const k_spinlock_key_t key = k_spin_lock(&data->lock); in i2c_xilinx_axi_isr()
249 k_spin_unlock(&data->lock, key); in i2c_xilinx_axi_isr()
267 const k_spinlock_key_t key = k_spin_lock(&data->lock); in i2c_xilinx_axi_wait_interrupt()
274 k_spin_unlock(&data->lock, key); in i2c_xilinx_axi_wait_interrupt()
289 const k_spinlock_key_t key = k_spin_lock(&data->lock); in i2c_xilinx_axi_clear_interrupt()
295 k_spin_unlock(&data->lock, key); in i2c_xilinx_axi_clear_interrupt()
508 const k_spinlock_key_t key = k_spin_lock(&data->lock); in i2c_xilinx_axi_write()
525 k_spin_unlock(&data->lock, key); in i2c_xilinx_axi_write()
590 k_spinlock_key_t key = k_spin_lock(&data->lock); in i2c_xilinx_axi_transfer()
595 k_spin_unlock(&data->lock, key); in i2c_xilinx_axi_transfer()