Lines Matching refs:base
23 struct ipu_ch_param __iomem *base;
97 return cpmem->base + ch->num;
102 struct ipu_ch_param __iomem *base = ipu_get_cpmem(ch);
113 val = readl(&base->word[word].data[i]);
116 writel(val, &base->word[word].data[i]);
119 val = readl(&base->word[word].data[i + 1]);
122 writel(val, &base->word[word].data[i + 1]);
128 struct ipu_ch_param __iomem *base = ipu_get_cpmem(ch);
139 val = (readl(&base->word[word].data[i]) >> ofs) & mask;
144 tmp = readl(&base->word[word].data[i + 1]);
231 void __iomem *base = p;
235 writel(0, base + i * sizeof(u32));
952 int ipu_cpmem_init(struct ipu_soc *ipu, struct device *dev, unsigned long base)
963 cpmem->base = devm_ioremap(dev, base, SZ_128K);
964 if (!cpmem->base)
967 dev_dbg(dev, "CPMEM base: 0x%08lx remapped to %p\n",
968 base, cpmem->base);