Searched refs:hwmtx (Results 1 – 10 of 10) sorted by relevance
79 struct mtx *hwmtx; member102 uart_lock(struct mtx *hwmtx) in uart_lock() argument104 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() argument111 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 …]
124 lowrisc_uart_getc(struct uart_bas *bas, struct mtx *hwmtx) in lowrisc_uart_getc() argument128 uart_lock(hwmtx); in lowrisc_uart_getc()131 uart_unlock(hwmtx); in lowrisc_uart_getc()
252 uart_mvebu_getc(struct uart_bas *bas, struct mtx *hwmtx) in uart_mvebu_getc() argument256 uart_lock(hwmtx); in uart_mvebu_getc()261 uart_unlock(hwmtx); in uart_mvebu_getc()
443 ns8250_getc(struct uart_bas *bas, struct mtx *hwmtx) in ns8250_getc() argument447 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()
245 imx_uart_getc(struct uart_bas *bas, struct mtx *hwmtx) in imx_uart_getc() argument249 uart_lock(hwmtx); in imx_uart_getc()254 uart_unlock(hwmtx); in imx_uart_getc()
747 sc->sc_sysdev->hwmtx = sc->sc_hwmtx; in uart_bus_attach()788 sc->sc_sysdev->hwmtx = NULL; in uart_bus_detach()
237 uart_mu_getc(struct uart_bas *bas, struct mtx *hwmtx) in uart_mu_getc() argument
323 uart_pl011_getc(struct uart_bas *bas, struct mtx *hwmtx) in uart_pl011_getc() argument
149 sfuart_getc(struct uart_bas *bas, struct mtx *hwmtx) in sfuart_getc() argument153 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()
176 vf_uart_getc(struct uart_bas *bas, struct mtx *hwmtx) in vf_uart_getc() argument180 uart_lock(hwmtx); in vf_uart_getc()186 uart_unlock(hwmtx); in vf_uart_getc()