Searched refs:uart_softc (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | pci_lpc.c | 77 struct uart_softc *uart_softc; member 234 *eax = uart_read(sc->uart_softc, offset); in lpc_uart_io_handler() 236 uart_write(sc->uart_softc, offset, *eax); in lpc_uart_io_handler() 240 *eax = uart_read(sc->uart_softc, offset); in lpc_uart_io_handler() 241 *eax |= uart_read(sc->uart_softc, offset + 1) << 8; in lpc_uart_io_handler() 243 uart_write(sc->uart_softc, offset, *eax); in lpc_uart_io_handler() 244 uart_write(sc->uart_softc, offset + 1, *eax >> 8); in lpc_uart_io_handler() 250 *eax = uart_read(sc->uart_softc, offset); in lpc_uart_io_handler() 255 uart_write(sc->uart_softc, offset, *eax); in lpc_uart_io_handler() 256 uart_write(sc->uart_softc, offset + 1, *eax >> 8); in lpc_uart_io_handler() [all …]
|
H A D | uart_emul.h | 35 struct uart_softc; 38 struct uart_softc *uart_init(uart_intr_func_t intr_assert, 42 uint8_t uart_read(struct uart_softc *sc, int offset); 43 void uart_write(struct uart_softc *sc, int offset, uint8_t value); 44 int uart_set_backend(struct uart_softc *sc, const char *device);
|
H A D | uart_emul.c | 128 struct uart_softc { struct 259 rxfifo_available(struct uart_softc *sc) in rxfifo_available() 303 rxfifo_getchar(struct uart_softc *sc) in rxfifo_getchar() 334 rxfifo_numchars(struct uart_softc *sc) in rxfifo_numchars() 342 uart_opentty(struct uart_softc *sc) in uart_opentty() 406 uart_reset(struct uart_softc *sc) in uart_reset() 442 struct uart_softc *sc; in uart_drain() 684 struct uart_softc *sc = arg; in uart_sock_drain() 731 struct uart_softc *sc = arg; in uart_sock_accept() 823 struct uart_softc * [all …]
|
H A D | pci_uart.c | 99 struct uart_softc *sc; in pci_uart_init()
|