Lines Matching refs:eid
61 hdr->htc_info = le32_encode_bits(ep->eid, HTC_HDR_ENDPOINTID) | in ath12k_htc_prepare_tx_skb()
75 enum ath12k_htc_ep_id eid, in ath12k_htc_send() argument
78 struct ath12k_htc_ep *ep = &htc->endpoint[eid]; in ath12k_htc_send()
85 if (eid >= ATH12K_HTC_EP_COUNT) { in ath12k_htc_send()
86 ath12k_warn(ab, "Invalid endpoint id: %d\n", eid); in ath12k_htc_send()
98 eid, credits, ep->tx_credits); in ath12k_htc_send()
106 eid, credits, ep->tx_credits); in ath12k_htc_send()
119 ret = ath12k_ce_send(htc->ab, skb, ep->ul_pipe_id, ep->eid); in ath12k_htc_send()
133 eid, credits, ep->tx_credits); in ath12k_htc_send()
148 enum ath12k_htc_ep_id eid) in ath12k_htc_process_credit_report() argument
161 if (report->eid >= ATH12K_HTC_EP_COUNT) in ath12k_htc_process_credit_report()
164 ep = &htc->endpoint[report->eid]; in ath12k_htc_process_credit_report()
168 report->eid, report->credits, ep->tx_credits); in ath12k_htc_process_credit_report()
257 u8 eid; in ath12k_htc_rx_completion_handler() local
263 eid = le32_get_bits(hdr->htc_info, HTC_HDR_ENDPOINTID); in ath12k_htc_rx_completion_handler()
265 if (eid >= ATH12K_HTC_EP_COUNT) { in ath12k_htc_rx_completion_handler()
266 ath12k_warn(ab, "HTC Rx: invalid eid %d\n", eid); in ath12k_htc_rx_completion_handler()
270 ep = &htc->endpoint[eid]; in ath12k_htc_rx_completion_handler()
309 trailer_len, eid); in ath12k_htc_rx_completion_handler()
320 if (eid == ATH12K_HTC_EP_0) { in ath12k_htc_rx_completion_handler()
362 eid, skb); in ath12k_htc_rx_completion_handler()
434 ep->eid = i; in ath12k_htc_reset_endpoint_states()
673 ep->eid = assigned_eid; in ath12k_htc_connect_service()
679 conn_resp->eid = assigned_eid; in ath12k_htc_connect_service()
703 ep->dl_pipe_id, ep->eid); in ath12k_htc_connect_service()