Lines Matching defs:rstat
1858 unsigned char rstat;
1887 rstat = info->ioport[REG_STATUS];
1888 if (rstat & IO_MASK(R_SERIAL0_STATUS, xoff_detect) ) {
1889 DFLOW(DEBUG_LOG(info->line, "XOFF detect stat %x\n", rstat));
1892 if (rstat & SER_ERROR_MASK) {
1900 ((rstat & SER_ERROR_MASK) << 8) | data);
1902 if (rstat & SER_PAR_ERR_MASK)
1904 else if (rstat & SER_OVERRUN_MASK)
1906 else if (rstat & SER_FRAMING_ERR_MASK)
2072 unsigned char rstat = info->ioport[REG_STATUS];
2075 if (rstat & SER_ERROR_MASK) {
2081 DEBUG_LOG(info->line, "timeout err: rstat 0x%03X\n",
2082 rstat | (info->line << 8));
2086 if (rstat & SER_DATA_AVAIL_MASK) {
2088 TIMERD(DEBUG_LOG(info->line, "timeout: rstat 0x%03X\n",
2089 rstat | (info->line << 8)));
2398 unsigned char rstat;
2403 /* DEBUG_LOG(info->line, "ser_interrupt stat %03X\n", rstat | (i << 8)); */
2408 rstat = info->ioport[REG_STATUS];
2409 if (rstat & IO_MASK(R_SERIAL0_STATUS, xoff_detect) ) {
2413 if (rstat & SER_ERROR_MASK) {
2423 DINTR1(DEBUG_LOG(info->line, "ser_rx err stat %02X\n", rstat));
2424 if (!data && (rstat & SER_FRAMING_ERR_MASK)) {
2432 if (rstat & SER_RXD_MASK) {
2457 if (rstat & SER_PAR_ERR_MASK) {
2460 } else if (rstat & SER_OVERRUN_MASK) {
2463 } else if (rstat & SER_FRAMING_ERR_MASK) {
2472 ((rstat & SER_ERROR_MASK) << 8) | data);
2520 unsigned char rstat;
2523 rstat = info->ioport[REG_STATUS];
2524 DFLOW(DEBUG_LOG(info->line, "stat %x\n", rstat));
2535 unsigned char rstat;
2540 rstat = info->ioport[REG_STATUS];
2541 DFLOW(DEBUG_LOG(info->line, "stat %x\n", rstat));
4305 unsigned char rstat = info->ioport[REG_STATUS];
4306 if (rstat & IO_MASK(R_SERIAL0_STATUS, xoff_detect))