Lines Matching refs:DEV_DATA
196 #define DEV_DATA(dev) \ macro
213 #define IIRC(dev) (DEV_DATA(dev)->iir_cache)
312 struct uart_ns16550_dev_data * const dev_data = DEV_DATA(dev); in set_baud_rate()
340 struct uart_ns16550_dev_data * const dev_data = DEV_DATA(dev); in uart_ns16550_configure()
482 struct uart_ns16550_dev_data *data = DEV_DATA(dev); in uart_ns16550_config_get()
507 ret = uart_ns16550_configure(dev, &DEV_DATA(dev)->uart_config); in uart_ns16550_init()
530 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_ns16550_poll_in()
538 k_spin_unlock(&DEV_DATA(dev)->lock, key); in uart_ns16550_poll_in()
558 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_ns16550_poll_out()
565 k_spin_unlock(&DEV_DATA(dev)->lock, key); in uart_ns16550_poll_out()
578 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_ns16550_err_check()
581 k_spin_unlock(&DEV_DATA(dev)->lock, key); in uart_ns16550_err_check()
602 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_ns16550_fifo_fill()
608 k_spin_unlock(&DEV_DATA(dev)->lock, key); in uart_ns16550_fifo_fill()
626 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_ns16550_fifo_read()
632 k_spin_unlock(&DEV_DATA(dev)->lock, key); in uart_ns16550_fifo_read()
646 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_ns16550_irq_tx_enable()
650 k_spin_unlock(&DEV_DATA(dev)->lock, key); in uart_ns16550_irq_tx_enable()
662 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_ns16550_irq_tx_disable()
666 k_spin_unlock(&DEV_DATA(dev)->lock, key); in uart_ns16550_irq_tx_disable()
678 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_ns16550_irq_tx_ready()
682 k_spin_unlock(&DEV_DATA(dev)->lock, key); in uart_ns16550_irq_tx_ready()
696 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_ns16550_irq_tx_complete()
701 k_spin_unlock(&DEV_DATA(dev)->lock, key); in uart_ns16550_irq_tx_complete()
715 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_ns16550_irq_rx_enable()
719 k_spin_unlock(&DEV_DATA(dev)->lock, key); in uart_ns16550_irq_rx_enable()
731 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_ns16550_irq_rx_disable()
735 k_spin_unlock(&DEV_DATA(dev)->lock, key); in uart_ns16550_irq_rx_disable()
747 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_ns16550_irq_rx_ready()
751 k_spin_unlock(&DEV_DATA(dev)->lock, key); in uart_ns16550_irq_rx_ready()
765 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_ns16550_irq_err_enable()
769 k_spin_unlock(&DEV_DATA(dev)->lock, key); in uart_ns16550_irq_err_enable()
781 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_ns16550_irq_err_disable()
785 k_spin_unlock(&DEV_DATA(dev)->lock, key); in uart_ns16550_irq_err_disable()
797 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_ns16550_irq_is_pending()
801 k_spin_unlock(&DEV_DATA(dev)->lock, key); in uart_ns16550_irq_is_pending()
815 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_ns16550_irq_update()
819 k_spin_unlock(&DEV_DATA(dev)->lock, key); in uart_ns16550_irq_update()
836 struct uart_ns16550_dev_data * const dev_data = DEV_DATA(dev); in uart_ns16550_irq_callback_set()
856 struct uart_ns16550_dev_data * const dev_data = DEV_DATA(dev); in uart_ns16550_isr()
890 key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_ns16550_line_ctrl_set()
905 k_spin_unlock(&DEV_DATA(dev)->lock, key); in uart_ns16550_line_ctrl_set()
930 struct uart_ns16550_dev_data * const dev_data = DEV_DATA(dev); in uart_ns16550_drv_cmd()