Lines Matching defs:credits
80 int credits = 0;
91 credits = DIV_ROUND_UP(skb->len, htc->target_credit_size);
93 if (ep->tx_credits < credits) {
95 "htc insufficient credits ep %d required %d available %d\n",
96 eid, credits, ep->tx_credits);
101 ep->tx_credits -= credits;
103 "htc ep %d consumed %d credits (total %d)\n",
104 eid, credits, ep->tx_credits);
129 ep->tx_credits += credits;
131 "htc ep %d reverted %d credits back (total %d)\n",
132 eid, credits, ep->tx_credits);
164 ep->tx_credits += report->credits;
166 ath11k_dbg(ab, ATH11K_DBG_HTC, "htc ep %d got %d credits (total %d)\n",
167 report->eid, report->credits, ep->tx_credits);
438 int i, credits;
440 credits = htc->total_transmit_credits;
447 /* Divide credits among number of endpoints for WMI */
448 credits = credits / htc->wmi_ep_count;
451 serv_entry[i].credit_allocation = credits;
560 "boot htc service %s does not allocate target credits\n",