Home
last modified time | relevance | path

Searched refs:cred_dist (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/wireless/ath/ath6kl/
H A Dhtc_mbox.c562 ep->cred_dist.seek_cred = *req_cred - ep->cred_dist.credits; in htc_check_credits()
566 ep->cred_dist.seek_cred = 0; in htc_check_credits()
580 if (ep->cred_dist.credits < ep->cred_dist.cred_per_msg) { in htc_check_credits()
581 ep->cred_dist.seek_cred = in htc_check_credits()
582 ep->cred_dist.cred_per_msg - ep->cred_dist.credits; in htc_check_credits()
587 if (ep->cred_dist.credits < ep->cred_dist.cred_per_msg) { in htc_check_credits()
1017 endpoint = cred_dist->htc_ep; in htc_chk_ep_txq()
1023 cred_dist->endpoint, in htc_chk_ep_txq()
1232 endpoint->cred_dist.txq_depth = in ath6kl_htc_mbox_activity_changed()
1648 endpoint->cred_dist.txq_depth = in htc_proc_cred_rpt()
[all …]
H A Dhtc_pipe.c130 __func__, credits_required, ep->cred_dist.credits); in get_htc_packet_credit_based()
140 if (ep->cred_dist.credits < credits_required) in get_htc_packet_credit_based()
143 ep->cred_dist.credits -= credits_required; in get_htc_packet_credit_based()
147 if (ep->cred_dist.credits < in get_htc_packet_credit_based()
148 ep->cred_dist.cred_per_msg) { in get_htc_packet_credit_based()
272 ep->cred_dist.credits += packet->info.tx.cred_used; in htc_issue_packets()
673 ep->cred_dist.credits += rpt->credits; in htc_process_credit_report()
675 if (ep->cred_dist.credits && get_queue_depth(&ep->txq)) { in htc_process_credit_report()
1368 ep->cred_dist.credits = tx_alloc; in ath6kl_htc_pipe_conn_service()
1369 ep->cred_dist.cred_sz = target->tgt_cred_sz; in ath6kl_htc_pipe_conn_service()
[all …]
H A Dhtc.h520 struct htc_endpoint_credit_dist cred_dist; member