Lines Matching defs:wm8994_gpio
25 struct wm8994_gpio {
32 struct wm8994_gpio *wm8994_gpio = gpiochip_get_data(chip);
33 struct wm8994 *wm8994 = wm8994_gpio->wm8994;
55 struct wm8994_gpio *wm8994_gpio = gpiochip_get_data(chip);
56 struct wm8994 *wm8994 = wm8994_gpio->wm8994;
64 struct wm8994_gpio *wm8994_gpio = gpiochip_get_data(chip);
65 struct wm8994 *wm8994 = wm8994_gpio->wm8994;
81 struct wm8994_gpio *wm8994_gpio = gpiochip_get_data(chip);
82 struct wm8994 *wm8994 = wm8994_gpio->wm8994;
93 struct wm8994_gpio *wm8994_gpio = gpiochip_get_data(chip);
94 struct wm8994 *wm8994 = wm8994_gpio->wm8994;
105 struct wm8994_gpio *wm8994_gpio = gpiochip_get_data(chip);
106 struct wm8994 *wm8994 = wm8994_gpio->wm8994;
125 struct wm8994_gpio *wm8994_gpio = gpiochip_get_data(chip);
126 struct wm8994 *wm8994 = wm8994_gpio->wm8994;
189 struct wm8994_gpio *wm8994_gpio = gpiochip_get_data(chip);
190 struct wm8994 *wm8994 = wm8994_gpio->wm8994;
265 struct wm8994_gpio *wm8994_gpio;
268 wm8994_gpio = devm_kzalloc(&pdev->dev, sizeof(*wm8994_gpio),
270 if (wm8994_gpio == NULL)
273 wm8994_gpio->wm8994 = wm8994;
274 wm8994_gpio->gpio_chip = template_chip;
275 wm8994_gpio->gpio_chip.ngpio = WM8994_GPIO_MAX;
276 wm8994_gpio->gpio_chip.parent = &pdev->dev;
278 wm8994_gpio->gpio_chip.base = pdata->gpio_base;
280 wm8994_gpio->gpio_chip.base = -1;
282 ret = devm_gpiochip_add_data(&pdev->dev, &wm8994_gpio->gpio_chip,
283 wm8994_gpio);
290 platform_set_drvdata(pdev, wm8994_gpio);