• Home
  • Raw
  • Download

Lines Matching refs:ep_dist

41 				  struct htc_endpoint_credit_dist *ep_dist,  in ath6kl_credit_deposit()  argument
45 ep_dist->endpoint, credits); in ath6kl_credit_deposit()
47 ep_dist->credits += credits; in ath6kl_credit_deposit()
48 ep_dist->cred_assngd += credits; in ath6kl_credit_deposit()
168 struct htc_endpoint_credit_dist *ep_dist, in ath6kl_credit_reduce() argument
174 ep_dist->endpoint, limit); in ath6kl_credit_reduce()
176 ep_dist->cred_assngd = limit; in ath6kl_credit_reduce()
178 if (ep_dist->credits <= limit) in ath6kl_credit_reduce()
181 credits = ep_dist->credits - limit; in ath6kl_credit_reduce()
182 ep_dist->credits -= credits; in ath6kl_credit_reduce()
222 struct htc_endpoint_credit_dist *ep_dist) in ath6kl_credit_seek() argument
228 if (ep_dist->svc_id == WMI_CONTROL_SVC) in ath6kl_credit_seek()
231 if ((ep_dist->svc_id == WMI_DATA_VI_SVC) || in ath6kl_credit_seek()
232 (ep_dist->svc_id == WMI_DATA_VO_SVC)) in ath6kl_credit_seek()
233 if ((ep_dist->cred_assngd >= ep_dist->cred_norm)) in ath6kl_credit_seek()
243 credits = min(cred_info->cur_free_credits, ep_dist->seek_cred); in ath6kl_credit_seek()
245 if (credits >= ep_dist->seek_cred) in ath6kl_credit_seek()
261 if (curdist_list == ep_dist) in ath6kl_credit_seek()
264 need = ep_dist->seek_cred - cred_info->cur_free_credits; in ath6kl_credit_seek()
278 ep_dist->seek_cred) in ath6kl_credit_seek()
286 credits = min(cred_info->cur_free_credits, ep_dist->seek_cred); in ath6kl_credit_seek()
291 ath6kl_credit_deposit(cred_info, ep_dist, credits); in ath6kl_credit_seek()
293 ep_dist->seek_cred = 0; in ath6kl_credit_seek()