Home
last modified time | relevance | path

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

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

Completed in 9 milliseconds