Searched refs:dpaa2_sg_entry (Results 1 – 6 of 6) sorted by relevance
/linux/include/soc/fsl/ |
H A D | dpaa2-fd.h | 289 struct dpaa2_sg_entry { struct 310 static inline dma_addr_t dpaa2_sg_get_addr(const struct dpaa2_sg_entry *sg) in dpaa2_sg_get_addr() argument 320 static inline void dpaa2_sg_set_addr(struct dpaa2_sg_entry *sg, dma_addr_t addr) in dpaa2_sg_set_addr() 325 static inline bool dpaa2_sg_short_len(const struct dpaa2_sg_entry *sg) in dpaa2_sg_short_len() 337 static inline u32 dpaa2_sg_get_len(const struct dpaa2_sg_entry *sg) in dpaa2_sg_get_len() 350 static inline void dpaa2_sg_set_len(struct dpaa2_sg_entry *sg, u32 len) in dpaa2_sg_set_len() 361 static inline u16 dpaa2_sg_get_offset(const struct dpaa2_sg_entry *sg) in dpaa2_sg_get_offset() 371 static inline void dpaa2_sg_set_offset(struct dpaa2_sg_entry *sg, in dpaa2_sg_set_offset() 385 dpaa2_sg_get_format(const struct dpaa2_sg_entry *sg) in dpaa2_sg_get_format() 396 static inline void dpaa2_sg_set_format(struct dpaa2_sg_entry *sg, in dpaa2_sg_set_format() [all …]
|
/linux/drivers/crypto/caam/ |
H A D | sg_sw_qm2.h | 12 static inline void dma_to_qm_sg_one(struct dpaa2_sg_entry *qm_sg_ptr, in dma_to_qm_sg_one() 27 static inline struct dpaa2_sg_entry * 29 struct dpaa2_sg_entry *qm_sg_ptr, u16 offset) in sg_to_qm_sg() 50 struct dpaa2_sg_entry *qm_sg_ptr, in sg_to_qm_sg_last()
|
H A D | caamalg_qi2.h | 116 struct dpaa2_sg_entry sgt[]; 134 struct dpaa2_sg_entry sgt[]; 148 struct dpaa2_sg_entry sgt[];
|
H A D | sg_sw_sec4.h | 30 dma_to_qm_sg_one((struct dpaa2_sg_entry *)sec4_sg_ptr, dma, len, in dma_to_sec4_sg_one() 68 dpaa2_sg_set_final((struct dpaa2_sg_entry *)sec4_sg_ptr, true); in sg_to_sec4_set_last()
|
H A D | caamalg_qi2.c | 372 struct dpaa2_sg_entry *sg_table; in aead_edesc_alloc() 1128 struct dpaa2_sg_entry *sg_table; in skcipher_edesc_alloc() 1184 qm_sg_bytes = qm_sg_ents * sizeof(struct dpaa2_sg_entry); in skcipher_edesc_alloc() 3099 struct dpaa2_sg_entry *qm_sg, in buf_map_to_qm_sg() 3123 struct dpaa2_sg_entry *qm_sg, u32 flag) in ctx_map_to_qm_sg() 3551 struct dpaa2_sg_entry *sg_table; in ahash_update_ctx() 3662 struct dpaa2_sg_entry *sg_table; in ahash_final_ctx() 3734 struct dpaa2_sg_entry *sg_table; in ahash_finup_ctx() 3859 struct dpaa2_sg_entry *sg_table = &edesc->sgt[0]; in ahash_digest() 4003 struct dpaa2_sg_entry *sg_table; in ahash_update_no_ctx() [all …]
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-eth.c | 146 struct dpaa2_sg_entry *sgt; in dpaa2_eth_free_rx_fd() 200 struct dpaa2_sg_entry *sgt) in dpaa2_eth_build_frag_skb() 213 struct dpaa2_sg_entry *sge = &sgt[i]; in dpaa2_eth_build_frag_skb() 872 DPAA2_ETH_SG_ENTRIES_MAX * sizeof(struct dpaa2_sg_entry); in dpaa2_eth_sgt_get() 907 struct dpaa2_sg_entry *sgt; in dpaa2_eth_build_sg_fd() 941 sizeof(struct dpaa2_sg_entry) * num_dma_bufs; in dpaa2_eth_build_sg_fd() 948 sgt = (struct dpaa2_sg_entry *)(sgt_buf + priv->tx_data_offset); in dpaa2_eth_build_sg_fd() 1012 struct dpaa2_sg_entry *sgt; in dpaa2_eth_build_sg_fd_single_buf() 1020 sgt_buf_size = priv->tx_data_offset + sizeof(struct dpaa2_sg_entry); in dpaa2_eth_build_sg_fd_single_buf() 1024 sgt = (struct dpaa2_sg_entry *)(sgt_buf + priv->tx_data_offset); in dpaa2_eth_build_sg_fd_single_buf() [all …]
|