Home
last modified time | relevance | path

Searched refs:uart_lock (Results 1 – 19 of 19) sorted by relevance

/freebsd-13.1/sys/dev/uart/
H A Duart_cpu.h104 uart_lock(struct mtx *hwmtx) in uart_lock() function
122 uart_lock(di->hwmtx); in uart_probe()
131 uart_lock(di->hwmtx); in uart_init()
140 uart_lock(di->hwmtx); in uart_term()
148 uart_lock(di->hwmtx); in uart_putc()
158 uart_lock(di->hwmtx); in uart_rxready()
169 uart_lock(di->hwmtx); in uart_poll()
H A Duart_dev_lowrisc.c130 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 Duart_dev_quicc.c213 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 Duart_dev_mvebu.c264 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 Duart_dev_mu.c354 uart_lock(sc->sc_hwmtx); in uart_mu_bus_ioctl()
381 uart_lock(sc->sc_hwmtx); in uart_mu_bus_ipend()
412 uart_lock(sc->sc_hwmtx); in uart_mu_bus_param()
440 uart_lock(sc->sc_hwmtx); in uart_mu_bus_receive()
475 uart_lock(sc->sc_hwmtx); in uart_mu_bus_transmit()
501 uart_lock(sc->sc_hwmtx); in uart_mu_bus_grab()
516 uart_lock(sc->sc_hwmtx); in uart_mu_bus_ungrab()
H A Duart_dev_z8530.c251 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 Duart_dev_msm.c266 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 Duart_dev_pl011.c397 uart_lock(sc->sc_hwmtx); in uart_pl011_bus_ioctl()
424 uart_lock(sc->sc_hwmtx); in uart_pl011_bus_ipend()
452 uart_lock(sc->sc_hwmtx); in uart_pl011_bus_param()
525 uart_lock(sc->sc_hwmtx); in uart_pl011_bus_receive()
568 uart_lock(sc->sc_hwmtx); in uart_pl011_bus_transmit()
594 uart_lock(sc->sc_hwmtx); in uart_pl011_bus_grab()
609 uart_lock(sc->sc_hwmtx); in uart_pl011_bus_ungrab()
H A Duart_dev_imx.c251 uart_lock(hwmtx); in imx_uart_getc()
456 uart_lock(sc->sc_hwmtx); in imx_uart_bus_getsig()
475 uart_lock(sc->sc_hwmtx); in imx_uart_bus_ioctl()
503 uart_lock(sc->sc_hwmtx); in imx_uart_bus_ipend()
548 uart_lock(sc->sc_hwmtx); in imx_uart_bus_param()
583 uart_lock(sc->sc_hwmtx); in imx_uart_bus_receive()
631 uart_lock(sc->sc_hwmtx); in imx_uart_bus_transmit()
656 uart_lock(sc->sc_hwmtx); in imx_uart_bus_grab()
668 uart_lock(sc->sc_hwmtx); in imx_uart_bus_ungrab()
H A Duart_dev_ns8250.c370 uart_lock(hwmtx); in ns8250_getc()
375 uart_lock(hwmtx); in ns8250_getc()
586 uart_lock(sc->sc_hwmtx); in ns8250_bus_flush()
644 uart_lock(sc->sc_hwmtx); in ns8250_bus_ioctl()
718 uart_lock(sc->sc_hwmtx); in ns8250_bus_ipend()
764 uart_lock(sc->sc_hwmtx); in ns8250_bus_param()
969 uart_lock(sc->sc_hwmtx); in ns8250_bus_receive()
1012 uart_lock(sc->sc_hwmtx); in ns8250_bus_setsig()
1032 uart_lock(sc->sc_hwmtx); in ns8250_bus_transmit()
1065 uart_lock(sc->sc_hwmtx); in ns8250_bus_grab()
[all …]
/freebsd-13.1/sys/riscv/sifive/
H A Dsifive_uart.c156 uart_lock(hwmtx); in sfuart_getc()
162 uart_lock(hwmtx); in sfuart_getc()
265 uart_lock(sc->sc_hwmtx); in sfuart_bus_flush()
336 uart_lock(sc->sc_hwmtx); in sfuart_bus_ioctl()
367 uart_lock(sc->sc_hwmtx); in sfuart_bus_ipend()
405 uart_lock(sc->sc_hwmtx); in sfuart_bus_param()
433 uart_lock(sc->sc_hwmtx); in sfuart_bus_receive()
460 uart_lock(sc->sc_hwmtx); in sfuart_bus_transmit()
483 uart_lock(sc->sc_hwmtx); in sfuart_bus_grab()
499 uart_lock(sc->sc_hwmtx); in sfuart_bus_ungrab()
/freebsd-13.1/sys/mips/mediatek/
H A Duart_dev_mtk.c168 uart_lock(hwmtx); in mtk_uart_getc()
173 uart_lock(hwmtx); in mtk_uart_getc()
355 uart_lock(sc->sc_hwmtx); in mtk_uart_bus_getsig()
376 uart_lock(sc->sc_hwmtx); in mtk_uart_bus_ioctl()
406 uart_lock(sc->sc_hwmtx); in mtk_uart_bus_ipend()
448 uart_lock(sc->sc_hwmtx); in mtk_uart_bus_param()
476 uart_lock(sc->sc_hwmtx); in mtk_uart_bus_receive()
516 uart_lock(sc->sc_hwmtx); in mtk_uart_bus_transmit()
534 uart_lock(sc->sc_hwmtx); in mtk_uart_bus_grab()
547 uart_lock(sc->sc_hwmtx); in mtk_uart_bus_ungrab()
/freebsd-13.1/sys/mips/atheros/
H A Duart_dev_ar933x.c285 uart_lock(hwmtx); in ar933x_getc()
292 uart_lock(hwmtx); in ar933x_getc()
416 uart_lock(sc->sc_hwmtx); in ar933x_bus_flush()
483 uart_lock(sc->sc_hwmtx); in ar933x_bus_ipend()
555 uart_lock(sc->sc_hwmtx); in ar933x_bus_param()
589 uart_lock(sc->sc_hwmtx); in ar933x_bus_receive()
641 uart_lock(sc->sc_hwmtx); in ar933x_bus_setsig()
674 uart_lock(sc->sc_hwmtx); in ar933x_bus_transmit()
717 uart_lock(sc->sc_hwmtx); in ar933x_bus_grab()
731 uart_lock(sc->sc_hwmtx); in ar933x_bus_ungrab()
/freebsd-13.1/sys/mips/cavium/
H A Duart_dev_oct16550.c363 uart_lock(hwmtx); in oct16550_getc()
371 uart_lock(hwmtx); in oct16550_getc()
493 uart_lock(sc->sc_hwmtx); in oct16550_bus_flush()
535 uart_lock(sc->sc_hwmtx); in oct16550_bus_ioctl()
608 uart_lock(sc->sc_hwmtx); in oct16550_bus_ipend()
650 uart_lock(sc->sc_hwmtx); in oct16550_bus_param()
724 uart_lock(sc->sc_hwmtx); in oct16550_bus_receive()
776 uart_lock(sc->sc_hwmtx); in oct16550_bus_setsig()
796 uart_lock(sc->sc_hwmtx); in oct16550_bus_transmit()
827 uart_lock(sc->sc_hwmtx); in oct16550_bus_grab()
[all …]
/freebsd-13.1/sys/arm/xilinx/
H A Duart_dev_cdnc.c366 uart_lock(mtx); in cdnc_uart_getc()
372 uart_lock(mtx); in cdnc_uart_getc()
462 uart_lock(sc->sc_hwmtx); in cdnc_uart_bus_transmit()
495 uart_lock(sc->sc_hwmtx); in cdnc_uart_bus_setsig()
515 uart_lock(sc->sc_hwmtx); in cdnc_uart_bus_receive()
564 uart_lock(sc->sc_hwmtx); in cdnc_uart_bus_ipend()
624 uart_lock(sc->sc_hwmtx); in cdnc_uart_bus_getsig()
647 uart_lock(sc->sc_hwmtx); in cdnc_uart_bus_ioctl()
/freebsd-13.1/sys/arm/freescale/vybrid/
H A Dvf_uart.c182 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-13.1/sys/arm/nvidia/
H A Dtegra_uart.c101 uart_lock(sc->sc_hwmtx); in tegra_uart_grab()
122 uart_lock(sc->sc_hwmtx); in tegra_uart_ungrab()
/freebsd-13.1/sys/powerpc/pseries/
H A Dphyp_console.c293 uart_lock(&sc->sc_mtx); in uart_phyp_get()
366 uart_lock(&sc->sc_mtx); in uart_phyp_put()
/freebsd-13.1/sys/powerpc/powernv/
H A Dopal_console.c360 uart_lock(&sc->sc_mtx); in uart_opal_get()
419 uart_lock(&sc->sc_mtx); in uart_opal_put()