Lines Matching refs:uart
177 #define pxa_uart(uart, UART) \ argument
178 int uart##_init(void) \
183 void uart##_setbrg(void) \
188 void uart##_putc(const char c) \
193 void uart##_puts(const char *s) \
198 int uart##_getc(void) \
203 int uart##_tstc(void) \
208 #define pxa_uart_desc(uart) \ argument
209 struct serial_device serial_##uart##_device = \
211 .name = "serial_"#uart, \
212 .start = uart##_init, \
214 .setbrg = uart##_setbrg, \
215 .getc = uart##_getc, \
216 .tstc = uart##_tstc, \
217 .putc = uart##_putc, \
218 .puts = uart##_puts, \
221 #define pxa_uart_multi(uart, UART) \ argument
222 pxa_uart(uart, UART) \
223 pxa_uart_desc(uart)