Lines Matching refs:rstat
1862 unsigned char rstat; in receive_chars_dma() local
1891 rstat = info->ioport[REG_STATUS]; in receive_chars_dma()
1892 if (rstat & IO_MASK(R_SERIAL0_STATUS, xoff_detect) ) { in receive_chars_dma()
1893 DFLOW(DEBUG_LOG(info->line, "XOFF detect stat %x\n", rstat)); in receive_chars_dma()
1896 if (rstat & SER_ERROR_MASK) { in receive_chars_dma()
1904 ((rstat & SER_ERROR_MASK) << 8) | data); in receive_chars_dma()
1906 if (rstat & SER_PAR_ERR_MASK) in receive_chars_dma()
1908 else if (rstat & SER_OVERRUN_MASK) in receive_chars_dma()
1910 else if (rstat & SER_FRAMING_ERR_MASK) in receive_chars_dma()
2080 unsigned char rstat = info->ioport[REG_STATUS]; in force_eop_if_needed() local
2083 if (rstat & SER_ERROR_MASK) { in force_eop_if_needed()
2090 rstat | (info->line << 8)); in force_eop_if_needed()
2094 if (rstat & SER_DATA_AVAIL_MASK) { in force_eop_if_needed()
2097 rstat | (info->line << 8))); in force_eop_if_needed()
2406 unsigned char rstat; in handle_ser_rx_interrupt() local
2416 rstat = info->ioport[REG_STATUS]; in handle_ser_rx_interrupt()
2417 if (rstat & IO_MASK(R_SERIAL0_STATUS, xoff_detect) ) { in handle_ser_rx_interrupt()
2421 if (rstat & SER_ERROR_MASK) { in handle_ser_rx_interrupt()
2431 DINTR1(DEBUG_LOG(info->line, "ser_rx err stat %02X\n", rstat)); in handle_ser_rx_interrupt()
2432 if (!data && (rstat & SER_FRAMING_ERR_MASK)) { in handle_ser_rx_interrupt()
2440 if (rstat & SER_RXD_MASK) { in handle_ser_rx_interrupt()
2465 if (rstat & SER_PAR_ERR_MASK) { in handle_ser_rx_interrupt()
2468 } else if (rstat & SER_OVERRUN_MASK) { in handle_ser_rx_interrupt()
2471 } else if (rstat & SER_FRAMING_ERR_MASK) { in handle_ser_rx_interrupt()
2480 ((rstat & SER_ERROR_MASK) << 8) | data); in handle_ser_rx_interrupt()
2528 unsigned char rstat; in handle_ser_tx_interrupt() local
2531 rstat = info->ioport[REG_STATUS]; in handle_ser_tx_interrupt()
2532 DFLOW(DEBUG_LOG(info->line, "stat %x\n", rstat)); in handle_ser_tx_interrupt()
2543 unsigned char rstat; in handle_ser_tx_interrupt() local
2548 rstat = info->ioport[REG_STATUS]; in handle_ser_tx_interrupt()
2549 DFLOW(DEBUG_LOG(info->line, "stat %x\n", rstat)); in handle_ser_tx_interrupt()
4305 unsigned char rstat = info->ioport[REG_STATUS]; in seq_line_info() local
4306 if (rstat & IO_MASK(R_SERIAL0_STATUS, xoff_detect)) in seq_line_info()