Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpio/
Dgpio-sta2x11.c69 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 …]
/Linux-v4.19/include/linux/mfd/
Dsta2x11-mfd.h55 #define GSTA_GPIO_PER_BLOCK 32 macro
57 #define GSTA_NR_GPIO (GSTA_GPIO_PER_BLOCK * GSTA_NR_BLOCKS)