Lines Matching refs:sta_reg
283 u32 sta_reg, c; in pic32_uart_do_rx() local
287 sta_reg = pic32_uart_readl(sport, PIC32_UART_STA); in pic32_uart_do_rx()
288 if (unlikely(sta_reg & PIC32_UART_STA_OERR)) { in pic32_uart_do_rx()
299 if (!(sta_reg & PIC32_UART_STA_URXDA)) in pic32_uart_do_rx()
309 if (unlikely((sta_reg & PIC32_UART_STA_PERR) || in pic32_uart_do_rx()
310 (sta_reg & PIC32_UART_STA_FERR))) { in pic32_uart_do_rx()
313 if (sta_reg & PIC32_UART_STA_PERR) in pic32_uart_do_rx()
315 if (sta_reg & PIC32_UART_STA_FERR) in pic32_uart_do_rx()
319 sta_reg &= port->read_status_mask; in pic32_uart_do_rx()
321 if (sta_reg & PIC32_UART_STA_FERR) in pic32_uart_do_rx()
323 if (sta_reg & PIC32_UART_STA_PERR) in pic32_uart_do_rx()
330 if ((sta_reg & port->ignore_status_mask) == 0) in pic32_uart_do_rx()