Searched refs:gpio_range (Results 1 – 10 of 10) sorted by relevance
/drivers/pinctrl/ |
D | pinmux.c | 109 struct pinctrl_gpio_range *gpio_range) in pin_request() argument 126 if ((!gpio_range || ops->strict) && in pin_request() 134 if ((gpio_range || ops->strict) && desc->gpio_owner) { in pin_request() 141 if (gpio_range) { in pin_request() 164 if (gpio_range && ops->gpio_request_enable) in pin_request() 166 status = ops->gpio_request_enable(pctldev, gpio_range, pin); in pin_request() 179 if (gpio_range) { in pin_request() 207 struct pinctrl_gpio_range *gpio_range) in pin_free() argument 220 if (!gpio_range) { in pin_free() 235 if (gpio_range && ops->gpio_disable_free) in pin_free() [all …]
|
D | pinctrl-stmfx.c | 595 struct pinctrl_gpio_range *gpio_range; in stmfx_pinctrl_gpio_function_enable() local 601 gpio_range = pinctrl_find_gpio_range_from_pin(pctl_dev, 16); in stmfx_pinctrl_gpio_function_enable() 602 if (gpio_range) { in stmfx_pinctrl_gpio_function_enable() 607 gpio_range = pinctrl_find_gpio_range_from_pin(pctl_dev, 20); in stmfx_pinctrl_gpio_function_enable() 608 if (gpio_range) { in stmfx_pinctrl_gpio_function_enable()
|
/drivers/pinctrl/renesas/ |
D | pinctrl-rza2.c | 48 struct pinctrl_gpio_range gpio_range; member 262 priv->gpio_range.id = 0; in rza2_gpio_register() 263 priv->gpio_range.pin_base = priv->gpio_range.base = 0; in rza2_gpio_register() 264 priv->gpio_range.npins = priv->npins; in rza2_gpio_register() 265 priv->gpio_range.name = chip.label; in rza2_gpio_register() 266 priv->gpio_range.gc = &chip; in rza2_gpio_register() 274 pinctrl_add_gpio_range(priv->pctl, &priv->gpio_range); in rza2_gpio_register()
|
/drivers/iio/adc/ |
D | ad7606.c | 231 gpiod_set_value(st->gpio_range, val); in ad7606_write_scale_hw() 442 st->gpio_range = devm_gpiod_get_optional(dev, "adi,range", in ad7606_request_gpios() 444 if (IS_ERR(st->gpio_range)) in ad7606_request_gpios() 445 return PTR_ERR(st->gpio_range); in ad7606_request_gpios() 617 if (st->gpio_range) in ad7606_probe() 622 if (st->gpio_range) in ad7606_probe() 706 gpiod_set_value(st->gpio_range, 1); in ad7606_suspend() 719 gpiod_set_value(st->gpio_range, st->range[0]); in ad7606_resume()
|
D | ad7606.h | 111 struct gpio_desc *gpio_range; member
|
/drivers/pinctrl/bcm/ |
D | pinctrl-bcm2835.c | 89 struct pinctrl_gpio_range gpio_range; member 1153 const struct pinctrl_gpio_range *gpio_range; member 1159 .gpio_range = &bcm2835_pinctrl_gpio_range, 1165 .gpio_range = &bcm2711_pinctrl_gpio_range, 1254 pc->gpio_range = *pdata->gpio_range; in bcm2835_pinctrl_probe() 1255 pc->gpio_range.base = pc->gpio_chip.base; in bcm2835_pinctrl_probe() 1256 pc->gpio_range.gc = &pc->gpio_chip; in bcm2835_pinctrl_probe() 1257 pinctrl_add_gpio_range(pc->pctl_dev, &pc->gpio_range); in bcm2835_pinctrl_probe() 1330 pinctrl_remove_gpio_range(pc->pctl_dev, &pc->gpio_range); in bcm2835_pinctrl_probe()
|
/drivers/pinctrl/vt8500/ |
D | pinctrl-wmt.h | 66 struct pinctrl_gpio_range gpio_range; member
|
/drivers/pinctrl/uniphier/ |
D | pinctrl-uniphier-ld4.c | 655 UNIPHIER_PINCTRL_GROUP_GPIO(gpio_range),
|
D | pinctrl-uniphier-pro5.c | 931 UNIPHIER_PINCTRL_GROUP_GPIO(gpio_range),
|
D | pinctrl-uniphier-pro4.c | 1158 UNIPHIER_PINCTRL_GROUP_GPIO(gpio_range),
|