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