Lines Matching refs:wm831x_gpio
24 struct wm831x_gpio { struct
31 struct wm831x_gpio *wm831x_gpio = gpiochip_get_data(chip); in wm831x_gpio_direction_in() local
32 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_direction_in()
45 struct wm831x_gpio *wm831x_gpio = gpiochip_get_data(chip); in wm831x_gpio_get() local
46 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_get()
61 struct wm831x_gpio *wm831x_gpio = gpiochip_get_data(chip); in wm831x_gpio_set() local
62 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_set()
71 struct wm831x_gpio *wm831x_gpio = gpiochip_get_data(chip); in wm831x_gpio_direction_out() local
72 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_direction_out()
93 struct wm831x_gpio *wm831x_gpio = gpiochip_get_data(chip); in wm831x_gpio_to_irq() local
94 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_to_irq()
132 struct wm831x_gpio *wm831x_gpio = gpiochip_get_data(chip); in wm831x_set_config() local
133 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_set_config()
156 struct wm831x_gpio *wm831x_gpio = gpiochip_get_data(chip); in wm831x_gpio_dbg_show() local
157 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_dbg_show()
263 struct wm831x_gpio *wm831x_gpio; in wm831x_gpio_probe() local
267 wm831x_gpio = devm_kzalloc(&pdev->dev, sizeof(*wm831x_gpio), in wm831x_gpio_probe()
269 if (wm831x_gpio == NULL) in wm831x_gpio_probe()
272 wm831x_gpio->wm831x = wm831x; in wm831x_gpio_probe()
273 wm831x_gpio->gpio_chip = template_chip; in wm831x_gpio_probe()
274 wm831x_gpio->gpio_chip.ngpio = wm831x->num_gpio; in wm831x_gpio_probe()
275 wm831x_gpio->gpio_chip.parent = &pdev->dev; in wm831x_gpio_probe()
277 wm831x_gpio->gpio_chip.base = pdata->gpio_base; in wm831x_gpio_probe()
279 wm831x_gpio->gpio_chip.base = -1; in wm831x_gpio_probe()
281 return devm_gpiochip_add_data(&pdev->dev, &wm831x_gpio->gpio_chip, wm831x_gpio); in wm831x_gpio_probe()