Lines Matching refs:out_sg
153 struct scatterlist *out_sg; member
377 struct scatterlist *in_sg, struct scatterlist *out_sg, in omap_des_crypt_dma() argument
388 scatterwalk_start(&dd->out_walk, dd->out_sg); in omap_des_crypt_dma()
434 tx_out = dmaengine_prep_slave_sg(dd->dma_lch_out, out_sg, out_sg_len, in omap_des_crypt_dma()
473 err = dma_map_sg(dd->dev, dd->out_sg, dd->out_sg_len, in omap_des_crypt_dma_start()
481 err = omap_des_crypt_dma(tfm, dd->in_sg, dd->out_sg, dd->in_sg_len, in omap_des_crypt_dma_start()
485 dma_unmap_sg(dd->dev, dd->out_sg, dd->out_sg_len, in omap_des_crypt_dma_start()
544 dd->out_sg = req->dst; in omap_des_prepare_req()
557 ret = omap_crypto_align_sg(&dd->out_sg, dd->total, DES_BLOCK_SIZE, in omap_des_prepare_req()
567 dd->out_sg_len = sg_nents_for_len(dd->out_sg, dd->total); in omap_des_prepare_req()
604 dma_sync_sg_for_device(dd->dev, dd->out_sg, dd->out_sg_len, in omap_des_done_task()
607 dma_unmap_sg(dd->dev, dd->out_sg, dd->out_sg_len, in omap_des_done_task()
878 BUG_ON(!dd->out_sg); in omap_des_irq()
880 BUG_ON(_calc_walked(out) > dd->out_sg->length); in omap_des_irq()
882 dst = sg_virt(dd->out_sg) + _calc_walked(out); in omap_des_irq()
887 if (dd->out_sg->length == _calc_walked(out)) { in omap_des_irq()
888 dd->out_sg = sg_next(dd->out_sg); in omap_des_irq()
889 if (dd->out_sg) { in omap_des_irq()
891 dd->out_sg); in omap_des_irq()
892 dst = sg_virt(dd->out_sg) + in omap_des_irq()