Searched refs:GSTA_GPIO_PER_BLOCK (Results 1 – 2 of 2) sorted by relevance
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()94 u32 bit = BIT(nr % GSTA_GPIO_PER_BLOCK); in gsta_gpio_direction_input()148 u32 bit = BIT(nr % GSTA_GPIO_PER_BLOCK); in gsta_set_config()216 u32 bit = BIT(nr % GSTA_GPIO_PER_BLOCK); in gsta_irq_disable()239 u32 bit = BIT(nr % GSTA_GPIO_PER_BLOCK); in gsta_irq_enable()[all …]
43 #define GSTA_GPIO_PER_BLOCK 32 macro45 #define GSTA_NR_GPIO (GSTA_GPIO_PER_BLOCK * GSTA_NR_BLOCKS)
Completed in 9 milliseconds