Lines Matching refs:status1
929 unsigned char scratch, status1, status2; in autoconfig_8250() local
935 status1 = serial_in(up, UART_SCR); in autoconfig_8250()
940 if (status1 == 0xa5 && status2 == 0x5a) in autoconfig_8250()
965 unsigned char status1, status2; in autoconfig_16550a() local
993 status1 = serial_in(up, UART_IIR) & UART_IIR_FIFO_ENABLED_16750; in autoconfig_16550a()
997 if (status1 == UART_IIR_FIFO_ENABLED_16750) in autoconfig_16550a()
1025 status1 = serial8250_in_MCR(up); in autoconfig_16550a()
1029 if (!((status2 ^ status1) & UART_MCR_LOOP)) { in autoconfig_16550a()
1031 serial8250_out_MCR(up, status1 ^ UART_MCR_LOOP); in autoconfig_16550a()
1035 serial8250_out_MCR(up, status1); in autoconfig_16550a()
1037 if ((status2 ^ status1) & UART_MCR_LOOP) { in autoconfig_16550a()
1065 status1 = serial_in(up, UART_IIR) & UART_IIR_FIFO_ENABLED_16750; in autoconfig_16550a()
1075 DEBUG_AUTOCONF("iir1=%d iir2=%d ", status1, status2); in autoconfig_16550a()
1077 if (status1 == UART_IIR_FIFO_ENABLED_16550A && in autoconfig_16550a()
1138 unsigned char status1, scratch, scratch2, scratch3; in autoconfig() local
1216 status1 = serial_in(up, UART_MSR) & UART_MSR_STATUS_BITS; in autoconfig()
1218 if (status1 != (UART_MSR_DCD | UART_MSR_CTS)) { in autoconfig()
1221 status1); in autoconfig()