Lines Matching refs:cur_free_credits
49 cred_info->cur_free_credits -= credits; in ath6kl_credit_deposit()
61 cred_info->cur_free_credits = tot_credits; in ath6kl_credit_init()
109 WARN_ON(cred_info->cur_free_credits <= 0); in ath6kl_credit_init()
126 count = (cred_info->cur_free_credits / in ath6kl_credit_init()
182 cred_info->cur_free_credits += credits; in ath6kl_credit_reduce()
242 credits = min(cred_info->cur_free_credits, ep_dist->seek_cred); in ath6kl_credit_seek()
263 need = ep_dist->seek_cred - cred_info->cur_free_credits; in ath6kl_credit_seek()
276 if (cred_info->cur_free_credits >= in ath6kl_credit_seek()
285 credits = min(cred_info->cur_free_credits, ep_dist->seek_cred); in ath6kl_credit_seek()
344 WARN_ON(cred_info->cur_free_credits > cred_info->total_avail_credits); in ath6kl_credit_distribute()
345 WARN_ON(cred_info->cur_free_credits < 0); in ath6kl_credit_distribute()