Lines Matching refs:UARTSTAT
125 #define UARTSTAT 0x04 macro
720 if (lpuart32_read(&sport->port, UARTSTAT) & UARTSTAT_RDRF) { in lpuart32_poll_init()
734 lpuart32_wait_bit_set(port, UARTSTAT, UARTSTAT_TDRE); in lpuart32_poll_put_char()
822 if (lpuart32_read(port, UARTSTAT) & UARTSTAT_TDRE) in lpuart32_start_tx()
862 unsigned long stat = lpuart32_read(port, UARTSTAT); in lpuart32_tx_empty()
980 sr = lpuart32_read(&sport->port, UARTSTAT); in lpuart32_rxint()
1120 unsigned long sr = lpuart32_read(&sport->port, UARTSTAT); in lpuart_copy_rx_to_tty()
1124 lpuart32_write(&sport->port, sr, UARTSTAT); in lpuart_copy_rx_to_tty()
1288 sts = lpuart32_read(&sport->port, UARTSTAT); in lpuart32_int()
1301 lpuart32_write(&sport->port, sts, UARTSTAT); in lpuart32_int()
1958 temp = lpuart32_read(&sport->port, UARTSTAT); in lpuart32_shutdown()
1959 lpuart32_write(&sport->port, temp, UARTSTAT); in lpuart32_shutdown()
2339 lpuart32_wait_bit_set(&sport->port, UARTSTAT, UARTSTAT_TC); in lpuart32_set_termios()
2470 lpuart32_wait_bit_set(port, UARTSTAT, UARTSTAT_TDRE); in lpuart32_console_putchar()
2526 lpuart32_wait_bit_set(&sport->port, UARTSTAT, UARTSTAT_TC); in lpuart32_console_write()
3016 lpuart32_write(&sport->port, UARTSTAT_RXEDGIF, UARTSTAT); in serial_lpuart_enable_wakeup()
3080 val = lpuart32_read(&sport->port, UARTSTAT); in lpuart_resume_noirq()
3081 lpuart32_write(&sport->port, val, UARTSTAT); in lpuart_resume_noirq()