| 45 | } |
| 46 | |
| 47 | static void uart8250_mem_tx_byte(void *base, unsigned char data) |
| 48 | { |
| 49 | unsigned long i = SINGLE_CHAR_TIMEOUT; |
| 50 | while (i-- && !uart8250_mem_can_tx_byte(base)) |
| 51 | udelay(1); |
| 52 | uart8250_write(base, UART8250_TBR, data); |
| 53 | } |
| 54 | |
| 55 | static void uart8250_mem_tx_flush(void *base) |
| 56 | { |
no test coverage detected