Lines Matching refs:pEndpoint

89 static void do_recv_completion_pkt(HTC_ENDPOINT *pEndpoint,  in do_recv_completion_pkt()  argument
92 if (!pEndpoint->EpCallBacks.EpRecv) { in do_recv_completion_pkt()
95 pEndpoint->Id, in do_recv_completion_pkt()
102 pEndpoint->Id, pPacket)); in do_recv_completion_pkt()
103 pEndpoint->EpCallBacks.EpRecv(pEndpoint->EpCallBacks.pContext, in do_recv_completion_pkt()
108 static void do_recv_completion(HTC_ENDPOINT *pEndpoint, in do_recv_completion() argument
120 do_recv_completion_pkt(pEndpoint, pPacket); in do_recv_completion()
152 HTC_ENDPOINT *pEndpoint = &target->endpoint[Endpoint]; in htc_get_num_recv_buffers() local
153 return HTC_PACKET_QUEUE_DEPTH(&pEndpoint->RxBufferHoldQueue); in htc_get_num_recv_buffers()
253 HTC_ENDPOINT *pEndpoint, *currendpoint; in htc_rx_completion_handler() local
310 pEndpoint = &target->endpoint[htc_ep_id]; in htc_rx_completion_handler()
318 if (pEndpoint->ul_is_polled) { in htc_rx_completion_handler()
322 pEndpoint->DL_PipeID) && in htc_rx_completion_handler()
363 INC_HTC_EP_STAT(pEndpoint, RxReceived, 1); in htc_rx_completion_handler()
457 pEndpoint->TxCredits, in htc_rx_completion_handler()
459 &pEndpoint->TxQueue)); in htc_rx_completion_handler()
473 pEndpoint->TxCredits, in htc_rx_completion_handler()
475 &pEndpoint->TxQueue)); in htc_rx_completion_handler()
487 pEndpoint->TxCredits, in htc_rx_completion_handler()
489 &pEndpoint->TxQueue)); in htc_rx_completion_handler()
520 do_recv_completion_pkt(pEndpoint, pPacket); in htc_rx_completion_handler()
544 HTC_ENDPOINT *pEndpoint; in htc_add_receive_pkt_multiple() local
567 pEndpoint = &target->endpoint[pFirstPacket->Endpoint]; in htc_add_receive_pkt_multiple()
579 HTC_PACKET_QUEUE_TRANSFER_TO_TAIL(&pEndpoint->RxBufferHoldQueue, in htc_add_receive_pkt_multiple()
593 do_recv_completion(pEndpoint, pPktQueue); in htc_add_receive_pkt_multiple()
599 void htc_flush_rx_hold_queue(HTC_TARGET *target, HTC_ENDPOINT *pEndpoint) in htc_flush_rx_hold_queue() argument
606 pPacket = htc_packet_dequeue(&pEndpoint->RxBufferHoldQueue); in htc_flush_rx_hold_queue()
617 do_recv_completion_pkt(pEndpoint, pPacket); in htc_flush_rx_hold_queue()