Searched refs:wm831x_gpio (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/gpio/
H A Dgpio-wm831x.c28 struct wm831x_gpio { struct
33 static inline struct wm831x_gpio *to_wm831x_gpio(struct gpio_chip *chip) to_wm831x_gpio()
35 return container_of(chip, struct wm831x_gpio, gpio_chip); to_wm831x_gpio()
40 struct wm831x_gpio *wm831x_gpio = to_wm831x_gpio(chip); wm831x_gpio_direction_in() local
41 struct wm831x *wm831x = wm831x_gpio->wm831x; wm831x_gpio_direction_in()
54 struct wm831x_gpio *wm831x_gpio = to_wm831x_gpio(chip); wm831x_gpio_get() local
55 struct wm831x *wm831x = wm831x_gpio->wm831x; wm831x_gpio_get()
70 struct wm831x_gpio *wm831x_gpio = to_wm831x_gpio(chip); wm831x_gpio_set() local
71 struct wm831x *wm831x = wm831x_gpio->wm831x; wm831x_gpio_set()
80 struct wm831x_gpio *wm831x_gpio = to_wm831x_gpio(chip); wm831x_gpio_direction_out() local
81 struct wm831x *wm831x = wm831x_gpio->wm831x; wm831x_gpio_direction_out()
102 struct wm831x_gpio *wm831x_gpio = to_wm831x_gpio(chip); wm831x_gpio_to_irq() local
103 struct wm831x *wm831x = wm831x_gpio->wm831x; wm831x_gpio_to_irq()
112 struct wm831x_gpio *wm831x_gpio = to_wm831x_gpio(chip); wm831x_gpio_set_debounce() local
113 struct wm831x *wm831x = wm831x_gpio->wm831x; wm831x_gpio_set_debounce()
143 struct wm831x_gpio *wm831x_gpio = to_wm831x_gpio(chip); wm831x_gpio_dbg_show() local
144 struct wm831x *wm831x = wm831x_gpio->wm831x; wm831x_gpio_dbg_show()
250 struct wm831x_gpio *wm831x_gpio; wm831x_gpio_probe() local
253 wm831x_gpio = devm_kzalloc(&pdev->dev, sizeof(*wm831x_gpio), wm831x_gpio_probe()
255 if (wm831x_gpio == NULL) wm831x_gpio_probe()
258 wm831x_gpio->wm831x = wm831x; wm831x_gpio_probe()
259 wm831x_gpio->gpio_chip = template_chip; wm831x_gpio_probe()
260 wm831x_gpio->gpio_chip.ngpio = wm831x->num_gpio; wm831x_gpio_probe()
261 wm831x_gpio->gpio_chip.dev = &pdev->dev; wm831x_gpio_probe()
263 wm831x_gpio->gpio_chip.base = pdata->gpio_base; wm831x_gpio_probe()
265 wm831x_gpio->gpio_chip.base = -1; wm831x_gpio_probe()
267 ret = gpiochip_add(&wm831x_gpio->gpio_chip); wm831x_gpio_probe()
273 platform_set_drvdata(pdev, wm831x_gpio); wm831x_gpio_probe()
280 struct wm831x_gpio *wm831x_gpio = platform_get_drvdata(pdev); wm831x_gpio_remove() local
282 gpiochip_remove(&wm831x_gpio->gpio_chip); wm831x_gpio_remove()

Completed in 108 milliseconds