Lines Matching refs:GSTA_GPIO_PER_BLOCK
56 struct gsta_regs __iomem *regs = chip->regs[nr / GSTA_GPIO_PER_BLOCK]; in gsta_gpio_set()
57 u32 bit = BIT(nr % GSTA_GPIO_PER_BLOCK); in gsta_gpio_set()
68 struct gsta_regs __iomem *regs = chip->regs[nr / GSTA_GPIO_PER_BLOCK]; in gsta_gpio_get()
69 u32 bit = BIT(nr % GSTA_GPIO_PER_BLOCK); in gsta_gpio_get()
78 struct gsta_regs __iomem *regs = chip->regs[nr / GSTA_GPIO_PER_BLOCK]; in gsta_gpio_direction_output()
79 u32 bit = BIT(nr % GSTA_GPIO_PER_BLOCK); in gsta_gpio_direction_output()
93 struct gsta_regs __iomem *regs = chip->regs[nr / GSTA_GPIO_PER_BLOCK]; in gsta_gpio_direction_input()
94 u32 bit = BIT(nr % GSTA_GPIO_PER_BLOCK); in gsta_gpio_direction_input()
146 struct gsta_regs __iomem *regs = chip->regs[nr / GSTA_GPIO_PER_BLOCK]; in gsta_set_config()
148 u32 bit = BIT(nr % GSTA_GPIO_PER_BLOCK); in gsta_set_config()
215 struct gsta_regs __iomem *regs = chip->regs[nr / GSTA_GPIO_PER_BLOCK]; in gsta_irq_disable()
216 u32 bit = BIT(nr % GSTA_GPIO_PER_BLOCK); in gsta_irq_disable()
238 struct gsta_regs __iomem *regs = chip->regs[nr / GSTA_GPIO_PER_BLOCK]; in gsta_irq_enable()
239 u32 bit = BIT(nr % GSTA_GPIO_PER_BLOCK); in gsta_irq_enable()
289 base = chip->irq_base + i * GSTA_GPIO_PER_BLOCK; in gsta_gpio_handler()