Lines Matching refs:uart_softc
72 struct uart_softc { struct
80 struct uart_softc *softc; argument
88 static void uart_tcp_disconnect(struct uart_softc *);
133 rxfifo_available(struct uart_softc *sc) in rxfifo_available()
139 uart_rxfifo_getchar(struct uart_softc *sc) in uart_rxfifo_getchar()
164 uart_rxfifo_numchars(struct uart_softc *sc) in uart_rxfifo_numchars()
170 rxfifo_putchar(struct uart_softc *sc, uint8_t ch) in rxfifo_putchar()
196 uart_rxfifo_drain(struct uart_softc *sc, bool loopback) in uart_rxfifo_drain()
220 uart_rxfifo_putchar(struct uart_softc *sc, uint8_t ch, bool loopback) in uart_rxfifo_putchar()
236 uart_rxfifo_reset(struct uart_softc *sc, int size) in uart_rxfifo_reset()
267 uart_rxfifo_size(struct uart_softc *sc __unused) in uart_rxfifo_size()
274 uart_rxfifo_snapshot(struct uart_softc *sc, struct vm_snapshot_meta *meta) in uart_rxfifo_snapshot()
299 struct uart_softc *sc = socket_softc->softc; in uart_tcp_listener()
338 uart_tcp_disconnect(struct uart_softc *sc) in uart_tcp_disconnect()
347 uart_stdio_backend(struct uart_softc *sc) in uart_stdio_backend()
380 uart_tty_backend(struct uart_softc *sc, const char *path) in uart_tty_backend()
418 uart_tcp_backend(struct uart_softc *sc, const char *path, in uart_tcp_backend()
513 struct uart_softc *
516 struct uart_softc *sc = calloc(1, sizeof(struct uart_softc)); in uart_init()
526 uart_tty_open(struct uart_softc *sc, const char *path, in uart_tty_open()
552 uart_softc_lock(struct uart_softc *sc) in uart_softc_lock()
558 uart_softc_unlock(struct uart_softc *sc) in uart_softc_unlock()