Lines Matching refs:wm8994

27 	struct wm8994 *wm8994;  member
34 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_request() local
36 switch (wm8994->type) { in wm8994_gpio_request()
57 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_direction_in() local
59 return wm8994_set_bits(wm8994, WM8994_GPIO_1 + offset, in wm8994_gpio_direction_in()
66 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_get() local
69 ret = wm8994_reg_read(wm8994, WM8994_GPIO_1 + offset); in wm8994_gpio_get()
83 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_direction_out() local
88 return wm8994_set_bits(wm8994, WM8994_GPIO_1 + offset, in wm8994_gpio_direction_out()
95 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_set() local
100 wm8994_set_bits(wm8994, WM8994_GPIO_1 + offset, WM8994_GPN_LVL, value); in wm8994_gpio_set()
107 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_set_config() local
111 return wm8994_set_bits(wm8994, WM8994_GPIO_1 + offset, in wm8994_gpio_set_config()
115 return wm8994_set_bits(wm8994, WM8994_GPIO_1 + offset, in wm8994_gpio_set_config()
127 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_to_irq() local
129 return regmap_irq_get_virq(wm8994->irq_data, offset); in wm8994_gpio_to_irq()
191 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_dbg_show() local
205 dev_err(wm8994->dev, "Failed to duplicate label\n"); in wm8994_gpio_dbg_show()
212 reg = wm8994_reg_read(wm8994, WM8994_GPIO_1 + i); in wm8994_gpio_dbg_show()
214 dev_err(wm8994->dev, in wm8994_gpio_dbg_show()
266 struct wm8994 *wm8994 = dev_get_drvdata(pdev->dev.parent); in wm8994_gpio_probe() local
267 struct wm8994_pdata *pdata = dev_get_platdata(wm8994->dev); in wm8994_gpio_probe()
275 wm8994_gpio->wm8994 = wm8994; in wm8994_gpio_probe()