| /OK3568_Linux_fs/kernel/drivers/crypto/rockchip/ |
| H A D | rk_crypto_core.c | 81 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 D | rk3288_crypto.c | 95 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 D | rk_crypto_ahash_utils.c | 27 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 D | rk_crypto_skcipher_utils.c | 260 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 D | rk_crypto_v1_ahash.c | 253 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 D | rk_crypto_v1_skcipher.c | 274 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 D | rk_crypto_v3_ahash.c | 190 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 D | rk3288_crypto_skcipher.c | 276 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 D | rk_crypto_v2_ahash.c | 123 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 D | rk3288_crypto_ahash.c | 201 dev->left_bytes = req->nbytes; in rk_ahash_start() 237 if (dev->left_bytes) { in rk_ahash_crypto_rx()
|
| H A D | rk3288_crypto.h | 208 unsigned int left_bytes; member
|
| H A D | rk_crypto_core.h | 153 unsigned int left_bytes; member
|
| H A D | rk_crypto_v2_skcipher.c | 215 alg_ctx->total, alg_ctx->left_bytes, alg_ctx->count); in rk_crypto_complete()
|
| H A D | rk_crypto_v3_skcipher.c | 214 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 D | hal_h263d_vdpu2.c | 83 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 D | hal_h263d_vdpu1.c | 83 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 D | hal_m4vd_vdpu1.c | 121 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 D | hal_m4vd_vdpu2.c | 119 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()
|