Lines Matching refs:lock

202 	struct k_spinlock lock;  member
335 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in uart_xec_configure()
421 k_spin_unlock(&dev_data->lock, key); in uart_xec_configure()
564 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in uart_xec_poll_in()
572 k_spin_unlock(&dev_data->lock, key); in uart_xec_poll_in()
594 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in uart_xec_poll_out()
602 k_spin_unlock(&dev_data->lock, key); in uart_xec_poll_out()
618 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in uart_xec_err_check()
621 k_spin_unlock(&dev_data->lock, key); in uart_xec_err_check()
644 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in uart_xec_fifo_fill()
653 k_spin_unlock(&dev_data->lock, key); in uart_xec_fifo_fill()
674 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in uart_xec_fifo_read()
680 k_spin_unlock(&dev_data->lock, key); in uart_xec_fifo_read()
695 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in uart_xec_irq_tx_enable()
699 k_spin_unlock(&dev_data->lock, key); in uart_xec_irq_tx_enable()
712 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in uart_xec_irq_tx_disable()
716 k_spin_unlock(&dev_data->lock, key); in uart_xec_irq_tx_disable()
729 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in uart_xec_irq_tx_ready()
733 k_spin_unlock(&dev_data->lock, key); in uart_xec_irq_tx_ready()
751 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in uart_xec_irq_tx_complete()
760 k_spin_unlock(&dev_data->lock, key); in uart_xec_irq_tx_complete()
775 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in uart_xec_irq_rx_enable()
779 k_spin_unlock(&dev_data->lock, key); in uart_xec_irq_rx_enable()
792 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in uart_xec_irq_rx_disable()
796 k_spin_unlock(&dev_data->lock, key); in uart_xec_irq_rx_disable()
809 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in uart_xec_irq_rx_ready()
813 k_spin_unlock(&dev_data->lock, key); in uart_xec_irq_rx_ready()
828 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in uart_xec_irq_err_enable()
832 k_spin_unlock(&dev_data->lock, key); in uart_xec_irq_err_enable()
847 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in uart_xec_irq_err_disable()
851 k_spin_unlock(&dev_data->lock, key); in uart_xec_irq_err_disable()
864 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in uart_xec_irq_is_pending()
868 k_spin_unlock(&dev_data->lock, key); in uart_xec_irq_is_pending()
885 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in uart_xec_irq_update()
889 k_spin_unlock(&dev_data->lock, key); in uart_xec_irq_update()
905 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in uart_xec_irq_callback_set()
910 k_spin_unlock(&dev_data->lock, key); in uart_xec_irq_callback_set()
980 key = k_spin_lock(&dev_data->lock); in uart_xec_line_ctrl_set()
995 k_spin_unlock(&dev_data->lock, key); in uart_xec_line_ctrl_set()