Lines Matching refs:wm8994
30 struct wm8994 *wm8994; member
42 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_request() local
44 switch (wm8994->type) { in wm8994_gpio_request()
65 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_direction_in() local
67 return wm8994_set_bits(wm8994, WM8994_GPIO_1 + offset, in wm8994_gpio_direction_in()
74 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_get() local
77 ret = wm8994_reg_read(wm8994, WM8994_GPIO_1 + offset); in wm8994_gpio_get()
91 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_direction_out() local
96 return wm8994_set_bits(wm8994, WM8994_GPIO_1 + offset, in wm8994_gpio_direction_out()
103 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_set() local
108 wm8994_set_bits(wm8994, WM8994_GPIO_1 + offset, WM8994_GPN_LVL, value); in wm8994_gpio_set()
114 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_to_irq() local
116 return regmap_irq_get_virq(wm8994->irq_data, offset); in wm8994_gpio_to_irq()
178 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_dbg_show() local
197 reg = wm8994_reg_read(wm8994, WM8994_GPIO_1 + i); in wm8994_gpio_dbg_show()
199 dev_err(wm8994->dev, in wm8994_gpio_dbg_show()
250 struct wm8994 *wm8994 = dev_get_drvdata(pdev->dev.parent); in wm8994_gpio_probe() local
251 struct wm8994_pdata *pdata = dev_get_platdata(wm8994->dev); in wm8994_gpio_probe()
260 wm8994_gpio->wm8994 = wm8994; in wm8994_gpio_probe()