• Home
  • Raw
  • Download

Lines Matching refs:wm8350_gpio

38 	struct wm8350_gpio_data *wm8350_gpio = to_wm8350_gpio(chip);  in wm8350_gpio_direction_in()  local
39 struct wm8350 *wm8350 = wm8350_gpio->wm8350; in wm8350_gpio_direction_in()
47 struct wm8350_gpio_data *wm8350_gpio = to_wm8350_gpio(chip); in wm8350_gpio_get() local
48 struct wm8350 *wm8350 = wm8350_gpio->wm8350; in wm8350_gpio_get()
63 struct wm8350_gpio_data *wm8350_gpio = to_wm8350_gpio(chip); in wm8350_gpio_set() local
64 struct wm8350 *wm8350 = wm8350_gpio->wm8350; in wm8350_gpio_set()
75 struct wm8350_gpio_data *wm8350_gpio = to_wm8350_gpio(chip); in wm8350_gpio_direction_out() local
76 struct wm8350 *wm8350 = wm8350_gpio->wm8350; in wm8350_gpio_direction_out()
92 struct wm8350_gpio_data *wm8350_gpio = to_wm8350_gpio(chip); in wm8350_gpio_to_irq() local
93 struct wm8350 *wm8350 = wm8350_gpio->wm8350; in wm8350_gpio_to_irq()
116 struct wm8350_gpio_data *wm8350_gpio; in wm8350_gpio_probe() local
119 wm8350_gpio = devm_kzalloc(&pdev->dev, sizeof(*wm8350_gpio), in wm8350_gpio_probe()
121 if (wm8350_gpio == NULL) in wm8350_gpio_probe()
124 wm8350_gpio->wm8350 = wm8350; in wm8350_gpio_probe()
125 wm8350_gpio->gpio_chip = template_chip; in wm8350_gpio_probe()
126 wm8350_gpio->gpio_chip.ngpio = 13; in wm8350_gpio_probe()
127 wm8350_gpio->gpio_chip.dev = &pdev->dev; in wm8350_gpio_probe()
129 wm8350_gpio->gpio_chip.base = pdata->gpio_base; in wm8350_gpio_probe()
131 wm8350_gpio->gpio_chip.base = -1; in wm8350_gpio_probe()
133 ret = gpiochip_add(&wm8350_gpio->gpio_chip); in wm8350_gpio_probe()
139 platform_set_drvdata(pdev, wm8350_gpio); in wm8350_gpio_probe()
146 struct wm8350_gpio_data *wm8350_gpio = platform_get_drvdata(pdev); in wm8350_gpio_remove() local
148 return gpiochip_remove(&wm8350_gpio->gpio_chip); in wm8350_gpio_remove()