Lines Matching refs:lock
100 struct k_spinlock lock; member
161 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_smartbond_poll_in()
167 k_spin_unlock(&data->lock, key); in uart_smartbond_poll_in()
174 k_spin_unlock(&data->lock, key); in uart_smartbond_poll_in()
183 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_smartbond_poll_out()
195 k_spin_unlock(&data->lock, key); in uart_smartbond_poll_out()
204 key = k_spin_lock(&data->lock); in apply_runtime_config()
230 k_spin_unlock(&data->lock, key); in apply_runtime_config()
481 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_smartbond_fifo_fill()
494 k_spin_unlock(&data->lock, key); in uart_smartbond_fifo_fill()
505 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_smartbond_fifo_read()
524 k_spin_unlock(&data->lock, key); in uart_smartbond_fifo_read()
532 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_smartbond_irq_tx_enable()
537 k_spin_unlock(&data->lock, key); in uart_smartbond_irq_tx_enable()
543 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_smartbond_irq_tx_disable()
548 k_spin_unlock(&data->lock, key); in uart_smartbond_irq_tx_disable()
563 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_smartbond_irq_rx_enable()
568 k_spin_unlock(&data->lock, key); in uart_smartbond_irq_rx_enable()
574 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_smartbond_irq_rx_disable()
579 k_spin_unlock(&data->lock, key); in uart_smartbond_irq_rx_disable()