Home
last modified time | relevance | path

Searched refs:sgl_len (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/chelsio/
Dchcr_core.h118 static inline unsigned int sgl_len(unsigned int n) in sgl_len() function
Dchcr_algo.c835 (sgl_len(nents) * 8); in create_cipher_wr()
1593 param->sg_len, 16) : (sgl_len(nents) * 8); in create_hash_wr()
2489 : (sgl_len(snents) * 8); in create_authenc_wr()
3085 (sgl_len(snents) * 8); in create_aead_ccm_wr()
3179 (sgl_len(snents) * 8); in create_gcm_wr()
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c341 int sgl_len = (3 * i) / 2 + (i & 1); in init_wr_tab() local
343 sgl_len += 3; in init_wr_tab()
344 skb_wrs[i] = (sgl_len <= wr_len in init_wr_tab()
345 ? 1 : 1 + (sgl_len - 2) / (wr_len - 1)); in init_wr_tab()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c687 static inline unsigned int sgl_len(unsigned int n) in sgl_len() function
780 flits = sgl_len(skb_shinfo(skb)->nr_frags + 1); in calc_tx_flits()
1804 flits = sgl_len(skb_shinfo(skb)->nr_frags + 1); in t4vf_calc_tx_flits()
2184 nsgl = sgl_len(skb_shinfo(skb)->nr_frags + 1); in ethofld_calc_tx_flits()
2186 nsgl = sgl_len(skb_shinfo(skb)->nr_frags); in ethofld_calc_tx_flits()
2188 nsgl = sgl_len(1); in ethofld_calc_tx_flits()
2890 return flits + sgl_len(cnt); in calc_tx_flits_ofld()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/
Dsge.c749 static inline unsigned int sgl_len(unsigned int n) in sgl_len() function
951 flits = sgl_len(skb_shinfo(skb)->nr_frags + 1) + 2; in calc_tx_descs()
1686 return flits_to_desc(flits + sgl_len(cnt)); in calc_tx_descs_ofld()
3101 flits_to_desc(sgl_len(MAX_SKB_FRAGS + 1) + 3); in t3_sge_alloc_qset()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
Dchcr_ipsec.c389 flits = sgl_len(skb_shinfo(skb)->nr_frags + 1); in calc_tx_sec_flits()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_io.c40 return sgl_len(cnt) * 8; in data_sgl_len()
588 return flits + sgl_len(cnt); in calc_tx_flits()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c789 static inline unsigned int sgl_len(unsigned int n) in sgl_len() function
873 flits = sgl_len(skb_shinfo(skb)->nr_frags + 1); in calc_tx_flits()
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c561 static inline unsigned int sgl_len(unsigned int n) in sgl_len() function
585 return flits + sgl_len(cnt); in calc_tx_flits_ofld()