Searched refs:qe_port (Results 1 – 1 of 1) sorted by relevance
218 static inline dma_addr_t cpu2qe_addr(void *addr, struct uart_qe_port *qe_port) in cpu2qe_addr() argument220 if (likely((addr >= qe_port->bd_virt)) && in cpu2qe_addr()221 (addr < (qe_port->bd_virt + qe_port->bd_size))) in cpu2qe_addr()222 return qe_port->bd_dma_addr + (addr - qe_port->bd_virt); in cpu2qe_addr()236 static inline void *qe2cpu_addr(dma_addr_t addr, struct uart_qe_port *qe_port) in qe2cpu_addr() argument239 if (likely((addr >= qe_port->bd_dma_addr) && in qe2cpu_addr()240 (addr < (qe_port->bd_dma_addr + qe_port->bd_size)))) in qe2cpu_addr()241 return qe_port->bd_virt + (addr - qe_port->bd_dma_addr); in qe2cpu_addr()259 struct uart_qe_port *qe_port = in qe_uart_tx_empty() local261 struct qe_bd *bdp = qe_port->tx_bd_base; in qe_uart_tx_empty()[all …]