Searched refs:serial_din (Results 1 – 2 of 2) sorted by relevance
285 while (!(serial_din(&com_port->lsr) & UART_LSR_THRE)) in _debug_uart_putc()302 while (!(serial_din(&com_port->lsr) & UART_LSR_DR)) in _debug_uart_getc()305 return serial_din(&com_port->rbr); in _debug_uart_getc()321 return serial_din(&com_port->lsr) & UART_LSR_DR ? 1 : 0; in _debug_uart_tstc()323 return serial_din(&com_port->lsr) & UART_LSR_THRE ? 0 : 1; in _debug_uart_tstc()362 while (!(serial_din(&com_port->rbr + 0x1f) & 0x04)) in _debug_uart_flushc()426 while (!(serial_din(&com_port->lsr) & UART_LSR_THRE)) in _debug_uart_putc()
131 #define serial_din(reg) \ macro