Home
last modified time | relevance | path

Searched refs:twl6040gpo_chip (Results 1 – 1 of 1) sorted by relevance

/linux-4.1.27/drivers/gpio/
Dgpio-twl6040.c35 static struct gpio_chip twl6040gpo_chip; variable
74 static struct gpio_chip twl6040gpo_chip = { variable
91 twl6040gpo_chip.base = -1; in gpo_twl6040_probe()
94 twl6040gpo_chip.ngpio = 3; /* twl6040 have 3 GPO */ in gpo_twl6040_probe()
96 twl6040gpo_chip.ngpio = 1; /* twl6041 have 1 GPO */ in gpo_twl6040_probe()
98 twl6040gpo_chip.dev = &pdev->dev; in gpo_twl6040_probe()
100 twl6040gpo_chip.of_node = twl6040_core_dev->of_node; in gpo_twl6040_probe()
103 ret = gpiochip_add(&twl6040gpo_chip); in gpo_twl6040_probe()
106 twl6040gpo_chip.ngpio = 0; in gpo_twl6040_probe()
114 gpiochip_remove(&twl6040gpo_chip); in gpo_twl6040_remove()