Lines Matching refs:credits
80 int credits = 0; in ath11k_htc_send() local
91 credits = DIV_ROUND_UP(skb->len, htc->target_credit_size); in ath11k_htc_send()
93 if (ep->tx_credits < credits) { in ath11k_htc_send()
96 eid, credits, ep->tx_credits); in ath11k_htc_send()
101 ep->tx_credits -= credits; in ath11k_htc_send()
104 eid, credits, ep->tx_credits); in ath11k_htc_send()
129 ep->tx_credits += credits; in ath11k_htc_send()
132 eid, credits, ep->tx_credits); in ath11k_htc_send()
164 ep->tx_credits += report->credits; in ath11k_htc_process_credit_report()
167 report->eid, report->credits, ep->tx_credits); in ath11k_htc_process_credit_report()
438 int i, credits; in ath11k_htc_setup_target_buffer_assignments() local
440 credits = htc->total_transmit_credits; in ath11k_htc_setup_target_buffer_assignments()
448 credits = credits / htc->wmi_ep_count; in ath11k_htc_setup_target_buffer_assignments()
451 serv_entry[i].credit_allocation = credits; in ath11k_htc_setup_target_buffer_assignments()