• Home
  • Raw
  • Download

Lines Matching refs:bufcnt

147 	size_t			bufcnt;  member
634 size_t count = min(length, ctx->buflen - ctx->bufcnt); in omap_sham_append_buffer()
639 memcpy(ctx->buffer + ctx->bufcnt, data, count); in omap_sham_append_buffer()
640 ctx->bufcnt += count; in omap_sham_append_buffer()
710 ctx->bufcnt, ctx->digcnt, final); in omap_sham_update_dma_slow()
712 if (final || (ctx->bufcnt == ctx->buflen && ctx->total)) { in omap_sham_update_dma_slow()
713 count = ctx->bufcnt; in omap_sham_update_dma_slow()
714 ctx->bufcnt = 0; in omap_sham_update_dma_slow()
736 if (ctx->bufcnt || ctx->offset) in omap_sham_update_dma_start()
749 ctx->digcnt, ctx->bufcnt, ctx->total); in omap_sham_update_dma_start()
796 int bufcnt, final; in omap_sham_update_cpu() local
806 ctx->bufcnt, ctx->digcnt, final); in omap_sham_update_cpu()
808 if (final || (ctx->bufcnt == ctx->buflen && ctx->total)) { in omap_sham_update_cpu()
809 bufcnt = ctx->bufcnt; in omap_sham_update_cpu()
810 ctx->bufcnt = 0; in omap_sham_update_cpu()
811 return omap_sham_xmit_cpu(dd, ctx->buffer, bufcnt, final); in omap_sham_update_cpu()
892 ctx->bufcnt = 0; in omap_sham_init()
901 ctx->bufcnt = bs; in omap_sham_init()
937 if ((ctx->bufcnt <= get_block_size(ctx)) || dd->polling_mode) in omap_sham_final_req()
945 err = omap_sham_xmit_dma_map(dd, ctx, ctx->bufcnt, 1); in omap_sham_final_req()
947 err = omap_sham_xmit_cpu(dd, ctx->buffer, ctx->bufcnt, 1); in omap_sham_final_req()
949 ctx->bufcnt = 0; in omap_sham_final_req()
985 dev_dbg(dd->dev, "digcnt: %d, bufcnt: %d\n", ctx->digcnt, ctx->bufcnt); in omap_sham_finish()
1101 if ((ctx->digcnt + ctx->bufcnt + ctx->total) < 9) { in omap_sham_update()
1109 } else if ((ctx->bufcnt + ctx->total <= bs) || in omap_sham_update()
1117 } else if (ctx->bufcnt + ctx->total < ctx->buflen) { in omap_sham_update()
1145 ctx->buffer, ctx->bufcnt, req->result); in omap_sham_final_shash()
1159 if ((ctx->digcnt + ctx->bufcnt) < 9) in omap_sham_final()
1161 else if (ctx->bufcnt) in omap_sham_final()