Lines Matching refs:lock
64 struct k_spinlock lock; member
214 key = k_spin_lock(&data->lock); in dma_emul_work_handler()
221 k_spin_unlock(&data->lock, key); in dma_emul_work_handler()
228 key = k_spin_lock(&data->lock); in dma_emul_work_handler()
237 k_spin_unlock(&data->lock, key); in dma_emul_work_handler()
245 key = k_spin_lock(&data->lock); in dma_emul_work_handler()
247 k_spin_unlock(&data->lock, key); in dma_emul_work_handler()
272 key = k_spin_lock(&data->lock); in dma_emul_work_handler()
274 k_spin_unlock(&data->lock, key); in dma_emul_work_handler()
365 key = k_spin_lock(&data->lock); in dma_emul_configure()
397 k_spin_unlock(&data->lock, key); in dma_emul_configure()
426 key = k_spin_lock(&data->lock); in dma_emul_start()
456 k_spin_unlock(&data->lock, key); in dma_emul_start()
466 key = k_spin_lock(&data->lock); in dma_emul_stop()
468 k_spin_unlock(&data->lock, key); in dma_emul_stop()
508 key = k_spin_lock(&data->lock); in dma_emul_chan_filter()
511 k_spin_unlock(&data->lock, key); in dma_emul_chan_filter()