Lines Matching refs:base
100 void __iomem *base;
113 static inline void usbtll_write(void __iomem *base, u32 reg, u32 val)
115 writel_relaxed(val, base + reg);
118 static inline u32 usbtll_read(void __iomem *base, u32 reg)
120 return readl_relaxed(base + reg);
123 static inline void usbtll_writeb(void __iomem *base, u32 reg, u8 val)
125 writeb_relaxed(val, base + reg);
128 static inline u8 usbtll_readb(void __iomem *base, u32 reg)
130 return readb_relaxed(base + reg);
210 void __iomem *base;
216 base = devm_ioremap_resource(dev, res);
217 if (IS_ERR(base))
218 return PTR_ERR(base);
223 ver = usbtll_read(base, OMAP_USBTLL_REVISION);
248 tll->base = base;
335 void __iomem *base = tll->base;
338 reg = usbtll_read(base, OMAP_TLL_SHARED_CONF);
344 usbtll_write(base, OMAP_TLL_SHARED_CONF, reg);
348 reg = usbtll_read(base, OMAP_TLL_CHANNEL_CONF(i));
377 usbtll_write(base, OMAP_TLL_CHANNEL_CONF(i), reg);
379 usbtll_writeb(base,