Home
last modified time | relevance | path

Searched refs:pHTTXContext (Results 1 – 8 of 8) sorted by relevance

/linux-2.6.39/drivers/staging/rt2860/common/
Dcmm_data_usb.c46 struct rt_ht_tx_context *pHTTXContext) in RtmpUSBCanDoWrite() argument
50 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() local
101 pHTTXContext = &pAd->TxContext[QueIdx]; in RtmpUSB_WriteFragTxResource()
[all …]
Dcmm_mac_usb.c202 struct rt_ht_tx_context *pHTTXContext = &(pAd->TxContext[acidx]); in NICInitTransmit() local
204 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 …]
/linux-2.6.39/drivers/staging/rt2870/common/
Drtusb_data.c96 struct rt_ht_tx_context *pHTTXContext; in RTUSBFreeDescriptorRequest() local
98 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 …]
Drtusb_bulk.c186 struct rt_ht_tx_context *pHTTXContext; in RTUSBBulkOutDataPacket() local
213 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 …]
Drtusb_io.c1056 struct rt_ht_tx_context *pHTTXContext; in CMDHandler() local
1124 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 …]
/linux-2.6.39/drivers/staging/rt2860/
Drt_usb.c204 struct rt_ht_tx_context *pHTTXContext; in rtusb_dataout_complete() local
210 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 …]
Dusb_main_dev.c615 struct rt_ht_tx_context *pHTTXContext; in RTUSBWatchDog() local
677 pHTTXContext = in RTUSBWatchDog()
679 if (pHTTXContext->IRPPending) { /* Check TxContext. */ in RTUSBWatchDog()
680 pUrb = pHTTXContext->pUrb; in RTUSBWatchDog()
/linux-2.6.39/drivers/staging/rt2860/sta/
Drtmp_data.c1256 struct rt_ht_tx_context *pHTTXContext; in RTMPFreeTXDRequest() local
1264 pHTTXContext = &pAd->TxContext[QueIdx]; in RTMPFreeTXDRequest()
1267 if ((pHTTXContext->CurWritePosition != in RTMPFreeTXDRequest()
1268 pHTTXContext->ENextBulkOutPosition) in RTMPFreeTXDRequest()
1269 || (pHTTXContext->IRPPending == TRUE)) { in RTMPFreeTXDRequest()