Home
last modified time | relevance | path

Searched refs:UART_DR (Results 1 – 3 of 3) sorted by relevance

/freebsd-13-stable/sys/dev/uart/
HDuart_dev_lowrisc.c107 while (GETREG(bas, UART_DR) & DR_TX_FIFO_FULL) in lowrisc_uart_putc()
110 SETREG(bas, UART_DR, c); in lowrisc_uart_putc()
117 if (GETREG(bas, UART_DR) & DR_RX_FIFO_EMPTY) in lowrisc_uart_rxready()
130 reg = GETREG(bas, UART_DR); in lowrisc_uart_getc()
274 if ((GETREG(bas, UART_DR) & DR_RX_FIFO_EMPTY) == 0) in lowrisc_uart_bus_ipend()
333 reg = GETREG(bas, UART_DR); in lowrisc_uart_bus_receive()
360 while (GETREG(bas, UART_DR) & DR_TX_FIFO_FULL) in lowrisc_uart_bus_transmit()
362 SETREG(bas, UART_DR, sc->sc_txbuf[i] & 0xff); in lowrisc_uart_bus_transmit()
HDuart_dev_pl011.c68 #define UART_DR 0x00 /* Data register */ macro
260 __uart_setreg(bas, UART_DR, c & 0xff); in uart_pl011_putc()
277 c = __uart_getreg(bas, UART_DR) & 0xff; in uart_pl011_getc()
534 xc = __uart_getreg(bas, UART_DR); in uart_pl011_bus_receive()
569 __uart_setreg(bas, UART_DR, sc->sc_txbuf[i]); in uart_pl011_bus_transmit()
HDuart_dev_lowrisc.h37 #define UART_DR 0x0000 macro