• Home
  • Raw
  • Download

Lines Matching +full:fll1 +full:- +full:lock

37 	struct wm8994 *wm8994 = wm8994_gpio->wm8994;  in wm8994_gpio_request()
39 switch (wm8994->type) { in wm8994_gpio_request()
47 return -EINVAL; in wm8994_gpio_request()
60 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_direction_in()
69 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_get()
86 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_direction_out()
98 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_set()
110 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_set_config()
124 return -ENOTSUPP; in wm8994_gpio_set_config()
130 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_to_irq()
132 return regmap_irq_get_virq(wm8994->irq_data, offset); in wm8994_gpio_to_irq()
141 return "pin-specific"; in wm8994_gpio_fn()
159 return "FLL1 lock"; in wm8994_gpio_fn()
161 return "FLL2 lock"; in wm8994_gpio_fn()
163 return "SRC1 lock"; in wm8994_gpio_fn()
165 return "SRC2 lock"; in wm8994_gpio_fn()
183 return "FLL1 output"; in wm8994_gpio_fn()
185 return "FLL1 output"; in wm8994_gpio_fn()
194 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_dbg_show()
197 for (i = 0; i < chip->ngpio; i++) { in wm8994_gpio_dbg_show()
198 int gpio = i + chip->base; in wm8994_gpio_dbg_show()
211 seq_printf(s, " gpio-%-3d (%-20.20s) ", gpio, label); in wm8994_gpio_dbg_show()
215 dev_err(wm8994->dev, in wm8994_gpio_dbg_show()
241 seq_printf(s, "push-pull "); in wm8994_gpio_dbg_show()
267 struct wm8994 *wm8994 = dev_get_drvdata(pdev->dev.parent); in wm8994_gpio_probe()
268 struct wm8994_pdata *pdata = dev_get_platdata(wm8994->dev); in wm8994_gpio_probe()
272 wm8994_gpio = devm_kzalloc(&pdev->dev, sizeof(*wm8994_gpio), in wm8994_gpio_probe()
275 return -ENOMEM; in wm8994_gpio_probe()
277 wm8994_gpio->wm8994 = wm8994; in wm8994_gpio_probe()
278 wm8994_gpio->gpio_chip = template_chip; in wm8994_gpio_probe()
279 wm8994_gpio->gpio_chip.ngpio = WM8994_GPIO_MAX; in wm8994_gpio_probe()
280 wm8994_gpio->gpio_chip.parent = &pdev->dev; in wm8994_gpio_probe()
281 if (pdata && pdata->gpio_base) in wm8994_gpio_probe()
282 wm8994_gpio->gpio_chip.base = pdata->gpio_base; in wm8994_gpio_probe()
284 wm8994_gpio->gpio_chip.base = -1; in wm8994_gpio_probe()
286 ret = devm_gpiochip_add_data(&pdev->dev, &wm8994_gpio->gpio_chip, in wm8994_gpio_probe()
289 dev_err(&pdev->dev, "Could not register gpiochip, %d\n", in wm8994_gpio_probe()
300 .driver.name = "wm8994-gpio",
319 MODULE_ALIAS("platform:wm8994-gpio");