| /freebsd-14.2/sys/dev/uart/ |
| H A D | uart_dev_ns8250.h | 36 struct uart_softc base; 48 int ns8250_bus_attach(struct uart_softc *); 49 int ns8250_bus_detach(struct uart_softc *); 51 int ns8250_bus_getsig(struct uart_softc *); 53 int ns8250_bus_ipend(struct uart_softc *); 55 int ns8250_bus_probe(struct uart_softc *); 56 int ns8250_bus_receive(struct uart_softc *); 58 int ns8250_bus_transmit(struct uart_softc *); 59 void ns8250_bus_grab(struct uart_softc *); 60 bool ns8250_bus_txbusy(struct uart_softc *); [all …]
|
| H A D | uart_dev_lowrisc.c | 140 struct uart_softc base; 148 static int lowrisc_uart_bus_ipend(struct uart_softc *); 191 lowrisc_uart_bus_attach(struct uart_softc *sc) in lowrisc_uart_bus_attach() 212 lowrisc_uart_bus_detach(struct uart_softc *sc) in lowrisc_uart_bus_detach() 230 lowrisc_uart_bus_getsig(struct uart_softc *sc) in lowrisc_uart_bus_getsig() 264 lowrisc_uart_bus_ipend(struct uart_softc *sc) in lowrisc_uart_bus_ipend() 295 lowrisc_uart_bus_probe(struct uart_softc *sc) in lowrisc_uart_bus_probe() 318 lowrisc_uart_bus_receive(struct uart_softc *sc) in lowrisc_uart_bus_receive() 351 lowrisc_uart_bus_transmit(struct uart_softc *sc) in lowrisc_uart_bus_transmit() 370 lowrisc_uart_bus_grab(struct uart_softc *sc) in lowrisc_uart_bus_grab() [all …]
|
| H A D | uart_dev_mu.c | 252 struct uart_softc bas; 261 static int uart_mu_bus_ipend(struct uart_softc *); 306 uart_mu_bus_attach(struct uart_softc *sc) in uart_mu_bus_attach() 324 uart_mu_bus_detach(struct uart_softc *sc) in uart_mu_bus_detach() 338 uart_mu_bus_getsig(struct uart_softc *sc) in uart_mu_bus_getsig() 367 uart_mu_bus_ipend(struct uart_softc *sc) in uart_mu_bus_ipend() 416 uart_mu_bus_probe(struct uart_softc *sc) in uart_mu_bus_probe() 428 uart_mu_bus_receive(struct uart_softc *sc) in uart_mu_bus_receive() 461 uart_mu_bus_transmit(struct uart_softc *sc) in uart_mu_bus_transmit() 486 uart_mu_bus_grab(struct uart_softc *sc) in uart_mu_bus_grab() [all …]
|
| H A D | uart_dev_pl011.c | 286 struct uart_softc base; 350 uart_pl011_bus_attach(struct uart_softc *sc) in uart_pl011_bus_attach() 369 uart_pl011_bus_detach(struct uart_softc *sc) in uart_pl011_bus_detach() 383 uart_pl011_bus_getsig(struct uart_softc *sc) in uart_pl011_bus_getsig() 412 uart_pl011_bus_ipend(struct uart_softc *sc) in uart_pl011_bus_ipend() 459 uart_pl011_bus_hwrev_fdt(struct uart_softc *sc) in uart_pl011_bus_hwrev_fdt() 490 uart_pl011_bus_probe(struct uart_softc *sc) in uart_pl011_bus_probe() 516 uart_pl011_bus_receive(struct uart_softc *sc) in uart_pl011_bus_receive() 558 uart_pl011_bus_transmit(struct uart_softc *sc) in uart_pl011_bus_transmit() 583 uart_pl011_bus_grab(struct uart_softc *sc) in uart_pl011_bus_grab() [all …]
|
| H A D | uart_dev_mvebu.c | 276 struct uart_softc base; 285 static int uart_mvebu_bus_ipend(struct uart_softc *); 329 uart_mvebu_bus_attach(struct uart_softc *sc) in uart_mvebu_bus_attach() 353 uart_mvebu_bus_detach(struct uart_softc *sc) in uart_mvebu_bus_detach() 396 uart_mvebu_bus_getsig(struct uart_softc *sc) in uart_mvebu_bus_getsig() 438 uart_mvebu_bus_ipend(struct uart_softc *sc) in uart_mvebu_bus_ipend() 482 uart_mvebu_bus_probe(struct uart_softc *sc) in uart_mvebu_bus_probe() 501 uart_mvebu_bus_receive(struct uart_softc *sc) in uart_mvebu_bus_receive() 553 uart_mvebu_bus_transmit(struct uart_softc *sc) in uart_mvebu_bus_transmit() 586 uart_mvebu_bus_grab(struct uart_softc *sc) in uart_mvebu_bus_grab() [all …]
|
| H A D | uart_dev_msm.c | 287 struct uart_softc base; 296 static int msm_bus_ipend(struct uart_softc *); 301 static void msm_bus_grab(struct uart_softc *); 321 msm_bus_probe(struct uart_softc *sc) in msm_bus_probe() 337 msm_bus_attach(struct uart_softc *sc) in msm_bus_attach() 358 msm_bus_transmit(struct uart_softc *sc) in msm_bus_transmit() 396 msm_bus_receive(struct uart_softc *sc) in msm_bus_receive() 451 msm_bus_ipend(struct uart_softc *sc) in msm_bus_ipend() 518 msm_bus_getsig(struct uart_softc *sc) in msm_bus_getsig() 532 msm_bus_grab(struct uart_softc *sc) in msm_bus_grab() [all …]
|
| H A D | uart_dev_quicc.c | 234 struct uart_softc base; 242 static int quicc_bus_ipend(struct uart_softc *); 286 quicc_bus_attach(struct uart_softc *sc) in quicc_bus_attach() 312 quicc_bus_detach(struct uart_softc *sc) in quicc_bus_detach() 326 quicc_bus_getsig(struct uart_softc *sc) in quicc_bus_getsig() 374 quicc_bus_ipend(struct uart_softc *sc) in quicc_bus_ipend() 413 quicc_bus_probe(struct uart_softc *sc) in quicc_bus_probe() 429 quicc_bus_receive(struct uart_softc *sc) in quicc_bus_receive() 471 quicc_bus_transmit(struct uart_softc *sc) in quicc_bus_transmit() 491 quicc_bus_grab(struct uart_softc *sc) in quicc_bus_grab() [all …]
|
| H A D | uart_bus.h | 73 struct uart_softc { struct 148 void uart_sched_softih(struct uart_softc *, uint32_t); argument 150 int uart_tty_attach(struct uart_softc *); 151 int uart_tty_detach(struct uart_softc *); 152 struct mtx *uart_tty_getlock(struct uart_softc *); 159 uart_rx_empty(struct uart_softc *sc) in uart_rx_empty() 166 uart_rx_full(struct uart_softc *sc) in uart_rx_full() 174 uart_rx_get(struct uart_softc *sc) in uart_rx_get() 187 uart_rx_next(struct uart_softc *sc) in uart_rx_next() 200 uart_rx_peek(struct uart_softc *sc) in uart_rx_peek() [all …]
|
| H A D | uart_dev_imx.c | 268 struct uart_softc base; 333 imx_uart_setup_clocks(struct uart_softc *sc) in imx_uart_setup_clocks() 368 imx_uart_bus_attach(struct uart_softc *sc) in imx_uart_bus_attach() 429 imx_uart_bus_detach(struct uart_softc *sc) in imx_uart_bus_detach() 446 imx_uart_bus_getsig(struct uart_softc *sc) in imx_uart_bus_getsig() 491 imx_uart_bus_ipend(struct uart_softc *sc) in imx_uart_bus_ipend() 553 imx_uart_bus_probe(struct uart_softc *sc) in imx_uart_bus_probe() 575 imx_uart_bus_receive(struct uart_softc *sc) in imx_uart_bus_receive() 623 imx_uart_bus_transmit(struct uart_softc *sc) in imx_uart_bus_transmit() 649 imx_uart_bus_grab(struct uart_softc *sc) in imx_uart_bus_grab() [all …]
|
| H A D | uart_dev_z8530.c | 268 struct uart_softc base; 278 static int z8530_bus_ipend(struct uart_softc *); 322 z8530_bus_attach(struct uart_softc *sc) in z8530_bus_attach() 356 z8530_bus_detach(struct uart_softc *sc) in z8530_bus_detach() 370 z8530_bus_getsig(struct uart_softc *sc) in z8530_bus_getsig() 423 z8530_bus_ipend(struct uart_softc *sc) in z8530_bus_ipend() 510 z8530_bus_probe(struct uart_softc *sc) in z8530_bus_probe() 529 z8530_bus_receive(struct uart_softc *sc) in z8530_bus_receive() 611 z8530_bus_transmit(struct uart_softc *sc) in z8530_bus_transmit() 629 z8530_bus_grab(struct uart_softc *sc) in z8530_bus_grab() [all …]
|
| H A D | uart_tty.c | 167 struct uart_softc *sc; in uart_tty_open() 181 struct uart_softc *sc; in uart_tty_close() 201 struct uart_softc *sc; in uart_tty_outwakeup() 226 struct uart_softc *sc; in uart_tty_inwakeup() 244 struct uart_softc *sc; in uart_tty_ioctl() 263 struct uart_softc *sc; in uart_tty_param() 311 struct uart_softc *sc; in uart_tty_modem() 322 struct uart_softc *sc = arg; in uart_tty_intr() 388 struct uart_softc *sc; in uart_tty_busy() 421 uart_tty_attach(struct uart_softc *sc) in uart_tty_attach() [all …]
|
| H A D | uart_core.c | 123 struct uart_softc *sc; in uart_pps_mode_sysctl() 294 struct uart_softc *sc = arg; in uart_intr_break() 325 struct uart_softc *sc = arg; in uart_intr_overrun() 344 struct uart_softc *sc = arg; in uart_intr_rxready() 377 struct uart_softc *sc = arg; in uart_intr_sigchg() 414 struct uart_softc *sc = arg; in uart_intr_txidle() 480 struct uart_softc *sc; in uart_bus_ipend() 489 struct uart_softc *sc; in uart_bus_sysdev() 498 struct uart_softc *sc; in uart_bus_probe() 771 struct uart_softc *sc; in uart_bus_detach() [all …]
|
| H A D | uart_if.m | 58 struct uart_softc *this; 67 struct uart_softc *this; 74 struct uart_softc *this; 86 struct uart_softc *this; 94 struct uart_softc *this; 109 struct uart_softc *this; 115 struct uart_softc *this; 127 struct uart_softc *this; 134 struct uart_softc *this; 143 struct uart_softc *this; [all …]
|
| H A D | uart_bus_pci.c | 64 sizeof(struct uart_softc), 236 struct uart_softc *sc; in uart_pci_unique_console_match() 266 struct uart_softc *sc; in uart_pci_probe() 316 struct uart_softc *sc; in uart_pci_attach() 342 struct uart_softc *sc; in uart_pci_detach()
|
| H A D | uart_cpu.h | 36 struct uart_softc; 76 int (*attach)(struct uart_softc*); 77 int (*detach)(struct uart_softc*); 80 struct uart_softc *sc; /* valid only from start of attach */
|
| H A D | uart_bus_scc.c | 63 sizeof(struct uart_softc), 70 struct uart_softc *sc; in uart_scc_attach() 86 struct uart_softc *sc; in uart_scc_probe()
|
| H A D | uart_dev_ns8250.c | 514 ns8250_bus_attach(struct uart_softc *sc) in ns8250_bus_attach() 596 ns8250_bus_detach(struct uart_softc *sc) in ns8250_bus_detach() 612 ns8250_bus_flush(struct uart_softc *sc, int what) in ns8250_bus_flush() 632 ns8250_bus_getsig(struct uart_softc *sc) in ns8250_bus_getsig() 742 ns8250_bus_ipend(struct uart_softc *sc) in ns8250_bus_ipend() 826 ns8250_bus_probe(struct uart_softc *sc) in ns8250_bus_probe() 995 ns8250_bus_receive(struct uart_softc *sc) in ns8250_bus_receive() 1058 ns8250_bus_transmit(struct uart_softc *sc) in ns8250_bus_transmit() 1087 ns8250_bus_txbusy(struct uart_softc *sc) in ns8250_bus_txbusy() 1098 ns8250_bus_grab(struct uart_softc *sc) in ns8250_bus_grab() [all …]
|
| H A D | uart_bus_puc.c | 62 sizeof(struct uart_softc), 69 struct uart_softc *sc; in uart_puc_probe()
|
| /freebsd-14.2/usr.sbin/bhyve/ |
| H A D | uart_backend.h | 37 struct uart_softc; 40 void uart_rxfifo_drain(struct uart_softc *sc, bool loopback); 41 int uart_rxfifo_getchar(struct uart_softc *sc); 42 int uart_rxfifo_numchars(struct uart_softc *sc); 43 int uart_rxfifo_putchar(struct uart_softc *sc, uint8_t ch, bool loopback); 44 void uart_rxfifo_reset(struct uart_softc *sc, int size); 45 int uart_rxfifo_size(struct uart_softc *sc); 47 int uart_rxfifo_snapshot(struct uart_softc *sc, 51 struct uart_softc *uart_init(void); 52 int uart_tty_open(struct uart_softc *sc, const char *path,
|
| H A D | uart_backend.c | 65 struct uart_softc { struct 115 rxfifo_available(struct uart_softc *sc) in rxfifo_available() 121 uart_rxfifo_getchar(struct uart_softc *sc) in uart_rxfifo_getchar() 146 uart_rxfifo_numchars(struct uart_softc *sc) in uart_rxfifo_numchars() 152 rxfifo_putchar(struct uart_softc *sc, uint8_t ch) in rxfifo_putchar() 178 uart_rxfifo_drain(struct uart_softc *sc, bool loopback) in uart_rxfifo_drain() 206 uart_rxfifo_reset(struct uart_softc *sc, int size) in uart_rxfifo_reset() 237 uart_rxfifo_size(struct uart_softc *sc __unused) in uart_rxfifo_size() 261 uart_stdio_backend(struct uart_softc *sc) in uart_stdio_backend() 325 struct uart_softc * [all …]
|
| /freebsd-14.2/sys/arm/freescale/vybrid/ |
| H A D | vf_uart.c | 121 void uart_reinit(struct uart_softc *,int,int); 195 struct uart_softc base; 251 static int vf_uart_bus_ipend(struct uart_softc *); 253 static int vf_uart_bus_probe(struct uart_softc *); 290 vf_uart_bus_attach(struct uart_softc *sc) in vf_uart_bus_attach() 314 vf_uart_bus_detach(struct uart_softc *sc) in vf_uart_bus_detach() 330 vf_uart_bus_getsig(struct uart_softc *sc) in vf_uart_bus_getsig() 362 vf_uart_bus_ipend(struct uart_softc *sc) in vf_uart_bus_ipend() 421 vf_uart_bus_probe(struct uart_softc *sc) in vf_uart_bus_probe() 437 vf_uart_bus_receive(struct uart_softc *sc) in vf_uart_bus_receive() [all …]
|
| /freebsd-14.2/sys/arm/xilinx/ |
| H A D | uart_dev_cdnc.c | 391 static int cdnc_uart_bus_ipend(struct uart_softc *); 396 static void cdnc_uart_bus_grab(struct uart_softc *); 417 cdnc_uart_bus_probe(struct uart_softc *sc) in cdnc_uart_bus_probe() 431 cdnc_uart_bus_attach(struct uart_softc *sc) in cdnc_uart_bus_attach() 455 cdnc_uart_bus_transmit(struct uart_softc *sc) in cdnc_uart_bus_transmit() 507 cdnc_uart_bus_receive(struct uart_softc *sc) in cdnc_uart_bus_receive() 556 cdnc_uart_bus_ipend(struct uart_softc *sc) in cdnc_uart_bus_ipend() 613 cdnc_uart_bus_getsig(struct uart_softc *sc) in cdnc_uart_bus_getsig() 678 cdnc_uart_bus_grab(struct uart_softc *sc) in cdnc_uart_bus_grab() 688 cdnc_uart_bus_ungrab(struct uart_softc *sc) in cdnc_uart_bus_ungrab() [all …]
|
| /freebsd-14.2/sys/riscv/sifive/ |
| H A D | sifive_uart.c | 84 struct uart_softc uart_softc; member 169 sfuart_bus_probe(struct uart_softc *sc) in sfuart_bus_probe() 188 sfuart_bus_attach(struct uart_softc *sc) in sfuart_bus_attach() 236 sfuart_bus_detach(struct uart_softc *sc) in sfuart_bus_detach() 257 sfuart_bus_flush(struct uart_softc *sc, int what) in sfuart_bus_flush() 290 sfuart_bus_getsig(struct uart_softc *sc) in sfuart_bus_getsig() 358 sfuart_bus_ipend(struct uart_softc *sc) in sfuart_bus_ipend() 425 sfuart_bus_receive(struct uart_softc *sc) in sfuart_bus_receive() 451 sfuart_bus_transmit(struct uart_softc *sc) in sfuart_bus_transmit() 475 sfuart_bus_grab(struct uart_softc *sc) in sfuart_bus_grab() [all …]
|
| /freebsd-14.2/usr.sbin/bhyve/amd64/ |
| H A D | pci_lpc.c | 73 struct uart_ns16550_softc *uart_softc; member 230 *eax = uart_ns16550_read(sc->uart_softc, offset); in lpc_uart_io_handler() 232 uart_ns16550_write(sc->uart_softc, offset, *eax); in lpc_uart_io_handler() 236 *eax = uart_ns16550_read(sc->uart_softc, offset); in lpc_uart_io_handler() 238 uart_ns16550_read(sc->uart_softc, offset + 1) << 8; in lpc_uart_io_handler() 240 uart_ns16550_write(sc->uart_softc, offset, *eax); in lpc_uart_io_handler() 241 uart_ns16550_write(sc->uart_softc, offset + 1, in lpc_uart_io_handler() 281 sc->uart_softc = uart_ns16550_init(lpc_uart_intr_assert, in lpc_init() 288 uart_ns16550_tty_open(sc->uart_softc, backend) != 0) { in lpc_init() 598 sc = lpc_uart_softc[unit].uart_softc; in pci_lpc_snapshot()
|
| /freebsd-14.2/sys/powerpc/psim/ |
| H A D | uart_iobus.c | 65 sizeof(struct uart_softc), 71 struct uart_softc *sc; in uart_iobus_probe()
|