Lines Matching defs:offset
45 #define get_reg(offset) ((offset) / NR_GPIOS_PER_REG) argument
46 #define get_shift(offset) ((offset) % NR_GPIOS_PER_REG) argument
47 #define get_mask(offset) (BIT(get_shift(offset))) argument
103 static int stmfx_gpio_get(struct gpio_chip *gc, unsigned int offset) in stmfx_gpio_get()
116 static void stmfx_gpio_set(struct gpio_chip *gc, unsigned int offset, int value) in stmfx_gpio_set()
126 static int stmfx_gpio_get_direction(struct gpio_chip *gc, unsigned int offset) in stmfx_gpio_get_direction()
147 static int stmfx_gpio_direction_input(struct gpio_chip *gc, unsigned int offset) in stmfx_gpio_direction_input()
157 unsigned int offset, int value) in stmfx_gpio_direction_output()
169 unsigned int offset) in stmfx_pinconf_get_pupd()
183 unsigned int offset, u32 pupd) in stmfx_pinconf_set_pupd()
192 unsigned int offset) in stmfx_pinconf_get_type()
206 unsigned int offset, u32 type) in stmfx_pinconf_set_type()
347 struct seq_file *s, unsigned int offset) in stmfx_pinconf_dbg_show()
535 unsigned int offset) in stmfx_pinctrl_irq_toggle_trigger()