Lines Matching refs:rstat

2322 	unsigned char rstat;  in receive_chars_dma()  local
2350 rstat = info->port[REG_STATUS]; in receive_chars_dma()
2351 if (rstat & IO_MASK(R_SERIAL0_STATUS, xoff_detect) ) { in receive_chars_dma()
2352 DFLOW(DEBUG_LOG(info->line, "XOFF detect stat %x\n", rstat)); in receive_chars_dma()
2355 if (rstat & SER_ERROR_MASK) { in receive_chars_dma()
2363 ((rstat & SER_ERROR_MASK) << 8) | data); in receive_chars_dma()
2365 if (rstat & SER_PAR_ERR_MASK) in receive_chars_dma()
2367 else if (rstat & SER_OVERRUN_MASK) in receive_chars_dma()
2369 else if (rstat & SER_FRAMING_ERR_MASK) in receive_chars_dma()
2545 unsigned char rstat = info->port[REG_STATUS]; in force_eop_if_needed() local
2548 if (rstat & SER_ERROR_MASK) { in force_eop_if_needed()
2555 rstat | (info->line << 8)); in force_eop_if_needed()
2559 if (rstat & SER_DATA_AVAIL_MASK) { in force_eop_if_needed()
2562 rstat | (info->line << 8))); in force_eop_if_needed()
2999 unsigned char rstat; in handle_ser_rx_interrupt() local
3009 rstat = info->port[REG_STATUS]; in handle_ser_rx_interrupt()
3010 if (rstat & IO_MASK(R_SERIAL0_STATUS, xoff_detect) ) { in handle_ser_rx_interrupt()
3014 if (rstat & SER_ERROR_MASK) { in handle_ser_rx_interrupt()
3024 DINTR1(DEBUG_LOG(info->line, "ser_rx err stat %02X\n", rstat)); in handle_ser_rx_interrupt()
3025 if (!data && (rstat & SER_FRAMING_ERR_MASK)) { in handle_ser_rx_interrupt()
3033 if (rstat & SER_RXD_MASK) { in handle_ser_rx_interrupt()
3058 if (rstat & SER_PAR_ERR_MASK) { in handle_ser_rx_interrupt()
3061 } else if (rstat & SER_OVERRUN_MASK) { in handle_ser_rx_interrupt()
3064 } else if (rstat & SER_FRAMING_ERR_MASK) { in handle_ser_rx_interrupt()
3073 ((rstat & SER_ERROR_MASK) << 8) | data); in handle_ser_rx_interrupt()
3121 unsigned char rstat; in handle_ser_tx_interrupt() local
3124 rstat = info->port[REG_STATUS]; in handle_ser_tx_interrupt()
3125 DFLOW(DEBUG_LOG(info->line, "stat %x\n", rstat)); in handle_ser_tx_interrupt()
3136 unsigned char rstat; in handle_ser_tx_interrupt() local
3141 rstat = info->port[REG_STATUS]; in handle_ser_tx_interrupt()
3142 DFLOW(DEBUG_LOG(info->line, "stat %x\n", rstat)); in handle_ser_tx_interrupt()
4964 unsigned char rstat = info->port[REG_STATUS];
4965 if (rstat & IO_MASK(R_SERIAL0_STATUS, xoff_detect) )