Lines Matching refs:credits
82 int credits = 0; in ath11k_htc_send() local
95 credits = DIV_ROUND_UP(skb->len, htc->target_credit_size); in ath11k_htc_send()
97 if (ep->tx_credits < credits) { in ath11k_htc_send()
100 eid, credits, ep->tx_credits); in ath11k_htc_send()
105 ep->tx_credits -= credits; in ath11k_htc_send()
108 eid, credits, ep->tx_credits); in ath11k_htc_send()
133 ep->tx_credits += credits; in ath11k_htc_send()
136 eid, credits, ep->tx_credits); in ath11k_htc_send()
168 ep->tx_credits += report->credits; in ath11k_htc_process_credit_report()
171 report->eid, report->credits, ep->tx_credits); in ath11k_htc_process_credit_report()
496 int i, credits; in ath11k_htc_setup_target_buffer_assignments() local
498 credits = htc->total_transmit_credits; in ath11k_htc_setup_target_buffer_assignments()
506 credits = credits / htc->wmi_ep_count; in ath11k_htc_setup_target_buffer_assignments()
509 serv_entry[i].credit_allocation = credits; in ath11k_htc_setup_target_buffer_assignments()