Home
last modified time | relevance | path

Searched refs:GSTA_GPIO_PER_BLOCK (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/gpio/
Dgpio-sta2x11.c56 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()
[all …]
/linux-5.19.10/include/linux/mfd/
Dsta2x11-mfd.h43 #define GSTA_GPIO_PER_BLOCK 32 macro
45 #define GSTA_NR_GPIO (GSTA_GPIO_PER_BLOCK * GSTA_NR_BLOCKS)