Searched refs:sc_hwmtx_s (Results 1 – 2 of 2) sorted by relevance
612 mtx_init(&sc->sc_hwmtx_s, "uart_hwmtx", NULL, MTX_SPIN); in uart_bus_attach()614 sc->sc_hwmtx = &sc->sc_hwmtx_s; in uart_bus_attach()623 mtx_destroy(&sc->sc_hwmtx_s); in uart_bus_attach()773 mtx_destroy(&sc->sc_hwmtx_s); in uart_bus_attach()807 mtx_destroy(&sc->sc_hwmtx_s); in uart_bus_detach()
81 struct mtx sc_hwmtx_s; /* Spinlock protecting hardware. */ member