Lines Matching refs:wm8994

26 	struct wm8994 *wm8994;  member
33 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_request() local
35 switch (wm8994->type) { in wm8994_gpio_request()
56 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_direction_in() local
58 return wm8994_set_bits(wm8994, WM8994_GPIO_1 + offset, in wm8994_gpio_direction_in()
65 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_get() local
68 ret = wm8994_reg_read(wm8994, WM8994_GPIO_1 + offset); in wm8994_gpio_get()
82 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_direction_out() local
87 return wm8994_set_bits(wm8994, WM8994_GPIO_1 + offset, in wm8994_gpio_direction_out()
94 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_set() local
99 wm8994_set_bits(wm8994, WM8994_GPIO_1 + offset, WM8994_GPN_LVL, value); in wm8994_gpio_set()
106 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_set_config() local
110 return wm8994_set_bits(wm8994, WM8994_GPIO_1 + offset, in wm8994_gpio_set_config()
114 return wm8994_set_bits(wm8994, WM8994_GPIO_1 + offset, in wm8994_gpio_set_config()
126 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_to_irq() local
128 return regmap_irq_get_virq(wm8994->irq_data, offset); in wm8994_gpio_to_irq()
190 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_dbg_show() local
209 reg = wm8994_reg_read(wm8994, WM8994_GPIO_1 + i); in wm8994_gpio_dbg_show()
211 dev_err(wm8994->dev, in wm8994_gpio_dbg_show()
263 struct wm8994 *wm8994 = dev_get_drvdata(pdev->dev.parent); in wm8994_gpio_probe() local
264 struct wm8994_pdata *pdata = dev_get_platdata(wm8994->dev); in wm8994_gpio_probe()
273 wm8994_gpio->wm8994 = wm8994; in wm8994_gpio_probe()