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 + ((m)->hbm_mc ? 0x814 : \
55 readl((m)->mbase + (i) * (m)->chan_mmio_sz + (offset))
57 readq((m)->mbase + (i) * (m)->chan_mmio_sz + (offset))
59 writel(v, (m)->mbase + (i) * (m)->chan_mmio_sz + (offset))
175 if (!imc->mbase)
190 if (!imc->mbase || !imc->hbm_mc)
220 if (!imc->mbase)
700 void __iomem *mbase;
742 mbase = ioremap(base + off, size);
743 if (!mbase) {
749 d->imc[lmc].mbase = mbase;
752 iounmap(mbase);
753 d->imc[lmc].mbase = NULL;
781 void __iomem *mbase;
828 mbase = ioremap(base + off, I10NM_HBM_IMC_MMIO_SIZE);
829 if (!mbase) {
838 d->imc[lmc].mbase = mbase;
843 iounmap(d->imc[lmc].mbase);
844 d->imc[lmc].mbase = NULL;
978 if (!imc->mbase)