Lines Matching defs:wm8994
20 #include <linux/mfd/wm8994/core.h>
21 #include <linux/mfd/wm8994/pdata.h>
22 #include <linux/mfd/wm8994/gpio.h>
23 #include <linux/mfd/wm8994/registers.h>
26 struct wm8994 *wm8994;
33 struct wm8994 *wm8994 = wm8994_gpio->wm8994;
35 switch (wm8994->type) {
56 struct wm8994 *wm8994 = wm8994_gpio->wm8994;
58 return wm8994_set_bits(wm8994, WM8994_GPIO_1 + offset,
65 struct wm8994 *wm8994 = wm8994_gpio->wm8994;
68 ret = wm8994_reg_read(wm8994, WM8994_GPIO_1 + offset);
82 struct wm8994 *wm8994 = wm8994_gpio->wm8994;
87 return wm8994_set_bits(wm8994, WM8994_GPIO_1 + offset,
94 struct wm8994 *wm8994 = wm8994_gpio->wm8994;
99 wm8994_set_bits(wm8994, WM8994_GPIO_1 + offset, WM8994_GPN_LVL, value);
106 struct wm8994 *wm8994 = wm8994_gpio->wm8994;
110 return wm8994_set_bits(wm8994, WM8994_GPIO_1 + offset,
114 return wm8994_set_bits(wm8994, WM8994_GPIO_1 + offset,
126 struct wm8994 *wm8994 = wm8994_gpio->wm8994;
128 return regmap_irq_get_virq(wm8994->irq_data, offset);
190 struct wm8994 *wm8994 = wm8994_gpio->wm8994;
209 reg = wm8994_reg_read(wm8994, WM8994_GPIO_1 + i);
211 dev_err(wm8994->dev,
248 .label = "wm8994",
263 struct wm8994 *wm8994 = dev_get_drvdata(pdev->dev.parent);
264 struct wm8994_pdata *pdata = dev_get_platdata(wm8994->dev);
273 wm8994_gpio->wm8994 = wm8994;
296 .driver.name = "wm8994-gpio",
315 MODULE_ALIAS("platform:wm8994-gpio");