Lines Matching refs:gpio
64 struct gpio_chip gpio; member
81 static int bt8xxgpio_gpio_direction_input(struct gpio_chip *gpio, unsigned nr) in bt8xxgpio_gpio_direction_input() argument
83 struct bt8xxgpio *bg = container_of(gpio, struct bt8xxgpio, gpio); in bt8xxgpio_gpio_direction_input()
102 static int bt8xxgpio_gpio_get(struct gpio_chip *gpio, unsigned nr) in bt8xxgpio_gpio_get() argument
104 struct bt8xxgpio *bg = container_of(gpio, struct bt8xxgpio, gpio); in bt8xxgpio_gpio_get()
115 static int bt8xxgpio_gpio_direction_output(struct gpio_chip *gpio, in bt8xxgpio_gpio_direction_output() argument
118 struct bt8xxgpio *bg = container_of(gpio, struct bt8xxgpio, gpio); in bt8xxgpio_gpio_direction_output()
140 static void bt8xxgpio_gpio_set(struct gpio_chip *gpio, in bt8xxgpio_gpio_set() argument
143 struct bt8xxgpio *bg = container_of(gpio, struct bt8xxgpio, gpio); in bt8xxgpio_gpio_set()
161 struct gpio_chip *c = &bg->gpio; in bt8xxgpio_gpio_setup()
220 err = gpiochip_add(&bg->gpio); in bt8xxgpio_probe()
238 gpiochip_remove(&bg->gpio); in bt8xxgpio_remove()