Searched refs:tmp_ctx (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/u-boot/drivers/crypto/rockchip/ |
| H A D | crypto_v2.c | 337 struct rk_hash_ctx *tmp_ctx = (struct rk_hash_ctx *)hw_ctx; in rk_hash_init() local 341 if (!tmp_ctx) in rk_hash_init() 353 tmp_ctx->algo = algo; in rk_hash_init() 358 tmp_ctx->digest_size = 16; in rk_hash_init() 363 tmp_ctx->digest_size = 20; in rk_hash_init() 368 tmp_ctx->digest_size = 32; in rk_hash_init() 373 tmp_ctx->digest_size = 64; in rk_hash_init() 378 tmp_ctx->digest_size = 32; in rk_hash_init() 399 tmp_ctx->magic = RK_HASH_CTX_MAGIC; in rk_hash_init() 483 struct rk_hash_ctx *tmp_ctx = (struct rk_hash_ctx *)ctx; in rk_hash_update() local [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/base/ |
| H A D | mpp_bitread.c | 214 BitReadCtx_t tmp_ctx = *bitctx; in mpp_show_bits() local 217 ret = mpp_read_bits(&tmp_ctx, num_bits, out); in mpp_show_bits() 219 ret = mpp_read_longbits(&tmp_ctx, num_bits, (RK_U32 *)out); in mpp_show_bits() 232 BitReadCtx_t tmp_ctx = *bitctx; in mpp_show_longbits() local 234 ret = mpp_read_longbits(&tmp_ctx, num_bits, out); in mpp_show_longbits()
|
| /OK3568_Linux_fs/kernel/drivers/edac/ |
| H A D | xgene_edac.c | 346 struct xgene_edac_mc_ctx tmp_ctx; in xgene_edac_mc_add() local 351 memset(&tmp_ctx, 0, sizeof(tmp_ctx)); in xgene_edac_mc_add() 352 tmp_ctx.edac = edac; in xgene_edac_mc_add() 362 tmp_ctx.mcu_csr = devm_ioremap_resource(edac->dev, &res); in xgene_edac_mc_add() 363 if (IS_ERR(tmp_ctx.mcu_csr)) { in xgene_edac_mc_add() 365 rc = PTR_ERR(tmp_ctx.mcu_csr); in xgene_edac_mc_add() 370 if (of_property_read_u32(np, "memory-controller", &tmp_ctx.mcu_id)) { in xgene_edac_mc_add() 375 if (!xgene_edac_mc_is_active(&tmp_ctx, tmp_ctx.mcu_id)) { in xgene_edac_mc_add() 386 mci = edac_mc_alloc(tmp_ctx.mcu_id, ARRAY_SIZE(layers), layers, in xgene_edac_mc_add() 394 *ctx = tmp_ctx; /* Copy over resource value */ in xgene_edac_mc_add()
|