Home
last modified time | relevance | path

Searched refs:left_bytes (Results 1 – 18 of 18) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/crypto/rockchip/
H A Drk_crypto_core.c81 if (alg_ctx->assoclen && alg_ctx->left_bytes == alg_ctx->total) { in rk_load_data()
123 if (alg_ctx->left_bytes == alg_ctx->total) { in rk_load_data()
132 alg_ctx->left_bytes, alg_ctx->assoclen); in rk_load_data()
138 count = rk_crypto_hw_desc_maxlen(sg_src, alg_ctx->left_bytes, &nents); in rk_load_data()
141 count = min_t(unsigned int, alg_ctx->left_bytes, sg_src->length); in rk_load_data()
145 alg_ctx->left_bytes -= count; in rk_load_data()
170 count = (alg_ctx->left_bytes > rk_dev->vir_max) ? in rk_load_data()
171 rk_dev->vir_max : alg_ctx->left_bytes; in rk_load_data()
175 alg_ctx->assoclen + alg_ctx->total - alg_ctx->left_bytes)) { in rk_load_data()
181 alg_ctx->left_bytes -= count; in rk_load_data()
[all …]
H A Drk3288_crypto.c95 count = min(dev->left_bytes, sg_src->length); in rk_load_data()
96 dev->left_bytes -= count; in rk_load_data()
117 count = (dev->left_bytes > PAGE_SIZE) ? in rk_load_data()
118 PAGE_SIZE : dev->left_bytes; in rk_load_data()
122 dev->total - dev->left_bytes)) { in rk_load_data()
127 dev->left_bytes -= count; in rk_load_data()
H A Drk_crypto_ahash_utils.c27 alg_ctx->left_bytes = 0; in rk_alg_ctx_clear()
371 alg_ctx->left_bytes = nbytes; in rk_ahash_start()
404 CRYPTO_TRACE("left bytes = %u, flag = %d", alg_ctx->left_bytes, rctx->flag); in rk_ahash_crypto_rx()
412 if (alg_ctx->left_bytes) { in rk_ahash_crypto_rx()
H A Drk_crypto_skcipher_utils.c260 CRYPTO_TRACE("left_bytes = %u\n", alg_ctx->left_bytes); in rk_ablk_rx()
266 if (alg_ctx->left_bytes) { in rk_ablk_rx()
336 alg_ctx->left_bytes = req->cryptlen; in rk_ablk_start()
458 alg_ctx->left_bytes = alg_ctx->total; in rk_aead_start()
H A Drk_crypto_v1_ahash.c253 alg_ctx->left_bytes = req->nbytes; in rk_ahash_start()
285 CRYPTO_TRACE("left_bytes = %u\n", alg_ctx->left_bytes); in rk_ahash_crypto_rx()
291 if (alg_ctx->left_bytes) { in rk_ahash_crypto_rx()
H A Drk_crypto_v1_skcipher.c274 alg_ctx->left_bytes = req->cryptlen; in rk_ablk_start()
343 CRYPTO_TRACE("left_bytes = %u\n", alg_ctx->left_bytes); in rk_ablk_rx()
349 if (alg_ctx->left_bytes) { in rk_ablk_rx()
H A Drk_crypto_v3_ahash.c190 alg_ctx->total, alg_ctx->left_bytes, alg_ctx->count); in rk_ahash_crypto_complete()
310 if (alg_ctx->total == alg_ctx->left_bytes + alg_ctx->count) in rk_ahash_dma_start()
340 if (is_final && alg_ctx->left_bytes == 0) in rk_ahash_dma_start()
H A Drk3288_crypto_skcipher.c276 dev->left_bytes = req->cryptlen; in rk_ablk_start()
348 dev->total - dev->left_bytes - in rk_ablk_rx()
354 if (dev->left_bytes) { in rk_ablk_rx()
H A Drk_crypto_v2_ahash.c123 alg_ctx->total, alg_ctx->left_bytes, alg_ctx->count); in rk_ahash_crypto_complete()
264 if (is_final && alg_ctx->left_bytes == 0) in rk_ahash_dma_start()
H A Drk3288_crypto_ahash.c201 dev->left_bytes = req->nbytes; in rk_ahash_start()
237 if (dev->left_bytes) { in rk_ahash_crypto_rx()
H A Drk3288_crypto.h208 unsigned int left_bytes; member
H A Drk_crypto_core.h153 unsigned int left_bytes; member
H A Drk_crypto_v2_skcipher.c215 alg_ctx->total, alg_ctx->left_bytes, alg_ctx->count); in rk_crypto_complete()
H A Drk_crypto_v3_skcipher.c214 alg_ctx->total, alg_ctx->left_bytes, alg_ctx->count); in rk_crypto_complete()
/OK3568_Linux_fs/external/mpp/mpp/hal/vpu/h263d/
H A Dhal_h263d_vdpu2.c83 RK_U32 left_bytes = stream_length - consumed_bytes_align; in vpu2_h263d_setup_regs_by_syntax() local
90 regs->reg51_stream_info.sw_stream_len = left_bytes; in vpu2_h263d_setup_regs_by_syntax()
H A Dhal_h263d_vdpu1.c83 RK_U32 left_bytes = stream_length - consumed_bytes_align; in vpu1_h263d_setup_regs_by_syntax() local
89 regs->SwReg06.sw_stream_len = left_bytes; in vpu1_h263d_setup_regs_by_syntax()
/OK3568_Linux_fs/external/mpp/mpp/hal/vpu/mpg4d/
H A Dhal_m4vd_vdpu1.c121 RK_U32 left_bytes = stream_length - consumed_bytes_align; in vdpu1_mpg4d_setup_regs_by_syntax() local
127 regs->SwReg06.sw_stream_len = left_bytes; in vdpu1_mpg4d_setup_regs_by_syntax()
H A Dhal_m4vd_vdpu2.c119 RK_U32 left_bytes = stream_length - consumed_bytes_align; in vdpu2_mpg4d_setup_regs_by_syntax() local
125 regs->reg51_stream_info.sw_stream_len = left_bytes; in vdpu2_mpg4d_setup_regs_by_syntax()