Lines Matching refs:rx_lock
43 struct k_spinlock rx_lock; member
134 key = k_spin_lock(&drv_data->rx_lock); in uart_emul_poll_in()
136 k_spin_unlock(&drv_data->rx_lock, key); in uart_emul_poll_in()
223 K_SPINLOCK(&data->rx_lock) { in uart_emul_fifo_read()
253 K_SPINLOCK(&data->rx_lock) { in uart_emul_irq_rx_ready()
287 K_SPINLOCK(&data->rx_lock) { in uart_emul_irq_handler()
328 K_SPINLOCK(&data->rx_lock) { in uart_emul_irq_rx_enable()
351 K_SPINLOCK(&data->rx_lock) { in uart_emul_irq_rx_disable()
424 K_SPINLOCK(&data->rx_lock) { in uart_emul_async_rx_timeout_handler()
491 K_SPINLOCK(&data->rx_lock) { in uart_emul_async_rx_handler()
676 K_SPINLOCK(&data->rx_lock) { in uart_emul_rx_stop()
799 K_SPINLOCK(&data->rx_lock) { in uart_emul_rx_buf_rsp()
823 K_SPINLOCK(&data->rx_lock) { in uart_emul_rx_enable()
832 K_SPINLOCK(&data->rx_lock) { in uart_emul_rx_enable()
860 K_SPINLOCK(&data->rx_lock) { in uart_emul_rx_disable()
922 K_SPINLOCK(&drv_data->rx_lock) { in uart_emul_put_rx_data()
965 key = k_spin_lock(&drv_data->rx_lock); in uart_emul_flush_rx_data()
968 k_spin_unlock(&drv_data->rx_lock, key); in uart_emul_flush_rx_data()