Lines Matching refs:isrstatus
219 static void cdns_uart_handle_rx(void *dev_id, unsigned int isrstatus) in cdns_uart_handle_rx() argument
244 if (!is_rxbs_support && (isrstatus & CDNS_UART_IXR_FRAMING)) { in cdns_uart_handle_rx()
258 isrstatus &= port->read_status_mask; in cdns_uart_handle_rx()
259 isrstatus &= ~port->ignore_status_mask; in cdns_uart_handle_rx()
286 if (isrstatus & CDNS_UART_IXR_PARITY) { in cdns_uart_handle_rx()
290 if ((isrstatus & CDNS_UART_IXR_FRAMING) && in cdns_uart_handle_rx()
296 if (isrstatus & CDNS_UART_IXR_OVERRUN) { in cdns_uart_handle_rx()
302 isrstatus = 0; in cdns_uart_handle_rx()
347 unsigned int isrstatus; in cdns_uart_isr() local
354 isrstatus = readl(port->membase + CDNS_UART_ISR); in cdns_uart_isr()
355 writel(isrstatus, port->membase + CDNS_UART_ISR); in cdns_uart_isr()
357 if (isrstatus & CDNS_UART_IXR_TXEMPTY) { in cdns_uart_isr()
359 isrstatus &= ~CDNS_UART_IXR_TXEMPTY; in cdns_uart_isr()
362 isrstatus &= port->read_status_mask; in cdns_uart_isr()
363 isrstatus &= ~port->ignore_status_mask; in cdns_uart_isr()
368 if (isrstatus & CDNS_UART_IXR_RXMASK && in cdns_uart_isr()
370 cdns_uart_handle_rx(dev_id, isrstatus); in cdns_uart_isr()