Lines Matching refs:final
343 size_t length, int final) in atmel_sha_xmit_cpu() argument
350 ctx->digcnt[1], ctx->digcnt[0], length, final); in atmel_sha_xmit_cpu()
359 if (final) in atmel_sha_xmit_cpu()
373 size_t length1, dma_addr_t dma_addr2, size_t length2, int final) in atmel_sha_xmit_pdc() argument
379 ctx->digcnt[1], ctx->digcnt[0], length1, final); in atmel_sha_xmit_pdc()
397 if (final) in atmel_sha_xmit_pdc()
417 size_t length1, dma_addr_t dma_addr2, size_t length2, int final) in atmel_sha_xmit_dma() argument
424 ctx->digcnt[1], ctx->digcnt[0], length1, final); in atmel_sha_xmit_dma()
465 if (final) in atmel_sha_xmit_dma()
478 size_t length1, dma_addr_t dma_addr2, size_t length2, int final) in atmel_sha_xmit_start() argument
482 dma_addr2, length2, final); in atmel_sha_xmit_start()
485 dma_addr2, length2, final); in atmel_sha_xmit_start()
503 size_t length, int final) in atmel_sha_xmit_dma_map() argument
516 return atmel_sha_xmit_start(dd, ctx->dma_addr, length, 0, 0, final); in atmel_sha_xmit_dma_map()
522 unsigned int final; in atmel_sha_update_dma_slow() local
527 final = (ctx->flags & SHA_FLAGS_FINUP) && !ctx->total; in atmel_sha_update_dma_slow()
530 ctx->bufcnt, ctx->digcnt[1], ctx->digcnt[0], final); in atmel_sha_update_dma_slow()
532 if (final) in atmel_sha_update_dma_slow()
535 if (final || (ctx->bufcnt == ctx->buflen && ctx->total)) { in atmel_sha_update_dma_slow()
538 return atmel_sha_xmit_dma_map(dd, ctx, count, final); in atmel_sha_update_dma_slow()
547 unsigned int length, final, tail; in atmel_sha_update_dma_start() local
582 final = (ctx->flags & SHA_FLAGS_FINUP) && !ctx->total; in atmel_sha_update_dma_start()
585 if (final) { in atmel_sha_update_dma_start()
609 0, final); in atmel_sha_update_dma_start()
623 length, ctx->dma_addr, count, final); in atmel_sha_update_dma_start()
636 0, final); in atmel_sha_update_dma_start()
1013 .final = atmel_sha_final,
1036 .final = atmel_sha_final,
1061 .final = atmel_sha_final,
1086 .final = atmel_sha_final,
1109 .final = atmel_sha_final,