Home
last modified time | relevance | path

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

/linux/drivers/crypto/
H A Domap-des.c43 #define _calc_walked(inout) (dd->inout##_walk.offset - dd->inout##_sg->offset) macro
839 BUG_ON(_calc_walked(in) > dd->in_sg->length); in omap_des_irq()
841 src = sg_virt(dd->in_sg) + _calc_walked(in); in omap_des_irq()
847 if (dd->in_sg->length == _calc_walked(in)) { in omap_des_irq()
853 _calc_walked(in); in omap_des_irq()
872 BUG_ON(_calc_walked(out) > dd->out_sg->length); in omap_des_irq()
874 dst = sg_virt(dd->out_sg) + _calc_walked(out); in omap_des_irq()
879 if (dd->out_sg->length == _calc_walked(out)) { in omap_des_irq()
885 _calc_walked(out); in omap_des_irq()
H A Domap-aes.c874 BUG_ON(_calc_walked(in) > dd->in_sg->length); in omap_aes_irq()
876 src = sg_virt(dd->in_sg) + _calc_walked(in); in omap_aes_irq()
882 if (dd->in_sg->length == _calc_walked(in)) { in omap_aes_irq()
888 _calc_walked(in); in omap_aes_irq()
907 BUG_ON(_calc_walked(out) > dd->out_sg->length); in omap_aes_irq()
909 dst = sg_virt(dd->out_sg) + _calc_walked(out); in omap_aes_irq()
914 if (dd->out_sg->length == _calc_walked(out)) { in omap_aes_irq()
920 _calc_walked(out); in omap_aes_irq()
H A Domap-aes.h17 #define _calc_walked(inout) (dd->inout##_walk.offset - dd->inout##_sg->offset) macro