Home
last modified time | relevance | path

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

/wlan-driver/qca-wifi-host-cmn/htc/
H A Dhtc_send.c95 HTC_ENDPOINT *pEndpoint; in htc_get_control_endpoint_tx_host_credits() local
106 pEndpoint = &target->endpoint[i]; in htc_get_control_endpoint_tx_host_credits()
107 if (pEndpoint->service_id == WMI_CONTROL_SVC) { in htc_get_control_endpoint_tx_host_credits()
108 *credits = pEndpoint->TxCredits; in htc_get_control_endpoint_tx_host_credits()
133 HTC_ENDPOINT *pEndpoint = &target->endpoint[pPacket->Endpoint]; in send_packet_completion() local
137 (!IS_TX_CREDIT_FLOW_ENABLED(pEndpoint))) in send_packet_completion()
154 pEndpoint->Id, pPacket)); in send_packet_completion()
156 EpTxComplete = pEndpoint->EpCallBacks.EpTxComplete; in send_packet_completion()
158 EpTxComplete(pEndpoint->EpCallBacks.pContext, pPacket); in send_packet_completion()
176 HTC_ENDPOINT *pEndpoint = &target->endpoint[pPacket->Endpoint]; in log_packet_info() local
[all …]
H A Dhtc_services.c101 HTC_ENDPOINT *pEndpoint; in htc_connect_service() local
322 pEndpoint = &target->endpoint[assignedEndpoint]; in htc_connect_service()
323 pEndpoint->Id = assignedEndpoint; in htc_connect_service()
324 if (pEndpoint->service_id != 0) { in htc_connect_service()
336 pEndpoint->service_id = pConnectReq->service_id; in htc_connect_service()
337 pEndpoint->MaxTxQueueDepth = pConnectReq->MaxSendQueueDepth; in htc_connect_service()
338 pEndpoint->MaxMsgLength = maxMsgSize; in htc_connect_service()
339 pEndpoint->TxCredits = txAlloc; in htc_connect_service()
340 pEndpoint->TxCreditSize = target->TargetCreditSize; in htc_connect_service()
341 pEndpoint->TxCreditsPerMaxMsg = in htc_connect_service()
[all …]
H A Dhtc_internal.h326 void htc_flush_rx_hold_queue(HTC_TARGET *target, HTC_ENDPOINT *pEndpoint);
327 void htc_flush_endpoint_tx(HTC_TARGET *target, HTC_ENDPOINT *pEndpoint,
359 pEndpoint) { in htc_send_complete_poll_timer_stop() argument
360 LOCK_HTC_TX(pEndpoint->target); in htc_send_complete_poll_timer_stop()
361 if (pEndpoint->ul_poll_timer_active) { in htc_send_complete_poll_timer_stop()
363 pEndpoint->ul_poll_timer_active = 0; in htc_send_complete_poll_timer_stop()
365 UNLOCK_HTC_TX(pEndpoint->target); in htc_send_complete_poll_timer_stop()
369 pEndpoint) { in htc_send_complete_poll_timer_start() argument
370 LOCK_HTC_TX(pEndpoint->target); in htc_send_complete_poll_timer_start()
371 if (pEndpoint->ul_outstanding_cnt in htc_send_complete_poll_timer_start()
[all …]
H A Dhtc_recv.c89 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
[all …]
H A Dhtc.c434 HTC_ENDPOINT *pEndpoint = NULL; in htc_create() local
456 pEndpoint = &target->endpoint[i]; in htc_create()
457 qdf_spinlock_create(&pEndpoint->lookup_queue_lock); in htc_create()
510 pEndpoint = &target->endpoint[ENDPOINT_0]; in htc_create()
513 hif_get_default_pipe(target->hif_dev, &pEndpoint->UL_PipeID, in htc_create()
514 &pEndpoint->DL_PipeID); in htc_create()
873 HTC_ENDPOINT *pEndpoint; in reset_endpoint_states() local
877 pEndpoint = &target->endpoint[i]; in reset_endpoint_states()
878 pEndpoint->service_id = 0; in reset_endpoint_states()
879 pEndpoint->MaxMsgLength = 0; in reset_endpoint_states()
[all …]