Lines Matching refs:serial_in
316 unsigned char dll = serial_in(up, UART_DLL); in default_serial_dl_read()
317 unsigned char dlm = serial_in(up, UART_DLM); in default_serial_dl_read()
472 p->serial_in = hub6_serial_in; in set_io_from_upio()
477 p->serial_in = mem_serial_in; in set_io_from_upio()
482 p->serial_in = mem16_serial_in; in set_io_from_upio()
487 p->serial_in = mem32_serial_in; in set_io_from_upio()
492 p->serial_in = mem32be_serial_in; in set_io_from_upio()
498 p->serial_in = au_serial_in; in set_io_from_upio()
506 p->serial_in = io_serial_in; in set_io_from_upio()
525 p->serial_in(p, UART_LCR); /* safe, no side-effects */ in serial_port_out_sync()
547 value = serial_in(up, UART_ICR); in serial_icr_read()
759 lcr = serial_in(p, UART_LCR); in serial8250_set_sleep()
760 efr = serial_in(p, UART_EFR); in serial8250_set_sleep()
786 mode = serial_in(up, UART_RSA_MSR); in __enable_rsa()
791 mode = serial_in(up, UART_RSA_MSR); in __enable_rsa()
829 mode = serial_in(up, UART_RSA_MSR); in disable_rsa()
834 mode = serial_in(up, UART_RSA_MSR); in disable_rsa()
855 old_lcr = serial_in(up, UART_LCR); in size_fifo()
857 old_fcr = serial_in(up, UART_FCR); in size_fifo()
869 for (count = 0; (serial_in(up, UART_LSR) & UART_LSR_DR) && in size_fifo()
871 serial_in(up, UART_RX); in size_fifo()
891 old_lcr = serial_in(p, UART_LCR); in autoconfig_read_divisor_id()
1007 scratch = serial_in(up, UART_SCR); in autoconfig_8250()
1009 status1 = serial_in(up, UART_SCR); in autoconfig_8250()
1011 status2 = serial_in(up, UART_SCR); in autoconfig_8250()
1053 if (serial_in(up, UART_EFR) == 0) { in autoconfig_16550a()
1055 if (serial_in(up, UART_EFR) != 0) { in autoconfig_16550a()
1063 status1 = serial_in(up, UART_IIR) >> 5; in autoconfig_16550a()
1081 if (serial_in(up, UART_EFR) == 0 && !broken_efr(up)) { in autoconfig_16550a()
1097 status2 = serial_in(up, 0x02); /* EXCR1 */ in autoconfig_16550a()
1103 status2 = serial_in(up, 0x02); /* EXCR1 */ in autoconfig_16550a()
1135 status1 = serial_in(up, UART_IIR) >> 5; in autoconfig_16550a()
1139 status2 = serial_in(up, UART_IIR) >> 5; in autoconfig_16550a()
1159 iersave = serial_in(up, UART_IER); in autoconfig_16550a()
1161 if (!(serial_in(up, UART_IER) & UART_IER_UUE)) { in autoconfig_16550a()
1167 if (serial_in(up, UART_IER) & UART_IER_UUE) { in autoconfig_16550a()
1240 scratch = serial_in(up, UART_IER); in autoconfig()
1249 scratch2 = serial_in(up, UART_IER) & 0x0f; in autoconfig()
1254 scratch3 = serial_in(up, UART_IER) & 0x0f; in autoconfig()
1268 save_lcr = serial_in(up, UART_LCR); in autoconfig()
1281 status1 = serial_in(up, UART_MSR) & 0xF0; in autoconfig()
1307 scratch = serial_in(up, UART_IIR); in autoconfig()
1352 serial_in(up, UART_RX); in autoconfig()
1398 save_ier = serial_in(up, UART_IER); in autoconfig_irq()
1411 serial_in(up, UART_LSR); in autoconfig_irq()
1412 serial_in(up, UART_RX); in autoconfig_irq()
1413 serial_in(up, UART_IIR); in autoconfig_irq()
1414 serial_in(up, UART_MSR); in autoconfig_irq()
1529 unsigned char lsr = serial_in(p, UART_LSR); in __stop_tx()
1572 lsr = serial_in(up, UART_LSR); in __start_tx()
1718 ch = serial_in(up, UART_RX); in serial8250_read_char()
1787 lsr = serial_in(up, UART_LSR); in serial8250_rx_chars()
1829 serial_in(up, UART_SCR); in serial8250_tx_chars()
1836 (serial_in(up, UART_LSR) & BOTH_EMPTY) != BOTH_EMPTY) in serial8250_tx_chars()
1840 !(serial_in(up, UART_LSR) & UART_LSR_THRE)) in serial8250_tx_chars()
1861 unsigned int status = serial_in(up, UART_MSR); in serial8250_modem_status()
2068 status = serial_in(up, UART_LSR); in wait_for_xmitr()
2083 unsigned int msr = serial_in(up, UART_MSR); in wait_for_xmitr()
2250 fctr = serial_in(up, UART_FCTR) & ~(UART_FCTR_RX|UART_FCTR_TX); in serial8250_do_startup()