Home
last modified time | relevance | path

Searched refs:credits (Results 1 – 25 of 39) sorted by relevance

12

/freebsd/sys/dev/enic/
H A Dvnic_intr.h65 unsigned int credits, int unmask, int reset_timer) in vnic_intr_return_credits() argument
70 u32 int_credit_return = (credits & 0xffff) | in vnic_intr_return_credits()
84 unsigned int credits = vnic_intr_credits(intr); in vnic_intr_return_all_credits() local
88 vnic_intr_return_credits(intr, credits, unmask, reset_timer); in vnic_intr_return_all_credits()
/freebsd/sys/contrib/dev/athk/ath12k/
H A Dhtc.c82 int credits = 0; in ath12k_htc_send() local
93 credits = DIV_ROUND_UP(skb->len, htc->target_credit_size); in ath12k_htc_send()
95 if (ep->tx_credits < credits) { in ath12k_htc_send()
98 eid, credits, ep->tx_credits); in ath12k_htc_send()
103 ep->tx_credits -= credits; in ath12k_htc_send()
106 eid, credits, ep->tx_credits); in ath12k_htc_send()
130 ep->tx_credits += credits; in ath12k_htc_send()
133 eid, credits, ep->tx_credits); in ath12k_htc_send()
165 ep->tx_credits += report->credits; in ath12k_htc_process_credit_report()
168 report->eid, report->credits, ep->tx_credits); in ath12k_htc_process_credit_report()
[all …]
H A Dhtc.h145 u8 credits; member
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dhtc.c81 int credits = 0; in ath11k_htc_send() local
94 credits = DIV_ROUND_UP(skb->len, htc->target_credit_size); in ath11k_htc_send()
96 if (ep->tx_credits < credits) { in ath11k_htc_send()
99 eid, credits, ep->tx_credits); in ath11k_htc_send()
104 ep->tx_credits -= credits; in ath11k_htc_send()
107 eid, credits, ep->tx_credits); in ath11k_htc_send()
135 ep->tx_credits += credits; in ath11k_htc_send()
138 eid, credits, ep->tx_credits); in ath11k_htc_send()
170 ep->tx_credits += report->credits; in ath11k_htc_process_credit_report()
173 report->eid, report->credits, ep->tx_credits); in ath11k_htc_process_credit_report()
[all …]
H A Dhtc.h146 u8 credits; member
/freebsd/sys/dev/cxgbe/tom/
H A Dt4_cpl_io.c391 send_rx_credits(struct adapter *sc, struct toepcb *toep, int credits) in send_rx_credits() argument
397 KASSERT(credits >= 0, ("%s: %d credits", __func__, credits)); in send_rx_credits()
405 req->credit_dack = htobe32(dack | V_RX_CREDITS(credits)); in send_rx_credits()
408 return (credits); in send_rx_credits()
539 unsigned int immdlen, unsigned int plen, uint8_t credits, int shove, in write_tx_wr() argument
547 V_FW_WR_LEN16(credits)); in write_tx_wr()
642 u_int plen, nsegs, credits, max_imm, max_nsegs, max_nsegs_1mbuf; in t4_push_frames() local
812 credits = howmany(wr->wr_len, 16); in t4_push_frames()
814 credits, shove, 0); in t4_push_frames()
832 credits = howmany(wr_len, 16); in t4_push_frames()
[all …]
H A Dt4_tls.c355 unsigned int plen, unsigned int expn, uint8_t credits, int shove) in write_tlstx_wr() argument
364 V_FW_TLSTX_DATA_WR_LEN16(credits)); in write_tlstx_wr()
491 u_int nsegs, credits, wr_len; in t4_push_ktls() local
598 /* Not enough credits for this work request. */ in t4_push_ktls()
607 "%s: tid %d mbuf %p requires %d credits, but only %d available", in t4_push_ktls()
657 credits = howmany(wr_len, 16); in t4_push_ktls()
661 write_tlstx_wr(txwr, toep, tls_size, expn_size, credits, shove); in t4_push_ktls()
680 KASSERT(toep->tx_credits >= credits, in t4_push_ktls()
681 ("%s: not enough credits", __func__)); in t4_push_ktls()
683 toep->tx_credits -= credits; in t4_push_ktls()
[all...]
/freebsd/sys/dev/cxgb/common/
H A Dcxgb_ctl_defs.h134 unsigned int credits; member
144 unsigned int credits; member
H A Dcxgb_common.h814 unsigned int credits, unsigned int credit_thres);
824 unsigned int credits);
/freebsd/sys/netgraph/bluetooth/socket/
H A Dng_btsocket_rfcomm.c160 u_int8_t credits, u_int16_t mtu);
166 u_int8_t credits, struct mbuf *data);
2799 pn->ack_timer, le16toh(pn->mtu), pn->max_retrans, pn->credits, in ng_btsocket_rfcomm_receive_pn()
2817 pn->credits, pn->mtu); in ng_btsocket_rfcomm_receive_pn()
2821 pn->credits = RFCOMM_DEFAULT_CREDITS; in ng_btsocket_rfcomm_receive_pn()
2824 pn->credits = 0; in ng_btsocket_rfcomm_receive_pn()
2835 pn->flow_control, pn->credits, pn->mtu); in ng_btsocket_rfcomm_receive_pn()
2859 pn->credits, pn->mtu); in ng_btsocket_rfcomm_receive_pn()
2863 pn->credits = RFCOMM_DEFAULT_CREDITS; in ng_btsocket_rfcomm_receive_pn()
2866 pn->credits = 0; in ng_btsocket_rfcomm_receive_pn()
[all …]
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dhtc.c115 int credits, ret = 0; in ath10k_htc_consume_credit() local
120 credits = DIV_ROUND_UP(len, ep->tx_credit_size); in ath10k_htc_consume_credit()
123 if (ep->tx_credits < credits) { in ath10k_htc_consume_credit()
126 eid, credits, ep->tx_credits, consume); in ath10k_htc_consume_credit()
132 ep->tx_credits -= credits; in ath10k_htc_consume_credit()
135 eid, credits, ep->tx_credits); in ath10k_htc_consume_credit()
148 int credits; in ath10k_htc_release_credit() local
153 credits = DIV_ROUND_UP(len, ep->tx_credit_size); in ath10k_htc_release_credit()
155 ep->tx_credits += credits; in ath10k_htc_release_credit()
158 eid, credits, ep->tx_credits); in ath10k_htc_release_credit()
[all …]
H A Dhtc.h225 u8 credits; member
/freebsd/sys/dev/cxgb/
H A Dcxgb_sge.c768 q->credits++; in refill_fl()
793 while (q->credits--) { in free_rx_bufs()
819 refill_fl(adap, fl, min(16U, fl->size - fl->credits)); in __refill_fl()
825 uint32_t reclaimable = fl->size - fl->credits; in __refill_fl_lt()
852 q->credits++; in recycle_rx_buf()
977 refill_rx = ((qs->fl[0].credits < qs->fl[0].size) || in sge_timer_cb()
978 (qs->fl[1].credits < qs->fl[1].size)); in sge_timer_cb()
1041 refill_rspq(adapter_t *sc, const struct sge_rspq *q, u_int credits) in refill_rspq() argument
1046 V_RSPQ(q->cntxt_id) | V_CREDITS(credits)); in refill_rspq()
1082 if (qs->fl[0].credits < qs->fl[0].size - 16) in sge_timer_reclaim()
[all …]
H A Dcxgb_adapter.h171 uint32_t credits; member
204 uint32_t credits; member
/freebsd/sys/dev/iavf/
H A Diavf_txrx_iflib.c480 int head, credits; in iavf_isc_txd_credits_update_hwb() local
485 credits = head - txr->tx_cidx_processed; in iavf_isc_txd_credits_update_hwb()
486 if (credits < 0) in iavf_isc_txd_credits_update_hwb()
487 credits += scctx->isc_ntxd[0]; in iavf_isc_txd_credits_update_hwb()
491 return (credits); in iavf_isc_txd_credits_update_hwb()
/freebsd/contrib/nvi/regex/
H A DCOPYRIGHT14 credits must appear in the documentation.
18 ever read sources, credits must appear in the documentation.
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DCOPYRIGHT.regex16 credits must appear in the documentation.
20 ever read sources, credits must appear in the documentation.
/freebsd/lib/libc/regex/
H A DCOPYRIGHT14 credits must appear in the documentation.
18 ever read sources, credits must appear in the documentation.
/freebsd/sys/dev/ixl/
H A Dixl_txrx.c468 int head, credits; in ixl_isc_txd_credits_update_hwb() local
473 credits = head - txr->tx_cidx_processed; in ixl_isc_txd_credits_update_hwb()
474 if (credits < 0) in ixl_isc_txd_credits_update_hwb()
475 credits += scctx->isc_ntxd[0]; in ixl_isc_txd_credits_update_hwb()
479 return (credits); in ixl_isc_txd_credits_update_hwb()
/freebsd/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_cma.c179 atomic_set(&ssk->tx_ring.credits, ssk->max_bufs); in sdp_connect_handler()
211 atomic_set(&ssk->tx_ring.credits, ssk->max_bufs); in sdp_response_handler()
H A Dsdp.h279 atomic_t credits; member
280 #define tx_credits(ssk) (atomic_read(&ssk->tx_ring.credits))
/freebsd/sys/netgraph/bluetooth/include/
H A Dng_btsocket_rfcomm.h179 u_int8_t credits; member
/freebsd/sys/dev/sfxge/common/
H A Def10_rx.c893 uint32_t credits; in ef10_rx_qpush_ps_credits() local
905 credits = MIN(rxq_state->eers_rx_packed_stream_credits, in ef10_rx_qpush_ps_credits()
911 ERF_DZ_RX_DESC_MAGIC_DATA, credits); in ef10_rx_qpush_ps_credits()
/freebsd/contrib/ldns/
H A Dax_python_devel.m4223 # credits goes to momjian, I think. I'd like to put the right name
224 # in the credits, if someone can point me in the right direction... ?
/freebsd/sys/contrib/openzfs/config/
H A Dax_python_devel.m4302 # credits goes to momjian, I think. I'd like to put the right name
303 # in the credits, if someone can point me in the right direction... ?

12