Searched refs:phy_mtx (Results 1 – 2 of 2) sorted by relevance
1016 struct mtx phy_mtx; member1019 #define BXE_PHY_LOCK(sc) mtx_lock(&sc->port.phy_mtx)1020 #define BXE_PHY_UNLOCK(sc) mtx_unlock(&sc->port.phy_mtx)1021 #define BXE_PHY_LOCK_ASSERT(sc) mtx_assert(&sc->port.phy_mtx, MA_OWNED)
2545 mtx_init(&sc->port.phy_mtx, sc->port.phy_mtx_name, NULL, MTX_DEF); in bxe_init_mutexes()2583 if (mtx_initialized(&sc->port.phy_mtx)) { in bxe_release_mutexes()2584 mtx_destroy(&sc->port.phy_mtx); in bxe_release_mutexes()