Lines Matching defs:gpio_chip
20 struct gpio_chip gpio_chip;
23 static int tps65218_gpio_get(struct gpio_chip *gc, unsigned offset)
37 static void tps65218_gpio_set(struct gpio_chip *gc, unsigned offset,
54 static int tps65218_gpio_output(struct gpio_chip *gc, unsigned offset,
62 static int tps65218_gpio_input(struct gpio_chip *gc, unsigned offset)
67 static int tps65218_gpio_request(struct gpio_chip *gc, unsigned offset)
138 static int tps65218_gpio_set_config(struct gpio_chip *gc, unsigned offset,
172 static const struct gpio_chip template_chip = {
197 tps65218_gpio->gpio_chip = template_chip;
198 tps65218_gpio->gpio_chip.parent = &pdev->dev;
200 return devm_gpiochip_add_data(&pdev->dev, &tps65218_gpio->gpio_chip,