Lines Matching refs:status
458 unsigned int status;
460 status = serial_in(up, UART_MSR);
461 status |= up->msr_saved_flags;
463 if ((status & UART_MSR_ANY_DELTA) == 0)
464 return status;
466 if (status & UART_MSR_ANY_DELTA && up->ier & UART_IER_MSI &&
468 if (status & UART_MSR_TERI)
470 if (status & UART_MSR_DDSR)
472 if (status & UART_MSR_DDCD)
474 (&up->port, status & UART_MSR_DCD);
475 if (status & UART_MSR_DCTS)
477 (&up->port, status & UART_MSR_CTS);
481 return status;
645 unsigned int status;
649 status = check_modem_status(up);
655 if (status & UART_MSR_DCD)
657 if (status & UART_MSR_RI)
659 if (status & UART_MSR_DSR)
661 if (status & UART_MSR_CTS)
693 if ((mctrl & TIOCM_RTS) && (port->status & UPSTAT_AUTORTS))
777 * Finally, enable interrupts. Note: Modem status interrupts
936 * Modem status interrupts
1047 up->port.status &= ~(UPSTAT_AUTOCTS | UPSTAT_AUTORTS | UPSTAT_AUTOXOFF);
1051 up->port.status |= UPSTAT_AUTOCTS | UPSTAT_AUTORTS;
1076 up->port.status |= UPSTAT_AUTOXOFF;
1170 unsigned int status, tmout = 10000;
1174 status = serial_in(up, UART_LSR);
1176 if (status & UART_LSR_BI)
1182 } while ((status & BOTH_EMPTY) != BOTH_EMPTY);
1215 unsigned int status;
1218 status = serial_in(up, UART_LSR);
1219 if (!(status & UART_LSR_DR)) {
1220 status = NO_POLL_CHAR;
1224 status = serial_in(up, UART_RX);
1230 return status;
1253 unsigned int status;
1256 status = omap_serial_early_in(port, UART_LSR);
1257 if ((status & BOTH_EMPTY) == BOTH_EMPTY)