Lines Matching refs:QueIdx
222 #define RTMP_START_DEQUEUE(pAd, QueIdx, irqFlags) \
224 RTMP_IRQ_LOCK(&pAd->DeQueueLock[QueIdx], irqFlags); \
225 if (pAd->DeQueueRunning[QueIdx]) { \
226 RTMP_IRQ_UNLOCK(&pAd->DeQueueLock[QueIdx], irqFlags); \
227 DBGPRINT(RT_DEBUG_OFF, ("DeQueueRunning[%d]= TRUE!\n", QueIdx)); \
230 pAd->DeQueueRunning[QueIdx] = TRUE; \
231 RTMP_IRQ_UNLOCK(&pAd->DeQueueLock[QueIdx], irqFlags);\
235 #define RTMP_STOP_DEQUEUE(pAd, QueIdx, irqFlags) \
237 RTMP_IRQ_LOCK(&pAd->DeQueueLock[QueIdx], irqFlags); \
238 pAd->DeQueueRunning[QueIdx] = FALSE; \
239 RTMP_IRQ_UNLOCK(&pAd->DeQueueLock[QueIdx], irqFlags); \
243 (RTUSBFreeDescriptorRequest(pAd, pTxBlk->QueIdx, (pTxBlk->TotalFrameLen + GET_OS_PKT_LEN(pPacket))) == NDIS_STATUS_SUCCESS)
245 #define RTMP_RELEASE_DESC_RESOURCE(pAd, QueIdx) \
267 #define HAL_LastTxIdx(pAd, QueIdx, TxIdx) \
268 /*RtmpUSBDataLastTxIdx(pAd, QueIdx,TxIdx) */
270 #define HAL_KickOutTx(pAd, pTxBlk, QueIdx) \
271 RtmpUSBDataKickOut(pAd, pTxBlk, QueIdx)
273 #define HAL_KickOutMgmtTx(pAd, QueIdx, pPacket, pSrcBufVA, SrcBufLen) \
274 RtmpUSBMgmtKickOut(pAd, QueIdx, pPacket, pSrcBufVA, SrcBufLen)