Lines Matching refs:fifo_credit
513 int fifo_credit[BRCMF_FWS_FIFO_COUNT]; member
1211 int *fifo_credit; in brcmf_fws_return_credits() local
1225 fifo_credit = &fws->fifo_credit[lender_ac]; in brcmf_fws_return_credits()
1228 *fifo_credit += credits; in brcmf_fws_return_credits()
1232 *fifo_credit += *borrowed; in brcmf_fws_return_credits()
1239 fws->fifo_credit[fifo] += credits; in brcmf_fws_return_credits()
1605 for (i = 0; i < ARRAY_SIZE(fws->fifo_credit); i++) { in brcmf_fws_notify_credit_map()
1610 fws->fifo_credit[i] = *credits++; in brcmf_fws_notify_credit_map()
2016 if (fws->fifo_credit[lender_ac]) { in brcmf_fws_borrow_credit()
2018 fws->fifo_credit[lender_ac]--; in brcmf_fws_borrow_credit()
2019 if (fws->fifo_credit[lender_ac] == 0) in brcmf_fws_borrow_credit()
2213 while ((fws->fifo_credit[fifo]) || ((!fws->bcmc_credit_check) && in brcmf_fws_dequeue_worker()
2218 fws->fifo_credit[fifo]--; in brcmf_fws_dequeue_worker()
2225 (fws->fifo_credit[fifo] == 0) && in brcmf_fws_dequeue_worker()