| /freebsd-12.1/sys/dev/uart/ |
| H A D | uart_dev_ns8250.h | 38 struct uart_softc base; 50 int ns8250_bus_attach(struct uart_softc *); 51 int ns8250_bus_detach(struct uart_softc *); 52 int ns8250_bus_flush(struct uart_softc *, int); 53 int ns8250_bus_getsig(struct uart_softc *); 55 int ns8250_bus_ipend(struct uart_softc *); 57 int ns8250_bus_probe(struct uart_softc *); 58 int ns8250_bus_receive(struct uart_softc *); 60 int ns8250_bus_transmit(struct uart_softc *); 61 void ns8250_bus_grab(struct uart_softc *); [all …]
|
| H A D | uart_dev_lowrisc.c | 142 struct uart_softc base; 150 static int lowrisc_uart_bus_ipend(struct uart_softc *); 193 lowrisc_uart_bus_attach(struct uart_softc *sc) in lowrisc_uart_bus_attach() 214 lowrisc_uart_bus_detach(struct uart_softc *sc) in lowrisc_uart_bus_detach() 232 lowrisc_uart_bus_getsig(struct uart_softc *sc) in lowrisc_uart_bus_getsig() 266 lowrisc_uart_bus_ipend(struct uart_softc *sc) in lowrisc_uart_bus_ipend() 297 lowrisc_uart_bus_probe(struct uart_softc *sc) in lowrisc_uart_bus_probe() 320 lowrisc_uart_bus_receive(struct uart_softc *sc) in lowrisc_uart_bus_receive() 353 lowrisc_uart_bus_transmit(struct uart_softc *sc) in lowrisc_uart_bus_transmit() 372 lowrisc_uart_bus_grab(struct uart_softc *sc) in lowrisc_uart_bus_grab() [all …]
|
| H A D | uart_dev_mu.c | 254 struct uart_softc bas; 263 static int uart_mu_bus_ipend(struct uart_softc *); 309 uart_mu_bus_attach(struct uart_softc *sc) in uart_mu_bus_attach() 327 uart_mu_bus_detach(struct uart_softc *sc) in uart_mu_bus_detach() 341 uart_mu_bus_getsig(struct uart_softc *sc) in uart_mu_bus_getsig() 372 uart_mu_bus_ipend(struct uart_softc *sc) in uart_mu_bus_ipend() 421 uart_mu_bus_probe(struct uart_softc *sc) in uart_mu_bus_probe() 433 uart_mu_bus_receive(struct uart_softc *sc) in uart_mu_bus_receive() 468 uart_mu_bus_transmit(struct uart_softc *sc) in uart_mu_bus_transmit() 493 uart_mu_bus_grab(struct uart_softc *sc) in uart_mu_bus_grab() [all …]
|
| H A D | uart_dev_pl011.c | 288 struct uart_softc base; 354 uart_pl011_bus_attach(struct uart_softc *sc) in uart_pl011_bus_attach() 373 uart_pl011_bus_detach(struct uart_softc *sc) in uart_pl011_bus_detach() 387 uart_pl011_bus_getsig(struct uart_softc *sc) in uart_pl011_bus_getsig() 416 uart_pl011_bus_ipend(struct uart_softc *sc) in uart_pl011_bus_ipend() 463 uart_pl011_bus_hwrev_fdt(struct uart_softc *sc) in uart_pl011_bus_hwrev_fdt() 494 uart_pl011_bus_probe(struct uart_softc *sc) in uart_pl011_bus_probe() 520 uart_pl011_bus_receive(struct uart_softc *sc) in uart_pl011_bus_receive() 562 uart_pl011_bus_transmit(struct uart_softc *sc) in uart_pl011_bus_transmit() 587 uart_pl011_bus_grab(struct uart_softc *sc) in uart_pl011_bus_grab() [all …]
|
| H A D | uart_dev_mvebu.c | 278 struct uart_softc base; 287 static int uart_mvebu_bus_ipend(struct uart_softc *); 331 uart_mvebu_bus_attach(struct uart_softc *sc) in uart_mvebu_bus_attach() 355 uart_mvebu_bus_detach(struct uart_softc *sc) in uart_mvebu_bus_detach() 398 uart_mvebu_bus_getsig(struct uart_softc *sc) in uart_mvebu_bus_getsig() 440 uart_mvebu_bus_ipend(struct uart_softc *sc) in uart_mvebu_bus_ipend() 484 uart_mvebu_bus_probe(struct uart_softc *sc) in uart_mvebu_bus_probe() 503 uart_mvebu_bus_receive(struct uart_softc *sc) in uart_mvebu_bus_receive() 555 uart_mvebu_bus_transmit(struct uart_softc *sc) in uart_mvebu_bus_transmit() 588 uart_mvebu_bus_grab(struct uart_softc *sc) in uart_mvebu_bus_grab() [all …]
|
| H A D | uart_dev_msm.c | 289 struct uart_softc base; 298 static int msm_bus_ipend(struct uart_softc *); 303 static void msm_bus_grab(struct uart_softc *); 323 msm_bus_probe(struct uart_softc *sc) in msm_bus_probe() 339 msm_bus_attach(struct uart_softc *sc) in msm_bus_attach() 360 msm_bus_transmit(struct uart_softc *sc) in msm_bus_transmit() 398 msm_bus_receive(struct uart_softc *sc) in msm_bus_receive() 453 msm_bus_ipend(struct uart_softc *sc) in msm_bus_ipend() 520 msm_bus_getsig(struct uart_softc *sc) in msm_bus_getsig() 534 msm_bus_grab(struct uart_softc *sc) in msm_bus_grab() [all …]
|
| H A D | uart_dev_quicc.c | 236 struct uart_softc base; 244 static int quicc_bus_ipend(struct uart_softc *); 288 quicc_bus_attach(struct uart_softc *sc) in quicc_bus_attach() 314 quicc_bus_detach(struct uart_softc *sc) in quicc_bus_detach() 328 quicc_bus_getsig(struct uart_softc *sc) in quicc_bus_getsig() 376 quicc_bus_ipend(struct uart_softc *sc) in quicc_bus_ipend() 415 quicc_bus_probe(struct uart_softc *sc) in quicc_bus_probe() 433 quicc_bus_receive(struct uart_softc *sc) in quicc_bus_receive() 477 quicc_bus_transmit(struct uart_softc *sc) in quicc_bus_transmit() 497 quicc_bus_grab(struct uart_softc *sc) in quicc_bus_grab() [all …]
|
| H A D | uart_dev_imx.c | 263 struct uart_softc base; 271 static int imx_uart_bus_ipend(struct uart_softc *); 327 imx_uart_bus_attach(struct uart_softc *sc) in imx_uart_bus_attach() 379 imx_uart_bus_detach(struct uart_softc *sc) in imx_uart_bus_detach() 396 imx_uart_bus_getsig(struct uart_softc *sc) in imx_uart_bus_getsig() 441 imx_uart_bus_ipend(struct uart_softc *sc) in imx_uart_bus_ipend() 503 imx_uart_bus_probe(struct uart_softc *sc) in imx_uart_bus_probe() 525 imx_uart_bus_receive(struct uart_softc *sc) in imx_uart_bus_receive() 573 imx_uart_bus_transmit(struct uart_softc *sc) in imx_uart_bus_transmit() 599 imx_uart_bus_grab(struct uart_softc *sc) in imx_uart_bus_grab() [all …]
|
| H A D | uart_bus.h | 75 struct uart_softc { struct 150 void uart_sched_softih(struct uart_softc *, uint32_t); argument 152 int uart_tty_attach(struct uart_softc *); 153 int uart_tty_detach(struct uart_softc *); 154 struct mtx *uart_tty_getlock(struct uart_softc *); 161 uart_rx_empty(struct uart_softc *sc) in uart_rx_empty() 168 uart_rx_full(struct uart_softc *sc) in uart_rx_full() 176 uart_rx_get(struct uart_softc *sc) in uart_rx_get() 189 uart_rx_next(struct uart_softc *sc) in uart_rx_next() 202 uart_rx_peek(struct uart_softc *sc) in uart_rx_peek() [all …]
|
| H A D | uart_dev_z8530.c | 270 struct uart_softc base; 280 static int z8530_bus_ipend(struct uart_softc *); 324 z8530_bus_attach(struct uart_softc *sc) in z8530_bus_attach() 358 z8530_bus_detach(struct uart_softc *sc) in z8530_bus_detach() 372 z8530_bus_getsig(struct uart_softc *sc) in z8530_bus_getsig() 425 z8530_bus_ipend(struct uart_softc *sc) in z8530_bus_ipend() 512 z8530_bus_probe(struct uart_softc *sc) in z8530_bus_probe() 533 z8530_bus_receive(struct uart_softc *sc) in z8530_bus_receive() 615 z8530_bus_transmit(struct uart_softc *sc) in z8530_bus_transmit() 633 z8530_bus_grab(struct uart_softc *sc) in z8530_bus_grab() [all …]
|
| H A D | uart_dev_sab82532.c | 356 struct uart_softc base; 364 static int sab82532_bus_ipend(struct uart_softc *); 408 sab82532_bus_attach(struct uart_softc *sc) in sab82532_bus_attach() 431 sab82532_bus_detach(struct uart_softc *sc) in sab82532_bus_detach() 458 sab82532_bus_getsig(struct uart_softc *sc) in sab82532_bus_getsig() 539 sab82532_bus_ipend(struct uart_softc *sc) in sab82532_bus_ipend() 588 sab82532_bus_probe(struct uart_softc *sc) in sab82532_bus_probe() 627 sab82532_bus_receive(struct uart_softc *sc) in sab82532_bus_receive() 715 sab82532_bus_transmit(struct uart_softc *sc) in sab82532_bus_transmit() 736 sab82532_bus_grab(struct uart_softc *sc) in sab82532_bus_grab() [all …]
|
| H A D | uart_tty.c | 166 struct uart_softc *sc; in uart_tty_open() 180 struct uart_softc *sc; in uart_tty_close() 200 struct uart_softc *sc; in uart_tty_outwakeup() 225 struct uart_softc *sc; in uart_tty_inwakeup() 243 struct uart_softc *sc; in uart_tty_ioctl() 262 struct uart_softc *sc; in uart_tty_param() 307 struct uart_softc *sc; in uart_tty_modem() 318 struct uart_softc *sc = arg; in uart_tty_intr() 384 struct uart_softc *sc; in uart_tty_busy() 407 uart_tty_attach(struct uart_softc *sc) in uart_tty_attach() [all …]
|
| H A D | uart_core.c | 126 struct uart_softc *sc; in uart_pps_mode_sysctl() 297 struct uart_softc *sc = arg; in uart_intr_break() 328 struct uart_softc *sc = arg; in uart_intr_overrun() 346 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() 765 struct uart_softc *sc; in uart_bus_detach() [all …]
|
| H A D | uart_if.m | 48 struct uart_softc *this; 57 struct uart_softc *this; 64 struct uart_softc *this; 76 struct uart_softc *this; 84 struct uart_softc *this; 99 struct uart_softc *this; 105 struct uart_softc *this; 117 struct uart_softc *this; 124 struct uart_softc *this; 133 struct uart_softc *this; [all …]
|
| /freebsd-12.1/sys/mips/mediatek/ |
| H A D | uart_dev_mtk.c | 187 struct uart_softc base; 270 mtk_uart_enable_txintr(struct uart_softc *sc) in mtk_uart_enable_txintr() 282 mtk_uart_bus_attach(struct uart_softc *sc) in mtk_uart_bus_attach() 322 mtk_uart_bus_detach(struct uart_softc *sc) in mtk_uart_bus_detach() 347 mtk_uart_bus_getsig(struct uart_softc *sc) in mtk_uart_bus_getsig() 396 mtk_uart_bus_ipend(struct uart_softc *sc) in mtk_uart_bus_ipend() 456 mtk_uart_bus_probe(struct uart_softc *sc) in mtk_uart_bus_probe() 470 mtk_uart_bus_receive(struct uart_softc *sc) in mtk_uart_bus_receive() 509 mtk_uart_bus_transmit(struct uart_softc *sc) in mtk_uart_bus_transmit() 530 mtk_uart_bus_grab(struct uart_softc *sc) in mtk_uart_bus_grab() [all …]
|
| /freebsd-12.1/sys/arm/freescale/vybrid/ |
| H A D | vf_uart.c | 123 void uart_reinit(struct uart_softc *,int,int); 197 struct uart_softc base; 253 static int vf_uart_bus_ipend(struct uart_softc *); 255 static int vf_uart_bus_probe(struct uart_softc *); 292 vf_uart_bus_attach(struct uart_softc *sc) in vf_uart_bus_attach() 316 vf_uart_bus_detach(struct uart_softc *sc) in vf_uart_bus_detach() 332 vf_uart_bus_getsig(struct uart_softc *sc) in vf_uart_bus_getsig() 366 vf_uart_bus_ipend(struct uart_softc *sc) in vf_uart_bus_ipend() 426 vf_uart_bus_probe(struct uart_softc *sc) in vf_uart_bus_probe() 442 vf_uart_bus_receive(struct uart_softc *sc) in vf_uart_bus_receive() [all …]
|
| /freebsd-12.1/sys/arm/samsung/exynos/ |
| H A D | exynos_uart.c | 209 static int exynos4210_bus_probe(struct uart_softc *sc); 212 static int exynos4210_bus_getsig(struct uart_softc *); 214 static int exynos4210_bus_ipend(struct uart_softc *); 236 exynos4210_bus_probe(struct uart_softc *sc) in exynos4210_bus_probe() 246 exynos4210_bus_attach(struct uart_softc *sc) in exynos4210_bus_attach() 256 exynos4210_bus_transmit(struct uart_softc *sc) in exynos4210_bus_transmit() 281 exynos4210_bus_setsig(struct uart_softc *sc, int sig) in exynos4210_bus_setsig() 288 exynos4210_bus_receive(struct uart_softc *sc) in exynos4210_bus_receive() 320 exynos4210_bus_ipend(struct uart_softc *sc) in exynos4210_bus_ipend() 356 exynos4210_bus_flush(struct uart_softc *sc, int what) in exynos4210_bus_flush() [all …]
|
| /freebsd-12.1/sys/mips/atheros/ |
| H A D | uart_dev_ar933x.c | 314 struct uart_softc base; 324 static int ar933x_bus_ipend(struct uart_softc *); 368 ar933x_bus_attach(struct uart_softc *sc) in ar933x_bus_attach() 397 ar933x_bus_detach(struct uart_softc *sc) in ar933x_bus_detach() 428 ar933x_bus_getsig(struct uart_softc *sc) in ar933x_bus_getsig() 480 ar933x_bus_ipend(struct uart_softc *sc) in ar933x_bus_ipend() 566 ar933x_bus_probe(struct uart_softc *sc) in ar933x_bus_probe() 588 ar933x_bus_receive(struct uart_softc *sc) in ar933x_bus_receive() 672 ar933x_bus_transmit(struct uart_softc *sc) in ar933x_bus_transmit() 715 ar933x_bus_grab(struct uart_softc *sc) in ar933x_bus_grab() [all …]
|
| /freebsd-12.1/sys/arm/xilinx/ |
| H A D | uart_dev_cdnc.c | 397 static int cdnc_uart_bus_ipend(struct uart_softc *); 402 static void cdnc_uart_bus_grab(struct uart_softc *); 423 cdnc_uart_bus_probe(struct uart_softc *sc) in cdnc_uart_bus_probe() 437 cdnc_uart_bus_attach(struct uart_softc *sc) in cdnc_uart_bus_attach() 461 cdnc_uart_bus_transmit(struct uart_softc *sc) in cdnc_uart_bus_transmit() 513 cdnc_uart_bus_receive(struct uart_softc *sc) in cdnc_uart_bus_receive() 562 cdnc_uart_bus_ipend(struct uart_softc *sc) in cdnc_uart_bus_ipend() 619 cdnc_uart_bus_getsig(struct uart_softc *sc) in cdnc_uart_bus_getsig() 684 cdnc_uart_bus_grab(struct uart_softc *sc) in cdnc_uart_bus_grab() 694 cdnc_uart_bus_ungrab(struct uart_softc *sc) in cdnc_uart_bus_ungrab() [all …]
|
| /freebsd-12.1/sys/mips/cavium/ |
| H A D | uart_dev_oct16550.c | 386 struct uart_softc base; 397 static int oct16550_bus_ipend(struct uart_softc *); 441 oct16550_bus_attach (struct uart_softc *sc) in oct16550_bus_attach() 473 oct16550_bus_detach (struct uart_softc *sc) in oct16550_bus_detach() 507 oct16550_bus_getsig (struct uart_softc *sc) in oct16550_bus_getsig() 603 oct16550_bus_ipend(struct uart_softc *sc) in oct16550_bus_ipend() 660 oct16550_bus_probe (struct uart_softc *sc) in oct16550_bus_probe() 721 oct16550_bus_receive (struct uart_softc *sc) in oct16550_bus_receive() 793 oct16550_bus_transmit (struct uart_softc *sc) in oct16550_bus_transmit() 822 oct16550_bus_grab(struct uart_softc *sc) in oct16550_bus_grab() [all …]
|
| /freebsd-12.1/usr.sbin/bhyve/ |
| H A D | uart_emul.c | 107 struct uart_softc { struct 207 rxfifo_available(struct uart_softc *sc) in rxfifo_available() 242 rxfifo_getchar(struct uart_softc *sc) in rxfifo_getchar() 267 rxfifo_numchars(struct uart_softc *sc) in rxfifo_numchars() 275 uart_opentty(struct uart_softc *sc) in uart_opentty() 323 uart_intr_reason(struct uart_softc *sc) in uart_intr_reason() 339 uart_reset(struct uart_softc *sc) in uart_reset() 356 uart_toggle_intr(struct uart_softc *sc) in uart_toggle_intr() 371 struct uart_softc *sc; in uart_drain() 616 struct uart_softc * [all …]
|
| H A D | uart_emul.h | 37 struct uart_softc; 40 struct uart_softc *uart_init(uart_intr_func_t intr_assert, 44 uint8_t uart_read(struct uart_softc *sc, int offset); 45 void uart_write(struct uart_softc *sc, int offset, uint8_t value); 46 int uart_set_backend(struct uart_softc *sc, const char *opt);
|
| H A D | pci_lpc.c | 72 struct uart_softc *uart_softc; member 165 *eax = uart_read(sc->uart_softc, offset); in lpc_uart_io_handler() 167 uart_write(sc->uart_softc, offset, *eax); in lpc_uart_io_handler() 171 *eax = uart_read(sc->uart_softc, offset); in lpc_uart_io_handler() 172 *eax |= uart_read(sc->uart_softc, offset + 1) << 8; in lpc_uart_io_handler() 174 uart_write(sc->uart_softc, offset, *eax); in lpc_uart_io_handler() 175 uart_write(sc->uart_softc, offset + 1, *eax >> 8); in lpc_uart_io_handler() 211 sc->uart_softc = uart_init(lpc_uart_intr_assert, in lpc_init() 214 if (uart_set_backend(sc->uart_softc, sc->opts) != 0) { in lpc_init()
|
| /freebsd-12.1/sys/sparc64/pci/ |
| H A D | sbbc.c | 612 sizeof(struct uart_softc)); 618 struct uart_softc *sc; in sbbc_uart_sbbc_probe() 815 sizeof(struct uart_softc), 830 sbbc_uart_bus_attach(struct uart_softc *sc) in sbbc_uart_bus_attach() 873 sbbc_uart_bus_detach(struct uart_softc *sc) in sbbc_uart_bus_detach() 882 sbbc_uart_bus_flush(struct uart_softc *sc, int what) in sbbc_uart_bus_flush() 905 sbbc_uart_bus_getsig(struct uart_softc *sc) in sbbc_uart_bus_getsig() 941 sbbc_uart_bus_ipend(struct uart_softc *sc) in sbbc_uart_bus_ipend() 994 sbbc_uart_bus_probe(struct uart_softc *sc) in sbbc_uart_bus_probe() 1016 sbbc_uart_bus_receive(struct uart_softc *sc) in sbbc_uart_bus_receive() [all …]
|
| /freebsd-12.1/sys/arm/amlogic/aml8726/ |
| H A D | uart_dev_aml8726.c | 311 aml8726_uart_bus_probe(struct uart_softc *sc) in aml8726_uart_bus_probe() 330 aml8726_uart_bus_getsig(struct uart_softc *sc) in aml8726_uart_bus_getsig() 351 aml8726_uart_bus_setsig(struct uart_softc *sc, int sig) in aml8726_uart_bus_setsig() 370 aml8726_uart_bus_attach(struct uart_softc *sc) in aml8726_uart_bus_attach() 436 aml8726_uart_bus_detach(struct uart_softc *sc) in aml8726_uart_bus_detach() 550 aml8726_uart_bus_ipend(struct uart_softc *sc) in aml8726_uart_bus_ipend() 602 aml8726_uart_bus_receive(struct uart_softc *sc) in aml8726_uart_bus_receive() 648 aml8726_uart_bus_transmit(struct uart_softc *sc) in aml8726_uart_bus_transmit() 683 aml8726_uart_bus_grab(struct uart_softc *sc) in aml8726_uart_bus_grab() 712 aml8726_uart_bus_ungrab(struct uart_softc *sc) in aml8726_uart_bus_ungrab() [all …]
|