| /freebsd-13.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 *); 308 uart_mu_bus_attach(struct uart_softc *sc) in uart_mu_bus_attach() 326 uart_mu_bus_detach(struct uart_softc *sc) in uart_mu_bus_detach() 340 uart_mu_bus_getsig(struct uart_softc *sc) in uart_mu_bus_getsig() 371 uart_mu_bus_ipend(struct uart_softc *sc) in uart_mu_bus_ipend() 420 uart_mu_bus_probe(struct uart_softc *sc) in uart_mu_bus_probe() 432 uart_mu_bus_receive(struct uart_softc *sc) in uart_mu_bus_receive() 467 uart_mu_bus_transmit(struct uart_softc *sc) in uart_mu_bus_transmit() 492 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; 352 uart_pl011_bus_attach(struct uart_softc *sc) in uart_pl011_bus_attach() 371 uart_pl011_bus_detach(struct uart_softc *sc) in uart_pl011_bus_detach() 385 uart_pl011_bus_getsig(struct uart_softc *sc) in uart_pl011_bus_getsig() 414 uart_pl011_bus_ipend(struct uart_softc *sc) in uart_pl011_bus_ipend() 461 uart_pl011_bus_hwrev_fdt(struct uart_softc *sc) in uart_pl011_bus_hwrev_fdt() 492 uart_pl011_bus_probe(struct uart_softc *sc) in uart_pl011_bus_probe() 518 uart_pl011_bus_receive(struct uart_softc *sc) in uart_pl011_bus_receive() 560 uart_pl011_bus_transmit(struct uart_softc *sc) in uart_pl011_bus_transmit() 585 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_bus.h | 75 struct uart_softc { struct 151 void uart_sched_softih(struct uart_softc *, uint32_t); argument 153 int uart_tty_attach(struct uart_softc *); 154 int uart_tty_detach(struct uart_softc *); 155 struct mtx *uart_tty_getlock(struct uart_softc *); 162 uart_rx_empty(struct uart_softc *sc) in uart_rx_empty() 169 uart_rx_full(struct uart_softc *sc) in uart_rx_full() 177 uart_rx_get(struct uart_softc *sc) in uart_rx_get() 190 uart_rx_next(struct uart_softc *sc) in uart_rx_next() 203 uart_rx_peek(struct uart_softc *sc) in uart_rx_peek() [all …]
|
| H A D | uart_dev_imx.c | 270 struct uart_softc base; 335 imx_uart_setup_clocks(struct uart_softc *sc) in imx_uart_setup_clocks() 370 imx_uart_bus_attach(struct uart_softc *sc) in imx_uart_bus_attach() 431 imx_uart_bus_detach(struct uart_softc *sc) in imx_uart_bus_detach() 448 imx_uart_bus_getsig(struct uart_softc *sc) in imx_uart_bus_getsig() 493 imx_uart_bus_ipend(struct uart_softc *sc) in imx_uart_bus_ipend() 555 imx_uart_bus_probe(struct uart_softc *sc) in imx_uart_bus_probe() 577 imx_uart_bus_receive(struct uart_softc *sc) in imx_uart_bus_receive() 625 imx_uart_bus_transmit(struct uart_softc *sc) in imx_uart_bus_transmit() 651 imx_uart_bus_grab(struct uart_softc *sc) in imx_uart_bus_grab() [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_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() 310 struct uart_softc *sc; in uart_tty_modem() 321 struct uart_softc *sc = arg; in uart_tty_intr() 387 struct uart_softc *sc; in uart_tty_busy() 410 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() 347 struct uart_softc *sc = arg; in uart_intr_rxready() 378 struct uart_softc *sc = arg; in uart_intr_sigchg() 415 struct uart_softc *sc = arg; in uart_intr_txidle() 481 struct uart_softc *sc; in uart_bus_ipend() 490 struct uart_softc *sc; in uart_bus_sysdev() 499 struct uart_softc *sc; in uart_bus_probe() 772 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 …]
|
| H A D | uart_bus_pci.c | 65 sizeof(struct uart_softc), 229 struct uart_softc *sc; in uart_pci_unique_console_match() 259 struct uart_softc *sc; in uart_pci_probe() 294 struct uart_softc *sc; in uart_pci_attach() 317 struct uart_softc *sc; in uart_pci_detach()
|
| H A D | uart_cpu.h | 38 struct uart_softc; 78 int (*attach)(struct uart_softc*); 79 int (*detach)(struct uart_softc*); 82 struct uart_softc *sc; /* valid only from start of attach */
|
| H A D | uart_bus_scc.c | 65 sizeof(struct uart_softc), 72 struct uart_softc *sc; in uart_scc_attach() 88 struct uart_softc *sc; in uart_scc_probe()
|
| /freebsd-13.1/sys/mips/mediatek/ |
| H A D | uart_dev_mtk.c | 187 struct uart_softc base; 269 mtk_uart_enable_txintr(struct uart_softc *sc) in mtk_uart_enable_txintr() 281 mtk_uart_bus_attach(struct uart_softc *sc) in mtk_uart_bus_attach() 321 mtk_uart_bus_detach(struct uart_softc *sc) in mtk_uart_bus_detach() 346 mtk_uart_bus_getsig(struct uart_softc *sc) in mtk_uart_bus_getsig() 395 mtk_uart_bus_ipend(struct uart_softc *sc) in mtk_uart_bus_ipend() 455 mtk_uart_bus_probe(struct uart_softc *sc) in mtk_uart_bus_probe() 469 mtk_uart_bus_receive(struct uart_softc *sc) in mtk_uart_bus_receive() 508 mtk_uart_bus_transmit(struct uart_softc *sc) in mtk_uart_bus_transmit() 529 mtk_uart_bus_grab(struct uart_softc *sc) in mtk_uart_bus_grab() [all …]
|
| /freebsd-13.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-13.1/sys/mips/atheros/ |
| H A D | uart_dev_ar933x.c | 310 struct uart_softc base; 320 static int ar933x_bus_ipend(struct uart_softc *); 364 ar933x_bus_attach(struct uart_softc *sc) in ar933x_bus_attach() 393 ar933x_bus_detach(struct uart_softc *sc) in ar933x_bus_detach() 424 ar933x_bus_getsig(struct uart_softc *sc) in ar933x_bus_getsig() 476 ar933x_bus_ipend(struct uart_softc *sc) in ar933x_bus_ipend() 562 ar933x_bus_probe(struct uart_softc *sc) in ar933x_bus_probe() 584 ar933x_bus_receive(struct uart_softc *sc) in ar933x_bus_receive() 668 ar933x_bus_transmit(struct uart_softc *sc) in ar933x_bus_transmit() 711 ar933x_bus_grab(struct uart_softc *sc) in ar933x_bus_grab() [all …]
|
| /freebsd-13.1/sys/arm/xilinx/ |
| H A D | uart_dev_cdnc.c | 393 static int cdnc_uart_bus_ipend(struct uart_softc *); 398 static void cdnc_uart_bus_grab(struct uart_softc *); 419 cdnc_uart_bus_probe(struct uart_softc *sc) in cdnc_uart_bus_probe() 433 cdnc_uart_bus_attach(struct uart_softc *sc) in cdnc_uart_bus_attach() 457 cdnc_uart_bus_transmit(struct uart_softc *sc) in cdnc_uart_bus_transmit() 509 cdnc_uart_bus_receive(struct uart_softc *sc) in cdnc_uart_bus_receive() 558 cdnc_uart_bus_ipend(struct uart_softc *sc) in cdnc_uart_bus_ipend() 615 cdnc_uart_bus_getsig(struct uart_softc *sc) in cdnc_uart_bus_getsig() 680 cdnc_uart_bus_grab(struct uart_softc *sc) in cdnc_uart_bus_grab() 690 cdnc_uart_bus_ungrab(struct uart_softc *sc) in cdnc_uart_bus_ungrab() [all …]
|
| /freebsd-13.1/usr.sbin/bhyve/ |
| H A D | uart_emul.h | 36 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 *device); 48 int uart_snapshot(struct uart_softc *sc, struct vm_snapshot_meta *meta);
|
| H A D | uart_emul.c | 116 struct uart_softc { struct 217 rxfifo_available(struct uart_softc *sc) in rxfifo_available() 252 rxfifo_getchar(struct uart_softc *sc) in rxfifo_getchar() 277 rxfifo_numchars(struct uart_softc *sc) in rxfifo_numchars() 285 uart_opentty(struct uart_softc *sc) in uart_opentty() 333 uart_intr_reason(struct uart_softc *sc) in uart_intr_reason() 349 uart_reset(struct uart_softc *sc) in uart_reset() 366 uart_toggle_intr(struct uart_softc *sc) in uart_toggle_intr() 381 struct uart_softc *sc; in uart_drain() 629 struct uart_softc * [all …]
|
| H A D | pci_lpc.c | 74 struct uart_softc *uart_softc; member 182 *eax = uart_read(sc->uart_softc, offset); in lpc_uart_io_handler() 184 uart_write(sc->uart_softc, offset, *eax); in lpc_uart_io_handler() 188 *eax = uart_read(sc->uart_softc, offset); in lpc_uart_io_handler() 189 *eax |= uart_read(sc->uart_softc, offset + 1) << 8; in lpc_uart_io_handler() 191 uart_write(sc->uart_softc, offset, *eax); in lpc_uart_io_handler() 192 uart_write(sc->uart_softc, offset + 1, *eax >> 8); in lpc_uart_io_handler() 230 sc->uart_softc = uart_init(lpc_uart_intr_assert, in lpc_init() 236 if (uart_set_backend(sc->uart_softc, backend) != 0) { in lpc_init() 490 struct uart_softc *sc; in pci_lpc_snapshot() [all …]
|
| /freebsd-13.1/sys/mips/cavium/ |
| H A D | uart_dev_oct16550.c | 385 struct uart_softc base; 396 static int oct16550_bus_ipend(struct uart_softc *); 440 oct16550_bus_attach (struct uart_softc *sc) in oct16550_bus_attach() 472 oct16550_bus_detach (struct uart_softc *sc) in oct16550_bus_detach() 506 oct16550_bus_getsig (struct uart_softc *sc) in oct16550_bus_getsig() 601 oct16550_bus_ipend(struct uart_softc *sc) in oct16550_bus_ipend() 657 oct16550_bus_probe (struct uart_softc *sc) in oct16550_bus_probe() 717 oct16550_bus_receive (struct uart_softc *sc) in oct16550_bus_receive() 789 oct16550_bus_transmit (struct uart_softc *sc) in oct16550_bus_transmit() 818 oct16550_bus_grab(struct uart_softc *sc) in oct16550_bus_grab() [all …]
|
| /freebsd-13.1/sys/riscv/sifive/ |
| H A D | sifive_uart.c | 86 struct uart_softc uart_softc; member 171 sfuart_bus_probe(struct uart_softc *sc) in sfuart_bus_probe() 190 sfuart_bus_attach(struct uart_softc *sc) in sfuart_bus_attach() 238 sfuart_bus_detach(struct uart_softc *sc) in sfuart_bus_detach() 259 sfuart_bus_flush(struct uart_softc *sc, int what) in sfuart_bus_flush() 292 sfuart_bus_getsig(struct uart_softc *sc) in sfuart_bus_getsig() 360 sfuart_bus_ipend(struct uart_softc *sc) in sfuart_bus_ipend() 427 sfuart_bus_receive(struct uart_softc *sc) in sfuart_bus_receive() 453 sfuart_bus_transmit(struct uart_softc *sc) in sfuart_bus_transmit() 477 sfuart_bus_grab(struct uart_softc *sc) in sfuart_bus_grab() [all …]
|