Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/uart/
H A Duart_dev_lowrisc.c109 while (GETREG(bas, UART_DR) & DR_TX_FIFO_FULL) in lowrisc_uart_putc()
112 SETREG(bas, UART_DR, c); in lowrisc_uart_putc()
119 if (GETREG(bas, UART_DR) & DR_RX_FIFO_EMPTY) in lowrisc_uart_rxready()
132 reg = GETREG(bas, UART_DR); in lowrisc_uart_getc()
276 if ((GETREG(bas, UART_DR) & DR_RX_FIFO_EMPTY) == 0) in lowrisc_uart_bus_ipend()
335 reg = GETREG(bas, UART_DR); in lowrisc_uart_bus_receive()
362 while (GETREG(bas, UART_DR) & DR_TX_FIFO_FULL) in lowrisc_uart_bus_transmit()
364 SETREG(bas, UART_DR, sc->sc_txbuf[i] & 0xff); in lowrisc_uart_bus_transmit()
H A Duart_dev_pl011.c70 #define UART_DR 0x00 /* Data register */ macro
262 __uart_setreg(bas, UART_DR, c & 0xff); in uart_pl011_putc()
279 c = __uart_getreg(bas, UART_DR) & 0xff; in uart_pl011_getc()
536 xc = __uart_getreg(bas, UART_DR); in uart_pl011_bus_receive()
571 __uart_setreg(bas, UART_DR, sc->sc_txbuf[i]); in uart_pl011_bus_transmit()
H A Duart_dev_lowrisc.h39 #define UART_DR 0x0000 macro