Home
last modified time | relevance | path

Searched refs:hwmtx (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/dev/uart/
H A Duart_cpu.h79 struct mtx *hwmtx; member
102 uart_lock(struct mtx *hwmtx) in uart_lock() argument
104 if (!kdb_active && hwmtx != NULL) in uart_lock()
105 mtx_lock_spin(hwmtx); in uart_lock()
109 uart_unlock(struct mtx *hwmtx) in uart_unlock() argument
111 if (!kdb_active && hwmtx != NULL) in uart_unlock()
112 mtx_unlock_spin(hwmtx); in uart_unlock()
120 uart_lock(di->hwmtx); in uart_probe()
122 uart_unlock(di->hwmtx); in uart_probe()
129 uart_lock(di->hwmtx); in uart_init()
[all …]
H A Duart_dev_lowrisc.c124 lowrisc_uart_getc(struct uart_bas *bas, struct mtx *hwmtx) in lowrisc_uart_getc() argument
128 uart_lock(hwmtx); in lowrisc_uart_getc()
131 uart_unlock(hwmtx); in lowrisc_uart_getc()
H A Duart_dev_mvebu.c252 uart_mvebu_getc(struct uart_bas *bas, struct mtx *hwmtx) in uart_mvebu_getc() argument
256 uart_lock(hwmtx); in uart_mvebu_getc()
261 uart_unlock(hwmtx); in uart_mvebu_getc()
H A Duart_dev_ns8250.c443 ns8250_getc(struct uart_bas *bas, struct mtx *hwmtx) in ns8250_getc() argument
447 uart_lock(hwmtx); in ns8250_getc()
450 uart_unlock(hwmtx); in ns8250_getc()
452 uart_lock(hwmtx); in ns8250_getc()
457 uart_unlock(hwmtx); in ns8250_getc()
H A Duart_dev_imx.c245 imx_uart_getc(struct uart_bas *bas, struct mtx *hwmtx) in imx_uart_getc() argument
249 uart_lock(hwmtx); in imx_uart_getc()
254 uart_unlock(hwmtx); in imx_uart_getc()
H A Duart_core.c747 sc->sc_sysdev->hwmtx = sc->sc_hwmtx; in uart_bus_attach()
788 sc->sc_sysdev->hwmtx = NULL; in uart_bus_detach()
H A Duart_dev_mu.c237 uart_mu_getc(struct uart_bas *bas, struct mtx *hwmtx) in uart_mu_getc() argument
H A Duart_dev_pl011.c323 uart_pl011_getc(struct uart_bas *bas, struct mtx *hwmtx) in uart_pl011_getc() argument
/freebsd/sys/riscv/sifive/
H A Dsifive_uart.c149 sfuart_getc(struct uart_bas *bas, struct mtx *hwmtx) in sfuart_getc() argument
153 uart_lock(hwmtx); in sfuart_getc()
157 uart_unlock(hwmtx); in sfuart_getc()
159 uart_lock(hwmtx); in sfuart_getc()
162 uart_unlock(hwmtx); in sfuart_getc()
/freebsd/sys/arm/freescale/vybrid/
H A Dvf_uart.c176 vf_uart_getc(struct uart_bas *bas, struct mtx *hwmtx) in vf_uart_getc() argument
180 uart_lock(hwmtx); in vf_uart_getc()
186 uart_unlock(hwmtx); in vf_uart_getc()