Lines Matching refs:sta_reg
282 u32 sta_reg, c; in pic32_uart_do_rx() local
286 sta_reg = pic32_uart_readl(sport, PIC32_UART_STA); in pic32_uart_do_rx()
287 if (unlikely(sta_reg & PIC32_UART_STA_OERR)) { in pic32_uart_do_rx()
298 if (!(sta_reg & PIC32_UART_STA_URXDA)) in pic32_uart_do_rx()
308 if (unlikely((sta_reg & PIC32_UART_STA_PERR) || in pic32_uart_do_rx()
309 (sta_reg & PIC32_UART_STA_FERR))) { in pic32_uart_do_rx()
312 if (sta_reg & PIC32_UART_STA_PERR) in pic32_uart_do_rx()
314 if (sta_reg & PIC32_UART_STA_FERR) in pic32_uart_do_rx()
318 sta_reg &= port->read_status_mask; in pic32_uart_do_rx()
320 if (sta_reg & PIC32_UART_STA_FERR) in pic32_uart_do_rx()
322 if (sta_reg & PIC32_UART_STA_PERR) in pic32_uart_do_rx()
329 if ((sta_reg & port->ignore_status_mask) == 0) in pic32_uart_do_rx()