Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/fungible/funcore/
Dfun_hci.h501 __be32 sgl_len; member
507 u16 sgl_off, u32 sgl_len, u64 sgl_data) in fun_dataop_gl_init() argument
512 s->sgl_len = cpu_to_be32(sgl_len); in fun_dataop_gl_init()
520 __be32 sgl_len; member
528 __be32 sgl_len; member
536 .sgl_len = cpu_to_be32(_sgl_len), \
/linux-6.1.9/drivers/crypto/chelsio/
Dchcr_core.h117 static inline unsigned int sgl_len(unsigned int n) in sgl_len() function
Dchcr_algo.c828 (sgl_len(nents) * 8); in create_cipher_wr()
1587 param->sg_len, 16) : (sgl_len(nents) * 8); in create_hash_wr()
2483 : (sgl_len(snents) * 8); in create_authenc_wr()
3079 (sgl_len(snents) * 8); in create_aead_ccm_wr()
3173 (sgl_len(snents) * 8); in create_gcm_wr()
/linux-6.1.9/drivers/net/ethernet/fungible/funeth/
Dfuneth_tx.c403 be32_to_cpu(gle->sgl_len), DMA_TO_DEVICE); in fun_unmap_pkt()
407 be32_to_cpu(gle->sgl_len), in fun_unmap_pkt()
412 be32_to_cpu(gle->sgl_len), in fun_unmap_pkt()
/linux-6.1.9/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c343 int sgl_len = (3 * i) / 2 + (i & 1); in init_wr_tab() local
345 sgl_len += 3; in init_wr_tab()
346 skb_wrs[i] = (sgl_len <= wr_len in init_wr_tab()
347 ? 1 : 1 + (sgl_len - 2) / (wr_len - 1)); in init_wr_tab()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den.h149 #define MLX5E_KLM_UMR_WQE_SZ(sgl_len)\ argument
151 (sizeof(struct mlx5_klm) * (sgl_len)))
/linux-6.1.9/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()
1805 flits = sgl_len(skb_shinfo(skb)->nr_frags + 1); in t4vf_calc_tx_flits()
2190 nsgl = sgl_len(skb_shinfo(skb)->nr_frags + 1); in ethofld_calc_tx_flits()
2192 nsgl = sgl_len(skb_shinfo(skb)->nr_frags); in ethofld_calc_tx_flits()
2194 nsgl = sgl_len(1); in ethofld_calc_tx_flits()
2896 return flits + sgl_len(cnt); in calc_tx_flits_ofld()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb3/
Dsge.c750 static inline unsigned int sgl_len(unsigned int n) in sgl_len() function
950 flits = sgl_len(skb_shinfo(skb)->nr_frags + 1) + 2; in calc_tx_descs()
1688 return flits_to_desc(flits + sgl_len(cnt)); in calc_tx_descs_ofld()
3105 flits_to_desc(sgl_len(MAX_SKB_FRAGS + 1) + 3); in t3_sge_alloc_qset()
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
Dchcr_ipsec.c387 flits = sgl_len(skb_shinfo(skb)->nr_frags + 1); in calc_tx_sec_flits()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c563 static inline unsigned int sgl_len(unsigned int n) in sgl_len() function
587 return flits + sgl_len(cnt); in calc_tx_flits_ofld()