Lines Matching refs:wm8350
18 #include <linux/mfd/wm8350/core.h>
19 #include <linux/mfd/wm8350/gpio.h>
22 struct wm8350 *wm8350;
29 struct wm8350 *wm8350 = wm8350_gpio->wm8350;
31 return wm8350_set_bits(wm8350, WM8350_GPIO_CONFIGURATION_I_O,
38 struct wm8350 *wm8350 = wm8350_gpio->wm8350;
41 ret = wm8350_reg_read(wm8350, WM8350_GPIO_LEVEL);
54 struct wm8350 *wm8350 = wm8350_gpio->wm8350;
57 wm8350_set_bits(wm8350, WM8350_GPIO_LEVEL, 1 << offset);
59 wm8350_clear_bits(wm8350, WM8350_GPIO_LEVEL, 1 << offset);
66 struct wm8350 *wm8350 = wm8350_gpio->wm8350;
69 ret = wm8350_clear_bits(wm8350, WM8350_GPIO_CONFIGURATION_I_O,
83 struct wm8350 *wm8350 = wm8350_gpio->wm8350;
85 if (!wm8350->irq_base)
88 return wm8350->irq_base + WM8350_IRQ_GPIO(offset);
92 .label = "wm8350",
104 struct wm8350 *wm8350 = dev_get_drvdata(pdev->dev.parent);
105 struct wm8350_platform_data *pdata = dev_get_platdata(wm8350->dev);
113 wm8350_gpio->wm8350 = wm8350;
126 .driver.name = "wm8350-gpio",
145 MODULE_ALIAS("platform:wm8350-gpio");