Lines Matching refs:wm8350_gpio
28 struct wm8350_gpio_data *wm8350_gpio = gpiochip_get_data(chip);
29 struct wm8350 *wm8350 = wm8350_gpio->wm8350;
37 struct wm8350_gpio_data *wm8350_gpio = gpiochip_get_data(chip);
38 struct wm8350 *wm8350 = wm8350_gpio->wm8350;
53 struct wm8350_gpio_data *wm8350_gpio = gpiochip_get_data(chip);
54 struct wm8350 *wm8350 = wm8350_gpio->wm8350;
65 struct wm8350_gpio_data *wm8350_gpio = gpiochip_get_data(chip);
66 struct wm8350 *wm8350 = wm8350_gpio->wm8350;
82 struct wm8350_gpio_data *wm8350_gpio = gpiochip_get_data(chip);
83 struct wm8350 *wm8350 = wm8350_gpio->wm8350;
106 struct wm8350_gpio_data *wm8350_gpio;
108 wm8350_gpio = devm_kzalloc(&pdev->dev, sizeof(*wm8350_gpio),
110 if (wm8350_gpio == NULL)
113 wm8350_gpio->wm8350 = wm8350;
114 wm8350_gpio->gpio_chip = template_chip;
115 wm8350_gpio->gpio_chip.ngpio = 13;
116 wm8350_gpio->gpio_chip.parent = &pdev->dev;
118 wm8350_gpio->gpio_chip.base = pdata->gpio_base;
120 wm8350_gpio->gpio_chip.base = -1;
122 return devm_gpiochip_add_data(&pdev->dev, &wm8350_gpio->gpio_chip, wm8350_gpio);