Lines Matching refs:membase
35 void __iomem *membase;
50 reg = ioread32(tgpio->membase + offset);
57 iowrite32(reg, tgpio->membase + offset);
73 value = ioread32(tgpio->membase + TGPIOVAL);
110 iowrite32(tgpio->last_ier, tgpio->membase + TGPIO_IER);
122 iowrite32(tgpio->last_ier, tgpio->membase + TGPIO_IER);
138 ver = ioread32(tgpio->membase + TGPIO_VER);
142 lvr = ioread32(tgpio->membase + TGPIO_LVR);
143 flr = ioread32(tgpio->membase + TGPIO_FLR);
145 bflr = ioread32(tgpio->membase + TGPIO_BFLR);
173 iowrite32(lvr, tgpio->membase + TGPIO_LVR);
174 iowrite32(flr, tgpio->membase + TGPIO_FLR);
176 iowrite32(bflr, tgpio->membase + TGPIO_BFLR);
178 iowrite32(1 << offset, tgpio->membase + TGPIO_ICR);
193 ipr = ioread32(tgpio->membase + TGPIO_IPR);
194 iowrite32(ipr, tgpio->membase + TGPIO_ICR);
200 iowrite32(0, tgpio->membase + TGPIO_IER);
205 iowrite32(tgpio->last_ier, tgpio->membase + TGPIO_IER);
237 tgpio->membase = devm_platform_ioremap_resource(pdev, 0);
238 if (IS_ERR(tgpio->membase))
239 return PTR_ERR(tgpio->membase);
261 iowrite32(0x0, tgpio->membase + TGPIO_IER);