Lines Matching refs:credits
82 int credits = 0; in ath12k_htc_send() local
93 credits = DIV_ROUND_UP(skb->len, htc->target_credit_size); in ath12k_htc_send()
95 if (ep->tx_credits < credits) { in ath12k_htc_send()
98 eid, credits, ep->tx_credits); in ath12k_htc_send()
103 ep->tx_credits -= credits; in ath12k_htc_send()
106 eid, credits, ep->tx_credits); in ath12k_htc_send()
130 ep->tx_credits += credits; in ath12k_htc_send()
133 eid, credits, ep->tx_credits); in ath12k_htc_send()
165 ep->tx_credits += report->credits; in ath12k_htc_process_credit_report()
168 report->eid, report->credits, ep->tx_credits); in ath12k_htc_process_credit_report()
466 int i, credits; in ath12k_htc_setup_target_buffer_assignments() local
468 credits = htc->total_transmit_credits; in ath12k_htc_setup_target_buffer_assignments()
476 credits = credits / htc->wmi_ep_count; in ath12k_htc_setup_target_buffer_assignments()
479 serv_entry[i].credit_allocation = credits; in ath12k_htc_setup_target_buffer_assignments()