Lines Matching defs:gpio
22 #define PINMUX_OFFSET(gpio) ((gpio) * 4) argument
23 #define PINCONF_OFFSET(gpio) ((gpio) * 4) argument
55 static void gpio_set_bit(uintptr_t base, unsigned int reg, int gpio, bool set) in gpio_set_bit()
70 static bool gpio_get_bit(uintptr_t base, unsigned int reg, int gpio) in gpio_get_bit()
78 static void mux_to_gpio(struct iproc_gpio *g, int gpio) in mux_to_gpio()
86 static void set_direction(int gpio, int direction) in set_direction()
97 static int get_direction(int gpio) in get_direction()
111 static int get_value(int gpio) in get_value()
130 static void set_value(int gpio, int val) in set_value()
143 static int get_pull(int gpio) in get_pull()
171 static void set_pull(int gpio, int pull) in set_pull()