Lines Matching refs:mbase
34 readl((m)->mbase + ((m)->hbm_mc ? 0x80c : 0x2080c) + \
37 readl((m)->mbase + ((m)->hbm_mc ? 0x970 : 0x20970) + \
40 readl((m)->mbase + ((m)->hbm_mc ? 0xef8 : 0x20ef8) + \
43 readl((m)->mbase + ((m)->hbm_mc ? 0x814 : 0x20814) + \
46 readl((m)->mbase + (i) * (m)->chan_mmio_sz + (offset))
48 readq((m)->mbase + (i) * (m)->chan_mmio_sz + (offset))
50 writel(v, (m)->mbase + (i) * (m)->chan_mmio_sz + (offset))
87 if (!imc->mbase) in __enable_retry_rd_err_log()
145 if (!imc->mbase) in show_retry_rd_err_log()
237 void __iomem *mbase; in i10nm_get_ddr_munits() local
284 mbase = ioremap(base + off, size); in i10nm_get_ddr_munits()
285 if (!mbase) { in i10nm_get_ddr_munits()
291 d->imc[i].mbase = mbase; in i10nm_get_ddr_munits()
313 void __iomem *mbase; in i10nm_get_hbm_munits() local
359 mbase = ioremap(base + off, I10NM_HBM_IMC_MMIO_SIZE); in i10nm_get_hbm_munits()
360 if (!mbase) { in i10nm_get_hbm_munits()
369 d->imc[lmc].mbase = mbase; in i10nm_get_hbm_munits()
374 iounmap(d->imc[lmc].mbase); in i10nm_get_hbm_munits()
375 d->imc[lmc].mbase = NULL; in i10nm_get_hbm_munits()
457 if (!imc->mbase) in i10nm_get_dimm_config()