Lines Matching refs:uart_softc

85 struct uart_softc {  struct
140 sockwrite(struct uart_softc *sc, unsigned char wb) in sockwrite()
147 rxfifo_available(struct uart_softc *sc) in rxfifo_available()
153 uart_rxfifo_getchar(struct uart_softc *sc) in uart_rxfifo_getchar()
184 uart_rxfifo_numchars(struct uart_softc *sc) in uart_rxfifo_numchars()
190 rxfifo_putchar(struct uart_softc *sc, uint8_t ch) in rxfifo_putchar()
225 uart_rxfifo_drain(struct uart_softc *sc, bool loopback) in uart_rxfifo_drain()
240 uart_rxfifo_sock_drain(struct uart_softc *sc, bool loopback) in uart_rxfifo_sock_drain()
278 uart_rxfifo_putchar(struct uart_softc *sc, uint8_t ch, bool loopback) in uart_rxfifo_putchar()
297 uart_rxfifo_reset(struct uart_softc *sc, int size) in uart_rxfifo_reset()
341 uart_rxfifo_size(struct uart_softc *sc __unused) in uart_rxfifo_size()
348 uart_rxfifo_snapshot(struct uart_softc *sc, struct vm_snapshot_meta *meta) in uart_rxfifo_snapshot()
365 uart_stdio_backend(struct uart_softc *sc) in uart_stdio_backend()
398 uart_tty_backend(struct uart_softc *sc, const char *path) in uart_tty_backend()
433 struct uart_softc *sc = arg; in uart_sock_accept()
511 uart_sock_backend(struct uart_softc *sc, const char *inopts, in uart_sock_backend()
560 struct uart_softc *
563 struct uart_softc *sc = calloc(1, sizeof(struct uart_softc)); in uart_init()
573 uart_tty_open(struct uart_softc *sc, const char *path, in uart_tty_open()
596 uart_softc_lock(struct uart_softc *sc) in uart_softc_lock()
602 uart_softc_unlock(struct uart_softc *sc) in uart_softc_unlock()