Lines Matching refs:mcu_csr
136 void __iomem *mcu_csr; member
151 ctx->mcu_csr + MCUESRRA0 + i * MCU_RANK_STRIDE); in xgene_edac_mc_err_inject_write()
193 reg = readl(ctx->mcu_csr + MCUESRR0 + rank * MCU_RANK_STRIDE); in xgene_edac_mc_check()
208 bank = readl(ctx->mcu_csr + MCUEBLRR0 + in xgene_edac_mc_check()
210 col_row = readl(ctx->mcu_csr + MCUERCRR0 + in xgene_edac_mc_check()
212 count = readl(ctx->mcu_csr + MCUSBECNT0 + in xgene_edac_mc_check()
226 writel(0x0, ctx->mcu_csr + MCUEBLRR0 + rank * MCU_RANK_STRIDE); in xgene_edac_mc_check()
227 writel(0x0, ctx->mcu_csr + MCUERCRR0 + rank * MCU_RANK_STRIDE); in xgene_edac_mc_check()
228 writel(0x0, ctx->mcu_csr + MCUSBECNT0 + in xgene_edac_mc_check()
230 writel(reg, ctx->mcu_csr + MCUESRR0 + rank * MCU_RANK_STRIDE); in xgene_edac_mc_check()
234 reg = readl(ctx->mcu_csr + MCUGESR); in xgene_edac_mc_check()
243 writel(reg, ctx->mcu_csr + MCUGESR); in xgene_edac_mc_check()
281 val = readl(ctx->mcu_csr + MCUGECR); in xgene_edac_mc_irq_ctl()
286 writel(val, ctx->mcu_csr + MCUGECR); in xgene_edac_mc_irq_ctl()
289 val = readl(ctx->mcu_csr + MCUGECR); in xgene_edac_mc_irq_ctl()
294 writel(val, ctx->mcu_csr + MCUGECR); in xgene_edac_mc_irq_ctl()
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()