Searched refs:UART_DR (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/dev/uart/ |
H A D | uart_dev_lowrisc.c | 107 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()
|
H A D | uart_dev_pl011.c | 67 #define UART_DR 0x00 /* Data register */ macro 296 volatile uint32_t *dr = (uint32_t *)(socdev_va + UART_DR * 4); in uart_pl011_early_putc() 312 __uart_setreg(bas, UART_DR, c & 0xff); in uart_pl011_putc() 329 c = __uart_getreg(bas, UART_DR) & 0xff; in uart_pl011_getc() 588 xc = __uart_getreg(bas, UART_DR); in uart_pl011_bus_receive() 623 __uart_setreg(bas, UART_DR, sc->sc_txbuf[i]); in uart_pl011_bus_transmit()
|
H A D | uart_dev_lowrisc.h | 37 #define UART_DR 0x0000 macro
|