Searched refs:uart (Results 1 – 2 of 2) sorted by relevance
55 #define uart (*((struct apbuart *) 0x80000100)) macro90 uart.control |= UART_TRANSMIT_ENABLE; in sparc_putc()91 while ((uart.status & UART_TRANSMIT_FIFO_FULL) != 0) in sparc_putc()93 uart.data = (uint8_t) c; in sparc_putc()103 uart.control |= UART_RECEIVE_ENABLE; in sparc_getc()104 while ((uart.status & UART_DATA_READY) == 0) in sparc_getc()106 return (unsigned char) uart.data; in sparc_getc()
80 #define uart (*((struct uart_8250 *) 0xbf000900)) macro95 while ((uart.lsr & (UART_LSR_TEMT|UART_LSR_THRE)) != (UART_LSR_TEMT|UART_LSR_THRE)) in mips_putc()97 uart.data = (uint8_t) c; in mips_putc()