• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7800-V1.0.2.28/target/linux/s3c24xx/files-2.6.30/drivers/ar6000/htc/

Lines Matching defs:target

47     HTC_TARGET      *target = (HTC_TARGET *)Context;
48 HTC_ENDPOINT *pEndpoint = &target->EndPoint[pPacket->Endpoint];
62 A_STATUS HTCIssueSend(HTC_TARGET *target, HTC_PACKET *pPacket, A_UINT8 SendFlags)
87 status = DevSendPacket(&target->Device,
105 static void HTCTrySend(HTC_TARGET *target,
116 pEndpoint = &target->EndPoint[ep];
118 LOCK_HTC_TX(target);
146 creditsRequired += target->TargetCreditSize - 1;
147 creditsRequired /= target->TargetCreditSize;
168 DO_DISTRIBUTION(target,
201 UNLOCK_HTC_TX(target);
203 HTCIssueSend(target, pPacket, sendFlags);
205 LOCK_HTC_TX(target);
213 UNLOCK_HTC_TX(target);
220 UNLOCK_HTC_TX(target);
232 HTC_TARGET *target = GET_HTC_TARGET_FROM_HANDLE(HTCHandle);
243 pEndpoint = &target->EndPoint[ep];
247 if (HTC_STOPPING(target)) {
256 pPacket->pContext = target;
258 HTCTrySend(target, pPacket, ep);
269 static INLINE void HTCCheckEndpointTxQueues(HTC_TARGET *target)
275 pDistItem = target->EpCreditDistributionListHead;
291 HTCTrySend(target, NULL, pDistItem->Endpoint);
301 void HTCProcessCreditRpt(HTC_TARGET *target, HTC_CREDIT_REPORT *pRpt, int NumEntries, HTC_ENDPOINT_ID FromEndpoint)
311 LOCK_HTC_TX(target);
319 pEndpoint = &target->EndPoint[pRpt->EndpointID];
366 DO_DISTRIBUTION(target,
369 target->EpCreditDistributionListHead->pNext);
372 UNLOCK_HTC_TX(target);
375 HTCCheckEndpointTxQueues(target);
382 static void HTCFlushEndpointTX(HTC_TARGET *target, HTC_ENDPOINT *pEndpoint, HTC_TX_TAG Tag)
390 LOCK_HTC_TX(target);
406 UNLOCK_HTC_TX(target);
445 void DumpCreditDistStates(HTC_TARGET *target)
447 HTC_ENDPOINT_CREDIT_DIST *pEPList = target->EpCreditDistributionListHead;
454 if (target->DistributeCredits != NULL) {
455 DO_DISTRIBUTION(target,
463 void HTCFlushSendPkts(HTC_TARGET *target)
468 DumpCreditDistStates(target);
471 pEndpoint = &target->EndPoint[i];
476 HTCFlushEndpointTX(target,pEndpoint,HTC_TX_PACKET_TAG_ALL);
484 HTC_TARGET *target = GET_HTC_TARGET_FROM_HANDLE(HTCHandle);
485 HTC_ENDPOINT *pEndpoint = &target->EndPoint[Endpoint];
493 HTCFlushEndpointTX(target, pEndpoint, Tag);
501 HTC_TARGET *target = GET_HTC_TARGET_FROM_HANDLE(HTCHandle);
502 HTC_ENDPOINT *pEndpoint = &target->EndPoint[Endpoint];
511 LOCK_HTC_TX(target);
530 DO_DISTRIBUTION(target,
533 target->EpCreditDistributionListHead->pNext);
536 UNLOCK_HTC_TX(target);