Lines Matching refs:lock
92 struct k_spinlock lock; member
157 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_poll_in()
167 k_spin_unlock(&data->lock, key); in uart_altera_poll_in()
187 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_poll_out()
196 k_spin_unlock(&data->lock, key); in uart_altera_poll_out()
255 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_err_check()
282 k_spin_unlock(&data->lock, key); in uart_altera_err_check()
412 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_fifo_fill()
428 k_spin_unlock(&data->lock, key); in uart_altera_fifo_fill()
462 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_fifo_read()
485 k_spin_unlock(&data->lock, key); in uart_altera_fifo_read()
500 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_irq_tx_enable()
511 k_spin_unlock(&data->lock, key); in uart_altera_irq_tx_enable()
524 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_irq_tx_disable()
535 k_spin_unlock(&data->lock, key); in uart_altera_irq_tx_disable()
551 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_irq_tx_ready()
574 k_spin_unlock(&data->lock, key); in uart_altera_irq_tx_ready()
591 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_irq_tx_complete()
597 k_spin_unlock(&data->lock, key); in uart_altera_irq_tx_complete()
612 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_irq_rx_enable()
617 k_spin_unlock(&data->lock, key); in uart_altera_irq_rx_enable()
630 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_irq_rx_disable()
635 k_spin_unlock(&data->lock, key); in uart_altera_irq_rx_disable()
650 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_irq_rx_ready()
660 k_spin_unlock(&data->lock, key); in uart_altera_irq_rx_ready()
677 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_irq_update()
681 k_spin_unlock(&data->lock, key); in uart_altera_irq_update()
698 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_irq_is_pending()
704 k_spin_unlock(&data->lock, key); in uart_altera_irq_is_pending()
725 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_irq_callback_set()
741 k_spin_unlock(&data->lock, key); in uart_altera_irq_callback_set()
757 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_dcts_isr()
782 k_spin_unlock(&data->lock, key); in uart_altera_dcts_isr()
858 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_drv_cmd()
895 k_spin_unlock(&data->lock, key); in uart_altera_drv_cmd()