Searched refs:GSTA_GPIO_PER_BLOCK (Results 1 – 2 of 2) sorted by relevance
69 struct gsta_regs __iomem *regs = chip->regs[nr / GSTA_GPIO_PER_BLOCK]; in gsta_gpio_set()70 u32 bit = BIT(nr % GSTA_GPIO_PER_BLOCK); in gsta_gpio_set()81 struct gsta_regs __iomem *regs = chip->regs[nr / GSTA_GPIO_PER_BLOCK]; in gsta_gpio_get()82 u32 bit = BIT(nr % GSTA_GPIO_PER_BLOCK); in gsta_gpio_get()91 struct gsta_regs __iomem *regs = chip->regs[nr / GSTA_GPIO_PER_BLOCK]; in gsta_gpio_direction_output()92 u32 bit = BIT(nr % GSTA_GPIO_PER_BLOCK); in gsta_gpio_direction_output()106 struct gsta_regs __iomem *regs = chip->regs[nr / GSTA_GPIO_PER_BLOCK]; in gsta_gpio_direction_input()107 u32 bit = BIT(nr % GSTA_GPIO_PER_BLOCK); in gsta_gpio_direction_input()159 struct gsta_regs __iomem *regs = chip->regs[nr / GSTA_GPIO_PER_BLOCK]; in gsta_set_config()161 u32 bit = BIT(nr % GSTA_GPIO_PER_BLOCK); in gsta_set_config()[all …]
55 #define GSTA_GPIO_PER_BLOCK 32 macro57 #define GSTA_NR_GPIO (GSTA_GPIO_PER_BLOCK * GSTA_NR_BLOCKS)