Lines Matching refs:wm8350
19 #include <linux/mfd/wm8350/core.h>
20 #include <linux/mfd/wm8350/gpio.h>
23 struct wm8350 *wm8350;
30 struct wm8350 *wm8350 = wm8350_gpio->wm8350;
32 return wm8350_set_bits(wm8350, WM8350_GPIO_CONFIGURATION_I_O,
39 struct wm8350 *wm8350 = wm8350_gpio->wm8350;
42 ret = wm8350_reg_read(wm8350, WM8350_GPIO_LEVEL);
55 struct wm8350 *wm8350 = wm8350_gpio->wm8350;
58 wm8350_set_bits(wm8350, WM8350_GPIO_LEVEL, 1 << offset);
60 wm8350_clear_bits(wm8350, WM8350_GPIO_LEVEL, 1 << offset);
67 struct wm8350 *wm8350 = wm8350_gpio->wm8350;
70 ret = wm8350_clear_bits(wm8350, WM8350_GPIO_CONFIGURATION_I_O,
84 struct wm8350 *wm8350 = wm8350_gpio->wm8350;
86 if (!wm8350->irq_base)
89 return wm8350->irq_base + WM8350_IRQ_GPIO(offset);
93 .label = "wm8350",
105 struct wm8350 *wm8350 = dev_get_drvdata(pdev->dev.parent);
106 struct wm8350_platform_data *pdata = dev_get_platdata(wm8350->dev);
115 wm8350_gpio->wm8350 = wm8350;
137 .driver.name = "wm8350-gpio",
156 MODULE_ALIAS("platform:wm8350-gpio");