Lines Matching refs:in_sg
185 struct scatterlist *in_sg; member
223 struct scatterlist *in_sg; member
472 dev->nb_in_sg = sg_nents_for_len(dev->in_sg, dev->total); in sahara_hw_descriptor_create()
488 ret = dma_map_sg(dev->device, dev->in_sg, dev->nb_in_sg, in sahara_hw_descriptor_create()
503 sg = dev->in_sg; in sahara_hw_descriptor_create()
546 dma_unmap_sg(dev->device, dev->in_sg, dev->nb_in_sg, in sahara_hw_descriptor_create()
567 dev->in_sg = req->src; in sahara_aes_process()
596 dma_unmap_sg(dev->device, dev->in_sg, dev->nb_in_sg, in sahara_aes_process()
790 dev->in_sg = rctx->in_sg; in sahara_sha_hw_links_create()
792 dev->nb_in_sg = sg_nents_for_len(dev->in_sg, rctx->total); in sahara_sha_hw_links_create()
803 sg = dev->in_sg; in sahara_sha_hw_links_create()
804 ret = dma_map_sg(dev->device, dev->in_sg, dev->nb_in_sg, DMA_TO_DEVICE); in sahara_sha_hw_links_create()
961 rctx->in_sg = rctx->in_sg_chain; in sahara_sha_prepare_request()
967 rctx->in_sg = req->src; in sahara_sha_prepare_request()
969 rctx->in_sg = rctx->in_sg_chain; in sahara_sha_prepare_request()
971 sg_init_one(rctx->in_sg, rctx->rembuf, rctx->buf_cnt); in sahara_sha_prepare_request()
975 rctx->in_sg = req->src; in sahara_sha_prepare_request()
977 req->src = rctx->in_sg; in sahara_sha_prepare_request()
1025 dma_unmap_sg(dev->device, dev->in_sg, dev->nb_in_sg, in sahara_sha_process()