Lines Matching refs:wm8994_gpio

25 struct wm8994_gpio {  struct
32 struct wm8994_gpio *wm8994_gpio = gpiochip_get_data(chip); in wm8994_gpio_request() argument
33 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_request()
55 struct wm8994_gpio *wm8994_gpio = gpiochip_get_data(chip); in wm8994_gpio_direction_in() local
56 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_direction_in()
64 struct wm8994_gpio *wm8994_gpio = gpiochip_get_data(chip); in wm8994_gpio_get() local
65 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_get()
81 struct wm8994_gpio *wm8994_gpio = gpiochip_get_data(chip); in wm8994_gpio_direction_out() local
82 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_direction_out()
93 struct wm8994_gpio *wm8994_gpio = gpiochip_get_data(chip); in wm8994_gpio_set() local
94 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_set()
105 struct wm8994_gpio *wm8994_gpio = gpiochip_get_data(chip); in wm8994_gpio_set_config() local
106 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_set_config()
125 struct wm8994_gpio *wm8994_gpio = gpiochip_get_data(chip); in wm8994_gpio_to_irq() local
126 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_to_irq()
189 struct wm8994_gpio *wm8994_gpio = gpiochip_get_data(chip); in wm8994_gpio_dbg_show() local
190 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_dbg_show()
265 struct wm8994_gpio *wm8994_gpio; in wm8994_gpio_probe() local
267 wm8994_gpio = devm_kzalloc(&pdev->dev, sizeof(*wm8994_gpio), in wm8994_gpio_probe()
269 if (wm8994_gpio == NULL) in wm8994_gpio_probe()
272 wm8994_gpio->wm8994 = wm8994; in wm8994_gpio_probe()
273 wm8994_gpio->gpio_chip = template_chip; in wm8994_gpio_probe()
274 wm8994_gpio->gpio_chip.ngpio = WM8994_GPIO_MAX; in wm8994_gpio_probe()
275 wm8994_gpio->gpio_chip.parent = &pdev->dev; in wm8994_gpio_probe()
277 wm8994_gpio->gpio_chip.base = pdata->gpio_base; in wm8994_gpio_probe()
279 wm8994_gpio->gpio_chip.base = -1; in wm8994_gpio_probe()
281 return devm_gpiochip_add_data(&pdev->dev, &wm8994_gpio->gpio_chip, wm8994_gpio); in wm8994_gpio_probe()