Lines Matching refs:wm8350_gpio

33 	struct wm8350_gpio_data *wm8350_gpio = gpiochip_get_data(chip);  in wm8350_gpio_direction_in()  local
34 struct wm8350 *wm8350 = wm8350_gpio->wm8350; in wm8350_gpio_direction_in()
42 struct wm8350_gpio_data *wm8350_gpio = gpiochip_get_data(chip); in wm8350_gpio_get() local
43 struct wm8350 *wm8350 = wm8350_gpio->wm8350; in wm8350_gpio_get()
58 struct wm8350_gpio_data *wm8350_gpio = gpiochip_get_data(chip); in wm8350_gpio_set() local
59 struct wm8350 *wm8350 = wm8350_gpio->wm8350; in wm8350_gpio_set()
70 struct wm8350_gpio_data *wm8350_gpio = gpiochip_get_data(chip); in wm8350_gpio_direction_out() local
71 struct wm8350 *wm8350 = wm8350_gpio->wm8350; in wm8350_gpio_direction_out()
87 struct wm8350_gpio_data *wm8350_gpio = gpiochip_get_data(chip); in wm8350_gpio_to_irq() local
88 struct wm8350 *wm8350 = wm8350_gpio->wm8350; in wm8350_gpio_to_irq()
111 struct wm8350_gpio_data *wm8350_gpio; in wm8350_gpio_probe() local
114 wm8350_gpio = devm_kzalloc(&pdev->dev, sizeof(*wm8350_gpio), in wm8350_gpio_probe()
116 if (wm8350_gpio == NULL) in wm8350_gpio_probe()
119 wm8350_gpio->wm8350 = wm8350; in wm8350_gpio_probe()
120 wm8350_gpio->gpio_chip = template_chip; in wm8350_gpio_probe()
121 wm8350_gpio->gpio_chip.ngpio = 13; in wm8350_gpio_probe()
122 wm8350_gpio->gpio_chip.parent = &pdev->dev; in wm8350_gpio_probe()
124 wm8350_gpio->gpio_chip.base = pdata->gpio_base; in wm8350_gpio_probe()
126 wm8350_gpio->gpio_chip.base = -1; in wm8350_gpio_probe()
128 ret = devm_gpiochip_add_data(&pdev->dev, &wm8350_gpio->gpio_chip, in wm8350_gpio_probe()
129 wm8350_gpio); in wm8350_gpio_probe()
135 platform_set_drvdata(pdev, wm8350_gpio); in wm8350_gpio_probe()