Searched refs:pHTTXContext (Results 1 – 8 of 8) sorted by relevance
46 struct rt_ht_tx_context *pHTTXContext) in RtmpUSBCanDoWrite() argument50 if (((pHTTXContext->CurWritePosition) < in RtmpUSBCanDoWrite()51 pHTTXContext->NextBulkOutPosition) in RtmpUSBCanDoWrite()52 && (pHTTXContext->CurWritePosition + LOCAL_TXBUF_SIZE) > in RtmpUSBCanDoWrite()53 pHTTXContext->NextBulkOutPosition) { in RtmpUSBCanDoWrite()57 } else if ((pHTTXContext->CurWritePosition == 8) in RtmpUSBCanDoWrite()58 && (pHTTXContext->NextBulkOutPosition < LOCAL_TXBUF_SIZE)) { in RtmpUSBCanDoWrite()62 } else if (pHTTXContext->bCurWriting == TRUE) { in RtmpUSBCanDoWrite()85 struct rt_ht_tx_context *pHTTXContext; in RtmpUSB_WriteFragTxResource() local101 pHTTXContext = &pAd->TxContext[QueIdx]; in RtmpUSB_WriteFragTxResource()[all …]
202 struct rt_ht_tx_context *pHTTXContext = &(pAd->TxContext[acidx]); in NICInitTransmit() local204 NdisZeroMemory(pHTTXContext, sizeof(struct rt_ht_tx_context)); in NICInitTransmit()206 LM_USB_ALLOC(pObj, pHTTXContext, struct rt_httx_buffer *, in NICInitTransmit()213 NdisZeroMemory(pHTTXContext->TransferBuffer-> in NICInitTransmit()215 pHTTXContext->pAd = pAd; in NICInitTransmit()216 pHTTXContext->pIrp = NULL; in NICInitTransmit()217 pHTTXContext->IRPPending = FALSE; in NICInitTransmit()218 pHTTXContext->NextBulkOutPosition = 0; in NICInitTransmit()219 pHTTXContext->ENextBulkOutPosition = 0; in NICInitTransmit()220 pHTTXContext->CurWritePosition = 0; in NICInitTransmit()[all …]
96 struct rt_ht_tx_context *pHTTXContext; in RTUSBFreeDescriptorRequest() local98 pHTTXContext = &pAd->TxContext[BulkOutPipeId]; in RTUSBFreeDescriptorRequest()100 if ((pHTTXContext->CurWritePosition < pHTTXContext->NextBulkOutPosition) in RTUSBFreeDescriptorRequest()102 ((pHTTXContext->CurWritePosition + NumberRequired + in RTUSBFreeDescriptorRequest()103 LOCAL_TXBUF_SIZE) > pHTTXContext->NextBulkOutPosition)) { in RTUSBFreeDescriptorRequest()108 } else if ((pHTTXContext->CurWritePosition == 8) in RTUSBFreeDescriptorRequest()109 && (pHTTXContext->NextBulkOutPosition < in RTUSBFreeDescriptorRequest()114 } else if (pHTTXContext->bCurWriting == TRUE) { in RTUSBFreeDescriptorRequest()117 BulkOutPipeId, pHTTXContext->CurWritePosition, in RTUSBFreeDescriptorRequest()118 pHTTXContext->NextBulkOutPosition)); in RTUSBFreeDescriptorRequest()[all …]
186 struct rt_ht_tx_context *pHTTXContext; in RTUSBBulkOutDataPacket() local213 pHTTXContext = &(pAd->TxContext[BulkOutPipeId]); in RTUSBBulkOutDataPacket()216 if ((pHTTXContext->ENextBulkOutPosition == in RTUSBBulkOutDataPacket()217 pHTTXContext->CurWritePosition) in RTUSBBulkOutDataPacket()218 || ((pHTTXContext->ENextBulkOutPosition - 8) == in RTUSBBulkOutDataPacket()219 pHTTXContext->CurWritePosition)) { in RTUSBBulkOutDataPacket()246 pHTTXContext->NextBulkOutPosition = pHTTXContext->ENextBulkOutPosition; in RTUSBBulkOutDataPacket()248 TmpBulkEndPos = pHTTXContext->NextBulkOutPosition; in RTUSBBulkOutDataPacket()249 pWirelessPkt = &pHTTXContext->TransferBuffer->field.WirelessPacket[0]; in RTUSBBulkOutDataPacket()251 if ((pHTTXContext->bCopySavePad == TRUE)) { in RTUSBBulkOutDataPacket()[all …]
1056 struct rt_ht_tx_context *pHTTXContext; in CMDHandler() local1124 pHTTXContext = in CMDHandler()1141 pHTTXContext-> in CMDHandler()1162 pHTTXContext, in CMDHandler()1165 pHTTXContext-> in CMDHandler()1171 (pHTTXContext-> in CMDHandler()1186 pHTTXContext-> in CMDHandler()1218 pHTTXContext-> in CMDHandler()1220 pHTTXContext-> in CMDHandler()1222 pHTTXContext-> in CMDHandler()[all …]
204 struct rt_ht_tx_context *pHTTXContext; in rtusb_dataout_complete() local210 pHTTXContext = (struct rt_ht_tx_context *)pUrb->context; in rtusb_dataout_complete()211 pAd = pHTTXContext->pAd; in rtusb_dataout_complete()216 BulkOutPipeId = pHTTXContext->BulkOutPipeId; in rtusb_dataout_complete()224 pHTTXContext->IRPPending = FALSE; in rtusb_dataout_complete()234 FREE_HTTX_RING(pAd, BulkOutPipeId, pHTTXContext); in rtusb_dataout_complete()243 &pHTTXContext->TransferBuffer->field. in rtusb_dataout_complete()244 WirelessPacket[pHTTXContext->NextBulkOutPosition]; in rtusb_dataout_complete()276 if ((pHTTXContext->ENextBulkOutPosition != in rtusb_dataout_complete()277 pHTTXContext->CurWritePosition) in rtusb_dataout_complete()[all …]
615 struct rt_ht_tx_context *pHTTXContext; in RTUSBWatchDog() local677 pHTTXContext = in RTUSBWatchDog()679 if (pHTTXContext->IRPPending) { /* Check TxContext. */ in RTUSBWatchDog()680 pUrb = pHTTXContext->pUrb; in RTUSBWatchDog()
1256 struct rt_ht_tx_context *pHTTXContext; in RTMPFreeTXDRequest() local1264 pHTTXContext = &pAd->TxContext[QueIdx]; in RTMPFreeTXDRequest()1267 if ((pHTTXContext->CurWritePosition != in RTMPFreeTXDRequest()1268 pHTTXContext->ENextBulkOutPosition) in RTMPFreeTXDRequest()1269 || (pHTTXContext->IRPPending == TRUE)) { in RTMPFreeTXDRequest()