Lines Matching refs:UART_GET_CSR
98 #define UART_GET_CSR(port) __raw_readl((port)->membase + ATMEL_US_CSR) macro
259 status = UART_GET_CSR(port); in atmel_get_lines_status()
341 return (UART_GET_CSR(port) & ATMEL_US_TXEMPTY) ? TIOCSER_TEMT : 0; in atmel_tx_empty()
408 status = UART_GET_CSR(port); in atmel_get_mctrl()
647 status = UART_GET_CSR(port); in atmel_rx_chars()
681 status = UART_GET_CSR(port); in atmel_rx_chars()
696 if (port->x_char && UART_GET_CSR(port) & atmel_port->tx_done_mask) { in atmel_tx_chars()
704 while (UART_GET_CSR(port) & atmel_port->tx_done_mask) { in atmel_tx_chars()
2210 while (!(UART_GET_CSR(port) & ATMEL_US_RXRDY)) in atmel_poll_get_char()
2218 while (!(UART_GET_CSR(port) & ATMEL_US_TXRDY)) in atmel_poll_put_char()
2326 while (!(UART_GET_CSR(port) & ATMEL_US_TXRDY)) in atmel_console_putchar()
2358 status = UART_GET_CSR(port); in atmel_console_write()
2534 while (!(UART_GET_CSR(port) & ATMEL_US_TXEMPTY)) in atmel_serial_suspend()