sec_hw_sgl
static void sec_free_hw_sgl(struct sec_hw_sgl *hw_sgl,
struct sec_hw_sgl *sgl_current, *sgl_next;
static int sec_alloc_and_fill_hw_sgl(struct sec_hw_sgl **sec_sgl,
struct sec_hw_sgl *sgl_current = NULL;
struct sec_hw_sgl *sgl_next;
sizeof(struct sec_hw_sgl), 64, 0);
struct sec_hw_sgl *in;
struct sec_hw_sgl *out;
struct sec_hw_sgl *next;
struct sec_hw_sgl *next;
struct sec_hw_sgl in;
struct sec_hw_sgl out;
struct sec_hw_sgl *src_in, dma_addr_t *hw_sgl_dma,
*hw_sgl_dma = dma_map_single(dev, src_in, sizeof(struct sec_hw_sgl), dma_dir);
dma_unmap_single(dev, src_in, sizeof(struct sec_hw_sgl), dma_dir);
struct sec_hw_sgl *src_in = &req->buf.data_buf.in;
struct sec_hw_sgl *dst_out = &req->buf.data_buf.out;