Home
last modified time | relevance | path

Searched refs:sgtbl (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/crypto/cavium/nitrox/
H A Dnitrox_reqmgr.c106 struct nitrox_sgtable *sgtbl, int map_nents) in create_sg_component() argument
123 sgtbl->sgcomp = sgcomp; in create_sg_component()
125 sg = sgtbl->sg; in create_sg_component()
135 dma = dma_map_single(DEV(ndev), sgtbl->sgcomp, sz_comp, DMA_TO_DEVICE); in create_sg_component()
137 kfree(sgtbl->sgcomp); in create_sg_component()
138 sgtbl->sgcomp = NULL; in create_sg_component()
142 sgtbl->sgcomp_dma = dma; in create_sg_component()
143 sgtbl->sgcomp_len = sz_comp; in create_sg_component()
/OK3568_Linux_fs/kernel/drivers/crypto/rockchip/cryptodev_linux/
H A Drk_cryptodev.c30 struct sg_table *sgtbl; member
353 sg_tbl_in = node_src->sgtbl; in __crypto_fd_run()
367 sg_tbl_out = node_dst->sgtbl; in __crypto_fd_run()
517 map_node->sgtbl = dma_buf_map_attachment(map_node->dma_attach, DMA_BIDIRECTIONAL); in dma_fd_map_for_user()
518 if (IS_ERR(map_node->sgtbl)) { in dma_fd_map_for_user()
519 derr(1, "sg_tbl error! ret = %d", (int)PTR_ERR(map_node->sgtbl)); in dma_fd_map_for_user()
520 map_node->sgtbl = NULL; in dma_fd_map_for_user()
525 map_node->fd_map.mop.phys_addr = map_node->sgtbl->sgl->dma_address; in dma_fd_map_for_user()
535 if (map_node->sgtbl) in dma_fd_map_for_user()
536 dma_buf_unmap_attachment(map_node->dma_attach, map_node->sgtbl, DMA_BIDIRECTIONAL); in dma_fd_map_for_user()
[all …]
/OK3568_Linux_fs/u-boot/include/
H A Dfsl_validate.h259 struct fsl_secboot_sg_table sgtbl[MAX_SG_ENTRIES]; /* SG table */ member