Lines Matching refs:wm8350_gpio
29 struct wm8350_gpio_data *wm8350_gpio = gpiochip_get_data(chip);
30 struct wm8350 *wm8350 = wm8350_gpio->wm8350;
38 struct wm8350_gpio_data *wm8350_gpio = gpiochip_get_data(chip);
39 struct wm8350 *wm8350 = wm8350_gpio->wm8350;
54 struct wm8350_gpio_data *wm8350_gpio = gpiochip_get_data(chip);
55 struct wm8350 *wm8350 = wm8350_gpio->wm8350;
66 struct wm8350_gpio_data *wm8350_gpio = gpiochip_get_data(chip);
67 struct wm8350 *wm8350 = wm8350_gpio->wm8350;
83 struct wm8350_gpio_data *wm8350_gpio = gpiochip_get_data(chip);
84 struct wm8350 *wm8350 = wm8350_gpio->wm8350;
107 struct wm8350_gpio_data *wm8350_gpio;
110 wm8350_gpio = devm_kzalloc(&pdev->dev, sizeof(*wm8350_gpio),
112 if (wm8350_gpio == NULL)
115 wm8350_gpio->wm8350 = wm8350;
116 wm8350_gpio->gpio_chip = template_chip;
117 wm8350_gpio->gpio_chip.ngpio = 13;
118 wm8350_gpio->gpio_chip.parent = &pdev->dev;
120 wm8350_gpio->gpio_chip.base = pdata->gpio_base;
122 wm8350_gpio->gpio_chip.base = -1;
124 ret = devm_gpiochip_add_data(&pdev->dev, &wm8350_gpio->gpio_chip,
125 wm8350_gpio);
131 platform_set_drvdata(pdev, wm8350_gpio);