Searched refs:_tq (Results 1 – 3 of 3) sorted by relevance
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/ |
H A D | if_mwlvar.h | 131 #define MWL_TXQ_LOCK_INIT(_sc, _tq) do { \ argument 132 snprintf((_tq)->name, sizeof((_tq)->name), "%s_txq%u", \ 133 device_get_nameunit((_sc)->sc_dev), (_tq)->qnum); \ 134 mtx_init(&(_tq)->lock, (_tq)->name, NULL, MTX_DEF); \ 136 #define MWL_TXQ_LOCK_DESTROY(_tq) mtx_destroy(&(_tq)->lock) argument 137 #define MWL_TXQ_LOCK(_tq) mtx_lock(&(_tq)->lock) argument 138 #define MWL_TXQ_UNLOCK(_tq) mtx_unlock(&(_tq)->lock) argument 139 #define MWL_TXQ_LOCK_ASSERT(_tq) mtx_assert(&(_tq)->lock, MA_OWNED) argument
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ |
H A D | if_athvar.h | 401 #define ATH_TXQ_LOCK_INIT(_sc, _tq) do { \ argument 402 snprintf((_tq)->axq_name, sizeof((_tq)->axq_name), "%s_txq%u", \ 403 device_get_nameunit((_sc)->sc_dev), (_tq)->axq_qnum); \ 404 mtx_init(&(_tq)->axq_lock, (_tq)->axq_name, NULL, MTX_DEF); \ 406 #define ATH_TXQ_LOCK_DESTROY(_tq) mtx_destroy(&(_tq)->axq_lock) argument 407 #define ATH_TXQ_LOCK(_tq) mtx_lock(&(_tq)->axq_lock) argument 408 #define ATH_TXQ_UNLOCK(_tq) mtx_unlock(&(_tq)->axq_lock) argument 409 #define ATH_TXQ_LOCK_ASSERT(_tq) mtx_assert(&(_tq)->axq_lock, MA_OWNED) argument 410 #define ATH_TXQ_UNLOCK_ASSERT(_tq) mtx_assert(&(_tq)->axq_lock, \ argument 422 #define ATH_TXQ_INSERT_HEAD(_tq, _elm, _field) do { \ argument [all …]
|
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8335/dev/malo/ |
H A D | if_malo.h | 494 #define MALO_TXQ_LOCK_INIT(_sc, _tq) do { \ argument 495 snprintf((_tq)->name, sizeof((_tq)->name), "%s_txq%u", \ 496 device_get_nameunit((_sc)->malo_dev), (_tq)->qnum); \ 497 mtx_init(&(_tq)->lock, (_tq)->name, NULL, MTX_DEF); \ 499 #define MALO_TXQ_LOCK_DESTROY(_tq) mtx_destroy(&(_tq)->lock) argument 500 #define MALO_TXQ_LOCK(_tq) mtx_lock(&(_tq)->lock) argument 501 #define MALO_TXQ_UNLOCK(_tq) mtx_unlock(&(_tq)->lock) argument 502 #define MALO_TXQ_LOCK_ASSERT(_tq) mtx_assert(&(_tq)->lock, MA_OWNED) argument
|