Lines Matching refs:msm_read
55 if (!(msm_read(port, UART_SR) & UART_SR_TX_EMPTY)) in wait_for_xmitr()
56 while ((msm_read(port, UART_ISR) & bits) != bits) in wait_for_xmitr()
99 if ((msm_read(port, UART_SR) & UART_SR_OVERRUN)) { in handle_rx_dm()
106 count = msm_read(port, UARTDM_RX_TOTAL_SNAP) - in handle_rx_dm()
110 count = 4 * (msm_read(port, UART_RFWR)); in handle_rx_dm()
121 sr = msm_read(port, UART_SR); in handle_rx_dm()
126 c = msm_read(port, UARTDM_RF); in handle_rx_dm()
156 if ((msm_read(port, UART_SR) & UART_SR_OVERRUN)) { in handle_rx()
163 while ((sr = msm_read(port, UART_SR)) & UART_SR_RX_READY) { in handle_rx()
167 c = msm_read(port, UART_RF); in handle_rx()
220 while (msm_read(port, UART_SR) & UART_SR_TX_READY) { in handle_tx()
256 misr = msm_read(port, UART_MISR); in msm_irq()
278 return (msm_read(port, UART_SR) & UART_SR_TX_EMPTY) ? TIOCSER_TEMT : 0; in msm_tx_empty()
301 mr = msm_read(port, UART_MR1); in msm_set_mctrl()
439 data = msm_read(port, UART_MR1); in msm_startup()
447 data = msm_read(port, UART_IPR); in msm_startup()
509 mr = msm_read(port, UART_MR2); in msm_set_termios()
549 mr = msm_read(port, UART_MR1); in msm_set_termios()
771 while (!(msm_read(port, UART_SR) & UART_SR_TX_READY)) in msm_console_putchar()