Lines Matching refs:gpio
51 struct gpio_chip gpio; member
96 static int vx855gpio_direction_input(struct gpio_chip *gpio, in vx855gpio_direction_input() argument
99 struct vx855_gpio *vg = container_of(gpio, struct vx855_gpio, gpio); in vx855gpio_direction_input()
121 static int vx855gpio_get(struct gpio_chip *gpio, unsigned int nr) in vx855gpio_get() argument
123 struct vx855_gpio *vg = container_of(gpio, struct vx855_gpio, gpio); in vx855gpio_get()
146 static void vx855gpio_set(struct gpio_chip *gpio, unsigned int nr, in vx855gpio_set() argument
149 struct vx855_gpio *vg = container_of(gpio, struct vx855_gpio, gpio); in vx855gpio_set()
174 static int vx855gpio_direction_output(struct gpio_chip *gpio, in vx855gpio_direction_output() argument
184 vx855gpio_set(gpio, nr, val); in vx855gpio_direction_output()
204 struct gpio_chip *c = &vg->gpio; in vx855gpio_gpio_setup()
262 return gpiochip_add(&vg->gpio); in vx855gpio_probe()
269 gpiochip_remove(&vg->gpio); in vx855gpio_remove()