Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/edac/
Dxgene_edac.c346 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()