Lines Matching refs:serial_in
173 static inline unsigned int serial_in(struct uart_omap_port *up, int offset) in serial_in() function
439 status = serial_in(up, UART_MSR); in check_modem_status()
472 serial_in(up, UART_RX); in serial_omap_rlsi()
527 ch = serial_in(up, UART_RX); in serial_omap_rdi()
560 iir = serial_in(up, UART_IIR); in serial_omap_irq()
565 lsr = serial_in(up, UART_LSR); in serial_omap_irq()
610 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0; in serial_omap_tx_empty()
654 old_mcr = serial_in(up, UART_MCR); in serial_omap_set_mctrl()
661 lcr = serial_in(up, UART_LCR); in serial_omap_set_mctrl()
721 (void) serial_in(up, UART_LSR); in serial_omap_startup()
722 if (serial_in(up, UART_LSR) & UART_LSR_DR) in serial_omap_startup()
723 (void) serial_in(up, UART_RX); in serial_omap_startup()
724 (void) serial_in(up, UART_IIR); in serial_omap_startup()
725 (void) serial_in(up, UART_MSR); in serial_omap_startup()
780 serial_out(up, UART_LCR, serial_in(up, UART_LCR) & ~UART_LCR_SBC); in serial_omap_shutdown()
786 if (serial_in(up, UART_LSR) & UART_LSR_DR) in serial_omap_shutdown()
787 (void) serial_in(up, UART_RX); in serial_omap_shutdown()
918 up->efr = serial_in(up, UART_EFR) & ~UART_EFR_ECB; in serial_omap_set_termios()
923 up->mcr = serial_in(up, UART_MCR) & ~UART_MCR_TCRTLR; in serial_omap_set_termios()
1071 efr = serial_in(up, UART_EFR); in serial_omap_pm()
1127 status = serial_in(up, UART_LSR); in wait_for_xmitr()
1141 unsigned int msr = serial_in(up, UART_MSR); in wait_for_xmitr()
1167 status = serial_in(up, UART_LSR); in serial_omap_poll_get_char()
1173 status = serial_in(up, UART_RX); in serial_omap_poll_get_char()
1269 ier = serial_in(up, UART_IER); in serial_omap_console_write()
1740 while (UART_LSR_THRE != (serial_in(up, UART_LSR) & in serial_omap_mdr1_errataset()
1746 serial_in(up, UART_LSR)); in serial_omap_mdr1_errataset()