Lines Matching defs:credits
82 int credits = 0;
93 credits = DIV_ROUND_UP(skb->len, htc->target_credit_size);
95 if (ep->tx_credits < credits) {
97 "htc insufficient credits ep %d required %d available %d\n",
98 eid, credits, ep->tx_credits);
103 ep->tx_credits -= credits;
105 "htc ep %d consumed %d credits (total %d)\n",
106 eid, credits, ep->tx_credits);
130 ep->tx_credits += credits;
132 "htc ep %d reverted %d credits back (total %d)\n",
133 eid, credits, ep->tx_credits);
165 ep->tx_credits += report->credits;
167 ath12k_dbg(ab, ATH12K_DBG_HTC, "htc ep %d got %d credits (total %d)\n",
168 report->eid, report->credits, ep->tx_credits);
466 int i, credits;
468 credits = htc->total_transmit_credits;
475 /* Divide credits among number of endpoints for WMI */
476 credits = credits / htc->wmi_ep_count;
479 serv_entry[i].credit_allocation = credits;
582 "boot htc service %s does not allocate target credits\n",