Lines Matching refs:lock
35 struct k_spinlock lock; member
157 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_rcar_poll_in()
172 k_spin_unlock(&data->lock, key); in uart_rcar_poll_in()
181 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_rcar_poll_out()
193 k_spin_unlock(&data->lock, key); in uart_rcar_poll_out()
212 key = k_spin_lock(&data->lock); in uart_rcar_configure()
267 k_spin_unlock(&data->lock, key); in uart_rcar_configure()
342 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_rcar_fifo_fill()
356 k_spin_unlock(&data->lock, key); in uart_rcar_fifo_fill()
367 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_rcar_fifo_read()
380 k_spin_unlock(&data->lock, key); in uart_rcar_fifo_read()
390 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_rcar_irq_tx_enable()
396 k_spin_unlock(&data->lock, key); in uart_rcar_irq_tx_enable()
404 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_rcar_irq_tx_disable()
410 k_spin_unlock(&data->lock, key); in uart_rcar_irq_tx_disable()
423 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_rcar_irq_rx_enable()
429 k_spin_unlock(&data->lock, key); in uart_rcar_irq_rx_enable()
437 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_rcar_irq_rx_disable()
443 k_spin_unlock(&data->lock, key); in uart_rcar_irq_rx_disable()
456 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_rcar_irq_err_enable()
462 k_spin_unlock(&data->lock, key); in uart_rcar_irq_err_enable()
470 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_rcar_irq_err_disable()
476 k_spin_unlock(&data->lock, key); in uart_rcar_irq_err_disable()