| /freebsd-12.1/sys/dev/uart/ |
| H A D | uart_cpu.h | 95 uart_lock(struct mtx *hwmtx) in uart_lock() function 113 uart_lock(di->hwmtx); in uart_probe() 122 uart_lock(di->hwmtx); in uart_init() 131 uart_lock(di->hwmtx); in uart_term() 139 uart_lock(di->hwmtx); in uart_putc() 149 uart_lock(di->hwmtx); in uart_rxready() 160 uart_lock(di->hwmtx); in uart_poll()
|
| H A D | uart_dev_lowrisc.c | 130 uart_lock(hwmtx); in lowrisc_uart_getc() 248 uart_lock(sc->sc_hwmtx); in lowrisc_uart_bus_ioctl() 275 uart_lock(sc->sc_hwmtx); in lowrisc_uart_bus_ipend() 289 uart_lock(sc->sc_hwmtx); in lowrisc_uart_bus_param() 327 uart_lock(sc->sc_hwmtx); in lowrisc_uart_bus_receive() 360 uart_lock(sc->sc_hwmtx); in lowrisc_uart_bus_transmit() 378 uart_lock(sc->sc_hwmtx); in lowrisc_uart_bus_grab() 390 uart_lock(sc->sc_hwmtx); in lowrisc_uart_bus_ungrab()
|
| H A D | uart_dev_quicc.c | 213 uart_lock(hwmtx); in quicc_getc() 220 uart_lock(hwmtx); in quicc_getc() 336 uart_lock(sc->sc_hwmtx); in quicc_bus_getsig() 357 uart_lock(sc->sc_hwmtx); in quicc_bus_ioctl() 385 uart_lock(sc->sc_hwmtx); in quicc_bus_ipend() 407 uart_lock(sc->sc_hwmtx); in quicc_bus_param() 440 uart_lock(sc->sc_hwmtx); in quicc_bus_receive() 470 uart_lock(sc->sc_hwmtx); in quicc_bus_setsig() 484 uart_lock(sc->sc_hwmtx); in quicc_bus_transmit() 504 uart_lock(sc->sc_hwmtx); in quicc_bus_grab() [all …]
|
| H A D | uart_dev_mvebu.c | 264 uart_lock(hwmtx); in uart_mvebu_getc() 337 uart_lock(sc->sc_hwmtx); in uart_mvebu_bus_attach() 368 uart_lock(sc->sc_hwmtx); in uart_mvebu_bus_flush() 412 uart_lock(sc->sc_hwmtx); in uart_mvebu_bus_ioctl() 446 uart_lock(sc->sc_hwmtx); in uart_mvebu_bus_ipend() 476 uart_lock(sc->sc_hwmtx); in uart_mvebu_bus_param() 510 uart_lock(sc->sc_hwmtx); in uart_mvebu_bus_receive() 561 uart_lock(sc->sc_hwmtx); in uart_mvebu_bus_transmit() 595 uart_lock(sc->sc_hwmtx); in uart_mvebu_bus_grab() 611 uart_lock(sc->sc_hwmtx); in uart_mvebu_bus_ungrab()
|
| H A D | uart_dev_mu.c | 355 uart_lock(sc->sc_hwmtx); in uart_mu_bus_ioctl() 382 uart_lock(sc->sc_hwmtx); in uart_mu_bus_ipend() 413 uart_lock(sc->sc_hwmtx); in uart_mu_bus_param() 441 uart_lock(sc->sc_hwmtx); in uart_mu_bus_receive() 476 uart_lock(sc->sc_hwmtx); in uart_mu_bus_transmit() 502 uart_lock(sc->sc_hwmtx); in uart_mu_bus_grab() 517 uart_lock(sc->sc_hwmtx); in uart_mu_bus_ungrab()
|
| H A D | uart_dev_z8530.c | 251 uart_lock(hwmtx); in z8530_getc() 256 uart_lock(hwmtx); in z8530_getc() 380 uart_lock(sc->sc_hwmtx); in z8530_bus_getsig() 400 uart_lock(sc->sc_hwmtx); in z8530_bus_ioctl() 436 uart_lock(sc->sc_hwmtx); in z8530_bus_ipend() 504 uart_lock(sc->sc_hwmtx); in z8530_bus_param() 540 uart_lock(sc->sc_hwmtx); in z8530_bus_receive() 599 uart_lock(sc->sc_hwmtx); in z8530_bus_setsig() 621 uart_lock(sc->sc_hwmtx); in z8530_bus_transmit() 638 uart_lock(sc->sc_hwmtx); in z8530_bus_grab() [all …]
|
| H A D | uart_dev_sab82532.c | 319 uart_lock(hwmtx); in sab82532_getc() 327 uart_lock(hwmtx); in sab82532_getc() 451 uart_lock(sc->sc_hwmtx); in sab82532_bus_flush() 498 uart_lock(sc->sc_hwmtx); in sab82532_bus_ioctl() 546 uart_lock(sc->sc_hwmtx); in sab82532_bus_ipend() 581 uart_lock(sc->sc_hwmtx); in sab82532_bus_param() 634 uart_lock(sc->sc_hwmtx); in sab82532_bus_receive() 683 uart_lock(sc->sc_hwmtx); in sab82532_bus_setsig() 721 uart_lock(sc->sc_hwmtx); in sab82532_bus_transmit() 743 uart_lock(sc->sc_hwmtx); in sab82532_bus_grab() [all …]
|
| H A D | uart_dev_imx.c | 244 uart_lock(hwmtx); in imx_uart_getc() 404 uart_lock(sc->sc_hwmtx); in imx_uart_bus_getsig() 423 uart_lock(sc->sc_hwmtx); in imx_uart_bus_ioctl() 451 uart_lock(sc->sc_hwmtx); in imx_uart_bus_ipend() 496 uart_lock(sc->sc_hwmtx); in imx_uart_bus_param() 531 uart_lock(sc->sc_hwmtx); in imx_uart_bus_receive() 579 uart_lock(sc->sc_hwmtx); in imx_uart_bus_transmit() 604 uart_lock(sc->sc_hwmtx); in imx_uart_bus_grab() 616 uart_lock(sc->sc_hwmtx); in imx_uart_bus_ungrab()
|
| H A D | uart_dev_pl011.c | 399 uart_lock(sc->sc_hwmtx); in uart_pl011_bus_ioctl() 426 uart_lock(sc->sc_hwmtx); in uart_pl011_bus_ipend() 454 uart_lock(sc->sc_hwmtx); in uart_pl011_bus_param() 527 uart_lock(sc->sc_hwmtx); in uart_pl011_bus_receive() 570 uart_lock(sc->sc_hwmtx); in uart_pl011_bus_transmit() 596 uart_lock(sc->sc_hwmtx); in uart_pl011_bus_grab() 611 uart_lock(sc->sc_hwmtx); in uart_pl011_bus_ungrab()
|
| H A D | uart_dev_msm.c | 266 uart_lock(mtx); in msm_getc() 366 uart_lock(sc->sc_hwmtx); in msm_bus_transmit() 405 uart_lock(sc->sc_hwmtx); in msm_bus_receive() 444 uart_lock(sc->sc_hwmtx); in msm_bus_param() 460 uart_lock(sc->sc_hwmtx); in msm_bus_ipend() 542 uart_lock(sc->sc_hwmtx); in msm_bus_grab() 558 uart_lock(sc->sc_hwmtx); in msm_bus_ungrab()
|
| H A D | uart_dev_ns8250.c | 369 uart_lock(hwmtx); in ns8250_getc() 374 uart_lock(hwmtx); in ns8250_getc() 582 uart_lock(sc->sc_hwmtx); in ns8250_bus_flush() 640 uart_lock(sc->sc_hwmtx); in ns8250_bus_ioctl() 714 uart_lock(sc->sc_hwmtx); in ns8250_bus_ipend() 759 uart_lock(sc->sc_hwmtx); in ns8250_bus_param() 965 uart_lock(sc->sc_hwmtx); in ns8250_bus_receive() 1008 uart_lock(sc->sc_hwmtx); in ns8250_bus_setsig() 1028 uart_lock(sc->sc_hwmtx); in ns8250_bus_transmit() 1064 uart_lock(sc->sc_hwmtx); in ns8250_bus_grab() [all …]
|
| H A D | uart_kbd_sun.c | 715 uart_lock(sc->sc_sysdev->hwmtx);
|
| /freebsd-12.1/sys/mips/mediatek/ |
| H A D | uart_dev_mtk.c | 168 uart_lock(hwmtx); in mtk_uart_getc() 173 uart_lock(hwmtx); in mtk_uart_getc() 356 uart_lock(sc->sc_hwmtx); in mtk_uart_bus_getsig() 377 uart_lock(sc->sc_hwmtx); in mtk_uart_bus_ioctl() 407 uart_lock(sc->sc_hwmtx); in mtk_uart_bus_ipend() 449 uart_lock(sc->sc_hwmtx); in mtk_uart_bus_param() 477 uart_lock(sc->sc_hwmtx); in mtk_uart_bus_receive() 517 uart_lock(sc->sc_hwmtx); in mtk_uart_bus_transmit() 535 uart_lock(sc->sc_hwmtx); in mtk_uart_bus_grab() 548 uart_lock(sc->sc_hwmtx); in mtk_uart_bus_ungrab()
|
| /freebsd-12.1/sys/mips/atheros/ |
| H A D | uart_dev_ar933x.c | 289 uart_lock(hwmtx); in ar933x_getc() 296 uart_lock(hwmtx); in ar933x_getc() 420 uart_lock(sc->sc_hwmtx); in ar933x_bus_flush() 487 uart_lock(sc->sc_hwmtx); in ar933x_bus_ipend() 559 uart_lock(sc->sc_hwmtx); in ar933x_bus_param() 593 uart_lock(sc->sc_hwmtx); in ar933x_bus_receive() 645 uart_lock(sc->sc_hwmtx); in ar933x_bus_setsig() 678 uart_lock(sc->sc_hwmtx); in ar933x_bus_transmit() 721 uart_lock(sc->sc_hwmtx); in ar933x_bus_grab() 735 uart_lock(sc->sc_hwmtx); in ar933x_bus_ungrab()
|
| /freebsd-12.1/sys/mips/cavium/ |
| H A D | uart_dev_oct16550.c | 364 uart_lock(hwmtx); in oct16550_getc() 372 uart_lock(hwmtx); in oct16550_getc() 494 uart_lock(sc->sc_hwmtx); in oct16550_bus_flush() 536 uart_lock(sc->sc_hwmtx); in oct16550_bus_ioctl() 610 uart_lock(sc->sc_hwmtx); in oct16550_bus_ipend() 653 uart_lock(sc->sc_hwmtx); in oct16550_bus_param() 728 uart_lock(sc->sc_hwmtx); in oct16550_bus_receive() 780 uart_lock(sc->sc_hwmtx); in oct16550_bus_setsig() 800 uart_lock(sc->sc_hwmtx); in oct16550_bus_transmit() 831 uart_lock(sc->sc_hwmtx); in oct16550_bus_grab() [all …]
|
| /freebsd-12.1/sys/arm/amlogic/aml8726/ |
| H A D | uart_dev_aml8726.c | 266 uart_lock(hwmtx); in aml8726_uart_getc() 272 uart_lock(hwmtx); in aml8726_uart_getc() 466 uart_lock(sc->sc_hwmtx); in aml8726_uart_bus_flush() 494 uart_lock(sc->sc_hwmtx); in aml8726_uart_bus_ioctl() 558 uart_lock(sc->sc_hwmtx); in aml8726_uart_bus_ipend() 592 uart_lock(sc->sc_hwmtx); in aml8726_uart_bus_param() 609 uart_lock(sc->sc_hwmtx); in aml8726_uart_bus_receive() 655 uart_lock(sc->sc_hwmtx); in aml8726_uart_bus_transmit() 701 uart_lock(sc->sc_hwmtx); in aml8726_uart_bus_grab() 725 uart_lock(sc->sc_hwmtx); in aml8726_uart_bus_ungrab()
|
| /freebsd-12.1/sys/arm/xilinx/ |
| H A D | uart_dev_cdnc.c | 370 uart_lock(mtx); in cdnc_uart_getc() 376 uart_lock(mtx); in cdnc_uart_getc() 466 uart_lock(sc->sc_hwmtx); in cdnc_uart_bus_transmit() 499 uart_lock(sc->sc_hwmtx); in cdnc_uart_bus_setsig() 519 uart_lock(sc->sc_hwmtx); in cdnc_uart_bus_receive() 568 uart_lock(sc->sc_hwmtx); in cdnc_uart_bus_ipend() 628 uart_lock(sc->sc_hwmtx); in cdnc_uart_bus_getsig() 651 uart_lock(sc->sc_hwmtx); in cdnc_uart_bus_ioctl()
|
| /freebsd-12.1/sys/arm/freescale/vybrid/ |
| H A D | vf_uart.c | 182 uart_lock(hwmtx); in vf_uart_getc() 347 uart_lock(sc->sc_hwmtx); in vf_uart_bus_ioctl() 377 uart_lock(sc->sc_hwmtx); in vf_uart_bus_ipend() 418 uart_lock(sc->sc_hwmtx); in vf_uart_bus_param() 449 uart_lock(sc->sc_hwmtx); in vf_uart_bus_receive() 500 uart_lock(sc->sc_hwmtx); in vf_uart_bus_transmit()
|
| /freebsd-12.1/sys/arm/samsung/exynos/ |
| H A D | exynos_uart.c | 261 uart_lock(sc->sc_hwmtx); in exynos4210_bus_transmit() 311 uart_lock(sc->sc_hwmtx); in exynos4210_bus_param() 327 uart_lock(sc->sc_hwmtx); in exynos4210_bus_ipend()
|
| /freebsd-12.1/sys/arm/nvidia/ |
| H A D | tegra_uart.c | 102 uart_lock(sc->sc_hwmtx); in tegra_uart_grab() 119 uart_lock(sc->sc_hwmtx); in tegra_uart_ungrab()
|
| /freebsd-12.1/sys/sparc64/pci/ |
| H A D | sbbc.c | 752 uart_lock(hwmtx); in sbbc_uart_getc() 757 uart_lock(hwmtx); in sbbc_uart_getc() 841 uart_lock(sc->sc_hwmtx); in sbbc_uart_bus_attach() 927 uart_lock(sc->sc_hwmtx); in sbbc_uart_bus_ioctl() 953 uart_lock(sc->sc_hwmtx); in sbbc_uart_bus_ipend() 1028 uart_lock(sc->sc_hwmtx); in sbbc_uart_bus_receive() 1090 uart_lock(sc->sc_hwmtx); in sbbc_uart_bus_transmit()
|
| /freebsd-12.1/sys/powerpc/pseries/ |
| H A D | phyp_console.c | 291 uart_lock(&sc->sc_mtx); in uart_phyp_get() 340 uart_lock(&sc->sc_mtx); in uart_phyp_put()
|
| /freebsd-12.1/sys/powerpc/powernv/ |
| H A D | opal_console.c | 340 uart_lock(&sc->sc_mtx); in uart_opal_get() 396 uart_lock(&sc->sc_mtx); in uart_opal_put()
|