Searched refs:an_mtx (Results 1 – 5 of 5) sorted by relevance
/haiku/src/add-ons/kernel/drivers/network/wlan/aironetwifi/dev/an/ |
H A D | if_anreg.h | 480 struct mtx an_mtx; member 495 #define AN_LOCK(_sc) mtx_lock(&(_sc)->an_mtx) 496 #define AN_UNLOCK(_sc) mtx_unlock(&(_sc)->an_mtx) 497 #define AN_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->an_mtx, MA_OWNED)
|
H A D | if_an_pci.c | 157 mtx_init(&sc->an_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK,
|
H A D | if_an.c | 349 mtx_init(&sc->an_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK, in an_probe() 373 mtx_destroy(&sc->an_mtx); in an_probe() 798 callout_init_mtx(&sc->an_stat_ch, &sc->an_mtx, 0); in an_attach() 803 mtx_destroy(&sc->an_mtx); in an_attach() 830 mtx_destroy(&sc->an_mtx); in an_detach() 3482 #define FLASH_DELAY(_sc, x) msleep(ifp, &(_sc)->an_mtx, PZERO, \
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ |
H A D | if_athvar.h | 201 struct mtx an_mtx; /* protecting the rate control state */ member 413 #define ATH_NODE_LOCK(_an) mtx_lock(&(_an)->an_mtx) 414 #define ATH_NODE_UNLOCK(_an) mtx_unlock(&(_an)->an_mtx) 415 #define ATH_NODE_LOCK_ASSERT(_an) mtx_assert(&(_an)->an_mtx, MA_OWNED) 416 #define ATH_NODE_UNLOCK_ASSERT(_an) mtx_assert(&(_an)->an_mtx, \
|
H A D | if_ath.c | 3924 mtx_init(&an->an_mtx, an->an_name, NULL, MTX_DEF); in ath_node_alloc() 3960 mtx_destroy(&ATH_NODE(ni)->an_mtx); in ath_node_free()
|