Searched refs:qe_port (Results 1 – 1 of 1) sorted by relevance
214 static inline dma_addr_t cpu2qe_addr(void *addr, struct uart_qe_port *qe_port) in cpu2qe_addr() argument216 if (likely((addr >= qe_port->bd_virt)) && in cpu2qe_addr()217 (addr < (qe_port->bd_virt + qe_port->bd_size))) in cpu2qe_addr()218 return qe_port->bd_dma_addr + (addr - qe_port->bd_virt); in cpu2qe_addr()232 static inline void *qe2cpu_addr(dma_addr_t addr, struct uart_qe_port *qe_port) in qe2cpu_addr() argument235 if (likely((addr >= qe_port->bd_dma_addr) && in qe2cpu_addr()236 (addr < (qe_port->bd_dma_addr + qe_port->bd_size)))) in qe2cpu_addr()237 return qe_port->bd_virt + (addr - qe_port->bd_dma_addr); in qe2cpu_addr()255 struct uart_qe_port *qe_port = in qe_uart_tx_empty() local257 struct qe_bd *bdp = qe_port->tx_bd_base; in qe_uart_tx_empty()[all …]