Home
last modified time | relevance | path

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

/drivers/staging/iio/adc/
Dad7606_core.c136 gpio_set_value(st->pdata->gpio_range, lval == 10000); in ad7606_store_range()
351 if (gpio_is_valid(st->pdata->gpio_range)) { in ad7606_request_gpios()
352 ret = gpio_request_one(st->pdata->gpio_range, GPIOF_DIR_OUT | in ad7606_request_gpios()
379 if (gpio_is_valid(st->pdata->gpio_range)) in ad7606_request_gpios()
380 gpio_free(st->pdata->gpio_range); in ad7606_request_gpios()
401 if (gpio_is_valid(st->pdata->gpio_range)) in ad7606_free_gpios()
402 gpio_free(st->pdata->gpio_range); in ad7606_free_gpios()
502 if (gpio_is_valid(st->pdata->gpio_range)) in ad7606_probe()
507 if (gpio_is_valid(st->pdata->gpio_range)) in ad7606_probe()
585 if (gpio_is_valid(st->pdata->gpio_range)) in ad7606_suspend()
[all …]
Dad7606.h35 unsigned gpio_range; member
/drivers/pinctrl/
Dpinmux.c85 struct pinctrl_gpio_range *gpio_range) in pin_request() argument
102 if (gpio_range) { in pin_request()
140 if (gpio_range && ops->gpio_request_enable) in pin_request()
142 status = ops->gpio_request_enable(pctldev, gpio_range, pin); in pin_request()
155 if (gpio_range) { in pin_request()
183 struct pinctrl_gpio_range *gpio_range) in pin_free() argument
196 if (!gpio_range) { in pin_free()
211 if (gpio_range && ops->gpio_disable_free) in pin_free()
212 ops->gpio_disable_free(pctldev, gpio_range, pin); in pin_free()
216 if (gpio_range) { in pin_free()
Dpinctrl-bcm2835.c106 struct pinctrl_gpio_range gpio_range; member
1040 pc->gpio_range = bcm2835_pinctrl_gpio_range; in bcm2835_pinctrl_probe()
1041 pc->gpio_range.base = pc->gpio_chip.base; in bcm2835_pinctrl_probe()
1042 pc->gpio_range.gc = &pc->gpio_chip; in bcm2835_pinctrl_probe()
1043 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