Lines Matching refs:credits
341 int dlen, int tls_immd, u32 credits, in tls_tx_data_wr() argument
387 FW_TLSTX_DATA_WR_LEN16_V(credits)); in tls_tx_data_wr()
480 int tls_tx_imm, int tls_len, u32 credits) in make_tlstx_data_wr() argument
504 tls_tx_data_wr(sk, skb, tls_len, tls_tx_imm, credits, expn_sz, pdus); in make_tlstx_data_wr()
510 u32 credits, u32 compl) in make_tx_data_wr() argument
525 FW_WR_LEN16_V(credits)); in make_tx_data_wr()
1370 static u32 send_rx_credits(struct chtls_sock *csk, u32 credits) in send_rx_credits() argument
1385 req->credit_dack = cpu_to_be32(RX_CREDITS_V(credits) | in send_rx_credits()
1388 return credits; in send_rx_credits()
1404 u32 credits; in chtls_cleanup_rbuf() local
1414 credits = tp->copied_seq - tp->rcv_wup; in chtls_cleanup_rbuf()
1415 if (unlikely(!credits)) in chtls_cleanup_rbuf()
1422 must_send = credits + 16384 >= tp->rcv_wnd; in chtls_cleanup_rbuf()
1424 if (must_send || credits >= thres) in chtls_cleanup_rbuf()
1425 tp->rcv_wup += send_rx_credits(csk, credits); in chtls_cleanup_rbuf()