Lines Matching refs:mbase
40 readl((m)->mbase + ((m)->hbm_mc ? 0x80c : \
44 readl((m)->mbase + ((m)->hbm_mc ? 0x970 : 0x20970) + \
47 readl((m)->mbase + ((m)->hbm_mc ? 0xef8 : \
51 readl((m)->mbase + (i) * (m)->chan_mmio_sz + (offset))
53 readq((m)->mbase + (i) * (m)->chan_mmio_sz + (offset))
55 writel(v, (m)->mbase + (i) * (m)->chan_mmio_sz + (offset))
286 if (!imc->mbase)
299 if (!imc->mbase || !imc->hbm_mc || !rrl_hbm[0] || !rrl_hbm[1])
337 if (!imc->mbase)
791 void __iomem *mbase;
833 mbase = ioremap(base + off, size);
834 if (!mbase) {
840 d->imc[lmc].mbase = mbase;
843 iounmap(mbase);
844 d->imc[lmc].mbase = NULL;
874 void __iomem *mbase;
921 mbase = ioremap(base + off, I10NM_HBM_IMC_MMIO_SIZE);
922 if (!mbase) {
931 d->imc[lmc].mbase = mbase;
936 iounmap(d->imc[lmc].mbase);
937 d->imc[lmc].mbase = NULL;
1070 if (!imc->mbase)