Home
last modified time | relevance | path

Searched refs:pEndpoint (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/drivers/staging/ath6kl/htc2/
Dhtc_send.c46 static void DoSendCompletion(struct htc_endpoint *pEndpoint, in DoSendCompletion() argument
56 if (pEndpoint->EpCallBacks.EpTxCompleteMultiple != NULL) { in DoSendCompletion()
58 pEndpoint->Id, HTC_PACKET_QUEUE_DEPTH(pQueueToIndicate))); in DoSendCompletion()
60 pEndpoint->EpCallBacks.EpTxCompleteMultiple(pEndpoint->EpCallBacks.pContext, in DoSendCompletion()
70 pEndpoint->Id, (unsigned long)(pPacket))); in DoSendCompletion()
71pEndpoint->EpCallBacks.EpTxComplete(pEndpoint->EpCallBacks.pContext, pPacket); … in DoSendCompletion()
80 static INLINE void CompleteSentPacket(struct htc_target *target, struct htc_endpoint *pEndpoint, st… in CompleteSentPacket() argument
90 pEndpoint->CreditDist.TxCreditsToDist += pPacket->PktInfo.AsTx.CreditsUsed; in CompleteSentPacket()
91 pEndpoint->CreditDist.TxQueueDepth = HTC_PACKET_QUEUE_DEPTH(&pEndpoint->TxQueue); in CompleteSentPacket()
107 struct htc_endpoint *pEndpoint = &target->EndPoint[pPacket->Endpoint]; in HTCSendPktCompletionHandler() local
[all …]
Dhtc_recv.c53 static void DoRecvCompletion(struct htc_endpoint *pEndpoint, in DoRecvCompletion() argument
64 if (pEndpoint->EpCallBacks.EpRecvPktMultiple != NULL) { in DoRecvCompletion()
66 pEndpoint->Id, HTC_PACKET_QUEUE_DEPTH(pQueueToIndicate))); in DoRecvCompletion()
68 pEndpoint->EpCallBacks.EpRecvPktMultiple(pEndpoint->EpCallBacks.pContext, in DoRecvCompletion()
77 pEndpoint->Id, (unsigned long)(pPacket))); in DoRecvCompletion()
78pEndpoint->EpCallBacks.EpRecv(pEndpoint->EpCallBacks.pContext, pPacket); … in DoRecvCompletion()
435 …tic INLINE void DrainRecvIndicationQueue(struct htc_target *target, struct htc_endpoint *pEndpoint) in DrainRecvIndicationQueue() argument
446 pEndpoint->RxProcessCount++; in DrainRecvIndicationQueue()
447 if (pEndpoint->RxProcessCount > 1) { in DrainRecvIndicationQueue()
448 pEndpoint->RxProcessCount--; in DrainRecvIndicationQueue()
[all …]
Dhtc_services.c135 struct htc_endpoint *pEndpoint; in HTCConnectService() local
248 pEndpoint = &target->EndPoint[assignedEndpoint]; in HTCConnectService()
249 pEndpoint->Id = assignedEndpoint; in HTCConnectService()
250 if (pEndpoint->ServiceID != 0) { in HTCConnectService()
261 pEndpoint->ServiceID = pConnectReq->ServiceID; /* this marks the endpoint in use */ in HTCConnectService()
262 pEndpoint->MaxTxQueueDepth = pConnectReq->MaxSendQueueDepth; in HTCConnectService()
263 pEndpoint->MaxMsgLength = maxMsgSize; in HTCConnectService()
265 pEndpoint->EpCallBacks = pConnectReq->EpCallbacks; in HTCConnectService()
268 pEndpoint->CreditDist.ServiceID = pConnectReq->ServiceID; in HTCConnectService()
269 pEndpoint->CreditDist.pHTCReserved = pEndpoint; in HTCConnectService()
[all …]
Dhtc.c441 struct htc_endpoint *pEndpoint; in ResetEndpointStates() local
445 pEndpoint = &target->EndPoint[i]; in ResetEndpointStates()
447 A_MEMZERO(&pEndpoint->CreditDist, sizeof(pEndpoint->CreditDist)); in ResetEndpointStates()
448 pEndpoint->ServiceID = 0; in ResetEndpointStates()
449 pEndpoint->MaxMsgLength = 0; in ResetEndpointStates()
450 pEndpoint->MaxTxQueueDepth = 0; in ResetEndpointStates()
452 A_MEMZERO(&pEndpoint->EndPointStats,sizeof(pEndpoint->EndPointStats)); in ResetEndpointStates()
454 INIT_HTC_PACKET_QUEUE(&pEndpoint->RxBuffers); in ResetEndpointStates()
455 INIT_HTC_PACKET_QUEUE(&pEndpoint->TxQueue); in ResetEndpointStates()
456 INIT_HTC_PACKET_QUEUE(&pEndpoint->RecvIndicationQueue); in ResetEndpointStates()
[all …]