Lines Matching refs:credits
81 int credits = 0; in ath11k_htc_send() local
94 credits = DIV_ROUND_UP(skb->len, htc->target_credit_size); in ath11k_htc_send()
96 if (ep->tx_credits < credits) { in ath11k_htc_send()
99 eid, credits, ep->tx_credits); in ath11k_htc_send()
104 ep->tx_credits -= credits; in ath11k_htc_send()
107 eid, credits, ep->tx_credits); in ath11k_htc_send()
135 ep->tx_credits += credits; in ath11k_htc_send()
138 eid, credits, ep->tx_credits); in ath11k_htc_send()
170 ep->tx_credits += report->credits; in ath11k_htc_process_credit_report()
173 report->eid, report->credits, ep->tx_credits); in ath11k_htc_process_credit_report()
504 int i, credits; in ath11k_htc_setup_target_buffer_assignments() local
506 credits = htc->total_transmit_credits; in ath11k_htc_setup_target_buffer_assignments()
514 credits = credits / htc->wmi_ep_count; in ath11k_htc_setup_target_buffer_assignments()
517 serv_entry[i].credit_allocation = credits; in ath11k_htc_setup_target_buffer_assignments()