Home
last modified time | relevance | path

Searched refs:gpio_range (Results 1 – 5 of 5) sorted by relevance

/drivers/staging/iio/adc/
Dad7606_core.c137 gpio_set_value(st->pdata->gpio_range, lval == 10000); in ad7606_store_range()
342 if (gpio_is_valid(st->pdata->gpio_range)) { in ad7606_request_gpios()
343 ret = gpio_request_one(st->pdata->gpio_range, GPIOF_DIR_OUT | in ad7606_request_gpios()
370 if (gpio_is_valid(st->pdata->gpio_range)) in ad7606_request_gpios()
371 gpio_free(st->pdata->gpio_range); in ad7606_request_gpios()
392 if (gpio_is_valid(st->pdata->gpio_range)) in ad7606_free_gpios()
393 gpio_free(st->pdata->gpio_range); in ad7606_free_gpios()
491 if (gpio_is_valid(st->pdata->gpio_range)) in ad7606_probe()
496 if (gpio_is_valid(st->pdata->gpio_range)) in ad7606_probe()
571 if (gpio_is_valid(st->pdata->gpio_range)) in ad7606_suspend()
[all …]
Dad7606.h35 unsigned int gpio_range; member
/drivers/pinctrl/
Dpinmux.c85 struct pinctrl_gpio_range *gpio_range) in pin_request() argument
102 if (gpio_range) { in pin_request()
153 if (gpio_range && ops->gpio_request_enable) in pin_request()
155 status = ops->gpio_request_enable(pctldev, gpio_range, pin); in pin_request()
168 if (gpio_range) { in pin_request()
196 struct pinctrl_gpio_range *gpio_range) in pin_free() argument
209 if (!gpio_range) { in pin_free()
224 if (gpio_range && ops->gpio_disable_free) in pin_free()
225 ops->gpio_disable_free(pctldev, gpio_range, pin); in pin_free()
229 if (gpio_range) { in pin_free()
/drivers/pinctrl/bcm/
Dpinctrl-bcm2835.c106 struct pinctrl_gpio_range gpio_range; member
1049 pc->gpio_range = bcm2835_pinctrl_gpio_range; in bcm2835_pinctrl_probe()
1050 pc->gpio_range.base = pc->gpio_chip.base; in bcm2835_pinctrl_probe()
1051 pc->gpio_range.gc = &pc->gpio_chip; in bcm2835_pinctrl_probe()
1052 pinctrl_add_gpio_range(pc->pctl_dev, &pc->gpio_range); in bcm2835_pinctrl_probe()
/drivers/pinctrl/vt8500/
Dpinctrl-wmt.h74 struct pinctrl_gpio_range gpio_range; member