Lines Matching refs:wm8350_gpio

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