Searched refs:wm8350_gpio (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/gpio/
H A Dgpio-wm8350.c38 struct wm8350_gpio_data *wm8350_gpio = to_wm8350_gpio(chip); wm8350_gpio_direction_in() local
39 struct wm8350 *wm8350 = wm8350_gpio->wm8350; wm8350_gpio_direction_in()
47 struct wm8350_gpio_data *wm8350_gpio = to_wm8350_gpio(chip); wm8350_gpio_get() local
48 struct wm8350 *wm8350 = wm8350_gpio->wm8350; wm8350_gpio_get()
63 struct wm8350_gpio_data *wm8350_gpio = to_wm8350_gpio(chip); wm8350_gpio_set() local
64 struct wm8350 *wm8350 = wm8350_gpio->wm8350; wm8350_gpio_set()
75 struct wm8350_gpio_data *wm8350_gpio = to_wm8350_gpio(chip); wm8350_gpio_direction_out() local
76 struct wm8350 *wm8350 = wm8350_gpio->wm8350; wm8350_gpio_direction_out()
92 struct wm8350_gpio_data *wm8350_gpio = to_wm8350_gpio(chip); wm8350_gpio_to_irq() local
93 struct wm8350 *wm8350 = wm8350_gpio->wm8350; wm8350_gpio_to_irq()
116 struct wm8350_gpio_data *wm8350_gpio; wm8350_gpio_probe() local
119 wm8350_gpio = devm_kzalloc(&pdev->dev, sizeof(*wm8350_gpio), wm8350_gpio_probe()
121 if (wm8350_gpio == NULL) wm8350_gpio_probe()
124 wm8350_gpio->wm8350 = wm8350; wm8350_gpio_probe()
125 wm8350_gpio->gpio_chip = template_chip; wm8350_gpio_probe()
126 wm8350_gpio->gpio_chip.ngpio = 13; wm8350_gpio_probe()
127 wm8350_gpio->gpio_chip.dev = &pdev->dev; wm8350_gpio_probe()
129 wm8350_gpio->gpio_chip.base = pdata->gpio_base; wm8350_gpio_probe()
131 wm8350_gpio->gpio_chip.base = -1; wm8350_gpio_probe()
133 ret = gpiochip_add(&wm8350_gpio->gpio_chip); wm8350_gpio_probe()
139 platform_set_drvdata(pdev, wm8350_gpio); wm8350_gpio_probe()
146 struct wm8350_gpio_data *wm8350_gpio = platform_get_drvdata(pdev); wm8350_gpio_remove() local
148 gpiochip_remove(&wm8350_gpio->gpio_chip); wm8350_gpio_remove()
/linux-4.4.14/include/linux/mfd/wm8350/
H A Dgpio.h352 struct wm8350_gpio { struct
H A Dcore.h616 struct wm8350_gpio gpio;

Completed in 124 milliseconds