Home
last modified time | relevance | path

Searched refs:USART3_BIT (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/drivers/serial/
Datmel_usart.c51 if (!(readl(&usart->csr) & USART3_BIT(TXEMPTY))) in atmel_serial_init_internal()
54 writel(USART3_BIT(RSTRX) | USART3_BIT(RSTTX), &usart->cr); in atmel_serial_init_internal()
65 writel(USART3_BIT(RXEN) | USART3_BIT(TXEN), &usart->cr); in atmel_serial_activate()
94 while (!(readl(&usart->csr) & USART3_BIT(TXRDY))); in atmel_serial_putc()
102 while (!(readl(&usart->csr) & USART3_BIT(RXRDY))) in atmel_serial_getc()
110 return (readl(&usart->csr) & USART3_BIT(RXRDY)) != 0; in atmel_serial_tstc()
158 writel(USART3_BIT(RXDIS) | USART3_BIT(TXDIS), &usart->cr); in _atmel_serial_init()
168 writel(USART3_BIT(RSTRX) | USART3_BIT(RSTTX), &usart->cr); in _atmel_serial_init()
169 writel(USART3_BIT(RXEN) | USART3_BIT(TXEN), &usart->cr); in _atmel_serial_init()
185 if (!(readl(&priv->usart->csr) & USART3_BIT(RXRDY))) in atmel_serial_getc()
[all …]
Datmel_usart.h280 #define USART3_BIT(name) \ macro