Searched refs:phy_mtx (Results 1 – 2 of 2) sorted by relevance
1018 struct mtx phy_mtx; member1021 #define BXE_PHY_LOCK(sc) mtx_lock(&sc->port.phy_mtx)1022 #define BXE_PHY_UNLOCK(sc) mtx_unlock(&sc->port.phy_mtx)1023 #define BXE_PHY_LOCK_ASSERT(sc) mtx_assert(&sc->port.phy_mtx, MA_OWNED)
2562 mtx_init(&sc->port.phy_mtx, sc->port.phy_mtx_name, NULL, MTX_DEF); in bxe_init_mutexes()2600 if (mtx_initialized(&sc->port.phy_mtx)) { in bxe_release_mutexes()2601 mtx_destroy(&sc->port.phy_mtx); in bxe_release_mutexes()