Lines Matching refs:membase
47 void __iomem *membase; member
61 reg = ioread32(tgpio->membase + offset); in timbgpio_update_bit()
68 iowrite32(reg, tgpio->membase + offset); in timbgpio_update_bit()
84 value = ioread32(tgpio->membase + TGPIOVAL); in timbgpio_gpio_get()
121 iowrite32(tgpio->last_ier, tgpio->membase + TGPIO_IER); in timbgpio_irq_disable()
133 iowrite32(tgpio->last_ier, tgpio->membase + TGPIO_IER); in timbgpio_irq_enable()
149 ver = ioread32(tgpio->membase + TGPIO_VER); in timbgpio_irq_type()
153 lvr = ioread32(tgpio->membase + TGPIO_LVR); in timbgpio_irq_type()
154 flr = ioread32(tgpio->membase + TGPIO_FLR); in timbgpio_irq_type()
156 bflr = ioread32(tgpio->membase + TGPIO_BFLR); in timbgpio_irq_type()
184 iowrite32(lvr, tgpio->membase + TGPIO_LVR); in timbgpio_irq_type()
185 iowrite32(flr, tgpio->membase + TGPIO_FLR); in timbgpio_irq_type()
187 iowrite32(bflr, tgpio->membase + TGPIO_BFLR); in timbgpio_irq_type()
189 iowrite32(1 << offset, tgpio->membase + TGPIO_ICR); in timbgpio_irq_type()
204 ipr = ioread32(tgpio->membase + TGPIO_IPR); in timbgpio_irq()
205 iowrite32(ipr, tgpio->membase + TGPIO_ICR); in timbgpio_irq()
211 iowrite32(0, tgpio->membase + TGPIO_IER); in timbgpio_irq()
216 iowrite32(tgpio->last_ier, tgpio->membase + TGPIO_IER); in timbgpio_irq()
250 tgpio->membase = devm_ioremap_resource(dev, iomem); in timbgpio_probe()
251 if (IS_ERR(tgpio->membase)) in timbgpio_probe()
252 return PTR_ERR(tgpio->membase); in timbgpio_probe()
276 iowrite32(0x0, tgpio->membase + TGPIO_IER); in timbgpio_probe()