Lines Matching refs:out_sg
171 struct scatterlist *out_sg; member
414 struct scatterlist *in_sg, struct scatterlist *out_sg, in omap_aes_crypt_dma() argument
425 scatterwalk_start(&dd->out_walk, dd->out_sg); in omap_aes_crypt_dma()
471 tx_out = dmaengine_prep_slave_sg(dd->dma_lch_out, out_sg, out_sg_len, in omap_aes_crypt_dma()
510 err = dma_map_sg(dd->dev, dd->out_sg, dd->out_sg_len, in omap_aes_crypt_dma_start()
518 err = omap_aes_crypt_dma(tfm, dd->in_sg, dd->out_sg, dd->in_sg_len, in omap_aes_crypt_dma_start()
522 dma_unmap_sg(dd->dev, dd->out_sg, dd->out_sg_len, in omap_aes_crypt_dma_start()
593 dd->orig_out = dd->out_sg; in omap_aes_copy_sgs()
603 dd->out_sg = &dd->out_sgl; in omap_aes_copy_sgs()
643 dd->out_sg = req->dst; in omap_aes_handle_queue()
646 omap_aes_check_aligned(dd->out_sg, dd->total)) { in omap_aes_handle_queue()
656 dd->out_sg_len = scatterwalk_bytes_sglen(dd->out_sg, len); in omap_aes_handle_queue()
688 dma_sync_sg_for_device(dd->dev, dd->out_sg, dd->out_sg_len, in omap_aes_done_task()
691 dma_unmap_sg(dd->dev, dd->out_sg, dd->out_sg_len, in omap_aes_done_task()
1025 BUG_ON(!dd->out_sg); in omap_aes_irq()
1027 BUG_ON(_calc_walked(out) > dd->out_sg->length); in omap_aes_irq()
1029 dst = sg_virt(dd->out_sg) + _calc_walked(out); in omap_aes_irq()
1034 if (dd->out_sg->length == _calc_walked(out)) { in omap_aes_irq()
1035 dd->out_sg = sg_next(dd->out_sg); in omap_aes_irq()
1036 if (dd->out_sg) { in omap_aes_irq()
1038 dd->out_sg); in omap_aes_irq()
1039 dst = sg_virt(dd->out_sg) + in omap_aes_irq()