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

/linux-4.1.27/drivers/gpio/
H A Dgpio-wm8994.c29 struct wm8994_gpio { struct
34 static inline struct wm8994_gpio *to_wm8994_gpio(struct gpio_chip *chip) to_wm8994_gpio()
36 return container_of(chip, struct wm8994_gpio, gpio_chip); to_wm8994_gpio()
41 struct wm8994_gpio *wm8994_gpio = to_wm8994_gpio(chip); wm8994_gpio_request() local
42 struct wm8994 *wm8994 = wm8994_gpio->wm8994; wm8994_gpio_request()
64 struct wm8994_gpio *wm8994_gpio = to_wm8994_gpio(chip); wm8994_gpio_direction_in() local
65 struct wm8994 *wm8994 = wm8994_gpio->wm8994; wm8994_gpio_direction_in()
73 struct wm8994_gpio *wm8994_gpio = to_wm8994_gpio(chip); wm8994_gpio_get() local
74 struct wm8994 *wm8994 = wm8994_gpio->wm8994; wm8994_gpio_get()
90 struct wm8994_gpio *wm8994_gpio = to_wm8994_gpio(chip); wm8994_gpio_direction_out() local
91 struct wm8994 *wm8994 = wm8994_gpio->wm8994; wm8994_gpio_direction_out()
102 struct wm8994_gpio *wm8994_gpio = to_wm8994_gpio(chip); wm8994_gpio_set() local
103 struct wm8994 *wm8994 = wm8994_gpio->wm8994; wm8994_gpio_set()
113 struct wm8994_gpio *wm8994_gpio = to_wm8994_gpio(chip); wm8994_gpio_to_irq() local
114 struct wm8994 *wm8994 = wm8994_gpio->wm8994; wm8994_gpio_to_irq()
177 struct wm8994_gpio *wm8994_gpio = to_wm8994_gpio(chip); wm8994_gpio_dbg_show() local
178 struct wm8994 *wm8994 = wm8994_gpio->wm8994; wm8994_gpio_dbg_show()
252 struct wm8994_gpio *wm8994_gpio; wm8994_gpio_probe() local
255 wm8994_gpio = devm_kzalloc(&pdev->dev, sizeof(*wm8994_gpio), wm8994_gpio_probe()
257 if (wm8994_gpio == NULL) wm8994_gpio_probe()
260 wm8994_gpio->wm8994 = wm8994; wm8994_gpio_probe()
261 wm8994_gpio->gpio_chip = template_chip; wm8994_gpio_probe()
262 wm8994_gpio->gpio_chip.ngpio = WM8994_GPIO_MAX; wm8994_gpio_probe()
263 wm8994_gpio->gpio_chip.dev = &pdev->dev; wm8994_gpio_probe()
265 wm8994_gpio->gpio_chip.base = pdata->gpio_base; wm8994_gpio_probe()
267 wm8994_gpio->gpio_chip.base = -1; wm8994_gpio_probe()
269 ret = gpiochip_add(&wm8994_gpio->gpio_chip); wm8994_gpio_probe()
276 platform_set_drvdata(pdev, wm8994_gpio); wm8994_gpio_probe()
286 struct wm8994_gpio *wm8994_gpio = platform_get_drvdata(pdev); wm8994_gpio_remove() local
288 gpiochip_remove(&wm8994_gpio->gpio_chip); wm8994_gpio_remove()

Completed in 80 milliseconds