Lines Matching refs:endpoint
85 HTC_ENDPOINT *endpoint = &target->endpoint[endpoint_id]; in htc_get_tx_queue_depth() local
87 return HTC_PACKET_QUEUE_DEPTH(&endpoint->TxQueue); in htc_get_tx_queue_depth()
106 pEndpoint = &target->endpoint[i]; in htc_get_control_endpoint_tx_host_credits()
133 HTC_ENDPOINT *pEndpoint = &target->endpoint[pPacket->Endpoint]; in send_packet_completion()
176 HTC_ENDPOINT *pEndpoint = &target->endpoint[pPacket->Endpoint]; in log_packet_info()
999 static void extract_htc_pm_packets(HTC_ENDPOINT *endpoint, in extract_htc_pm_packets() argument
1005 if (endpoint->service_id != WMI_CONTROL_SVC) in extract_htc_pm_packets()
1008 ITERATE_OVER_LIST_ALLOW_REMOVE(&endpoint->TxQueue.QueueHead, packet, in extract_htc_pm_packets()
1011 HTC_PACKET_REMOVE(&endpoint->TxQueue, packet); in extract_htc_pm_packets()
1025 static void queue_htc_pm_packets(HTC_ENDPOINT *endpoint, in queue_htc_pm_packets() argument
1028 if (endpoint->service_id != WMI_CONTROL_SVC) in queue_htc_pm_packets()
1031 HTC_PACKET_QUEUE_TRANSFER_TO_HEAD(&endpoint->TxQueue, queue); in queue_htc_pm_packets()
1062 static void extract_htc_pm_packets(HTC_ENDPOINT *endpoint, in extract_htc_pm_packets() argument
1066 static void queue_htc_pm_packets(HTC_ENDPOINT *endpoint, in queue_htc_pm_packets() argument
1121 static void extract_htc_system_resume_pkts(HTC_ENDPOINT *endpoint, in extract_htc_system_resume_pkts() argument
1127 if (endpoint->service_id != WMI_CONTROL_SVC) in extract_htc_system_resume_pkts()
1130 ITERATE_OVER_LIST_ALLOW_REMOVE(&endpoint->TxQueue.QueueHead, packet, in extract_htc_system_resume_pkts()
1133 HTC_PACKET_REMOVE(&endpoint->TxQueue, packet); in extract_htc_system_resume_pkts()
1140 void extract_htc_system_resume_pkts(HTC_ENDPOINT *endpoint, in extract_htc_system_resume_pkts() argument
1809 pEndpoint = &target->endpoint[eid]; in htc_send_pkts_sched_check()
1842 pEndpoint = &target->endpoint[eid]; in htc_send_pkts_sched_queue()
1914 pEndpoint = &target->endpoint[pPacket->Endpoint]; in __htc_send_pkt()
2035 end_point = &target->endpoint[endpoint_id]; in htc_get_endpoint_ul_pipeid()
2219 pEndpoint = &target->endpoint[ep_id]; in htc_send_data_pkt()
2315 pEndpoint = &target->endpoint[pPacket->Endpoint]; in htc_send_data_pkt()
2372 pEndpoint = &target->endpoint[1]; in htc_send_data_pkt()
2667 pEndpoint = &target->endpoint[EpID]; in htc_tx_completion_handler()
2741 HTC_ENDPOINT *pendpoint = &target->endpoint[htc_ep_id]; in htc_ctrl_msg_cmpl()
2756 pEndpoint = &target->endpoint[i]; in htc_tx_resource_avail_handler()
2791 HTC_ENDPOINT *endpoint = NULL; in htc_kick_queues() local
2797 endpoint = &target->endpoint[i]; in htc_kick_queues()
2799 if (endpoint->service_id == 0) in htc_kick_queues()
2802 if (endpoint->EpCallBacks.ep_resume_tx_queue) in htc_kick_queues()
2803 endpoint->EpCallBacks.ep_resume_tx_queue( in htc_kick_queues()
2804 endpoint->EpCallBacks.pContext); in htc_kick_queues()
2806 htc_try_send(target, endpoint, NULL); in htc_kick_queues()
2840 HTC_ENDPOINT *endpoint; in htc_flush_endpoint_txlookupQ() local
2842 endpoint = &target->endpoint[endpoint_id]; in htc_flush_endpoint_txlookupQ()
2844 if (!endpoint && endpoint->service_id == 0) in htc_flush_endpoint_txlookupQ()
2848 while (HTC_PACKET_QUEUE_DEPTH(&endpoint->TxLookupQueue)) { in htc_flush_endpoint_txlookupQ()
2849 packet = htc_packet_dequeue(&endpoint->TxLookupQueue); in htc_flush_endpoint_txlookupQ()
2868 HTC_ENDPOINT *pEndpoint = &target->endpoint[Endpoint]; in htc_flush_endpoint()
2947 pEndpoint = &target->endpoint[rpt_ep_id]; in htc_process_credit_rpt()
3033 HTC_ENDPOINT *endpoint = NULL; in htc_system_resume() local
3040 endpoint = &target->endpoint[i]; in htc_system_resume()
3042 if (endpoint->service_id == 0) in htc_system_resume()
3045 htc_try_send(target, endpoint, NULL); in htc_system_resume()