Home
last modified time | relevance | path

Searched full:gpio_range (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/pinctrl/
H A Dpinmux.c110 * @gpio_range: the range matching the GPIO pin if this is a request for a
115 struct pinctrl_gpio_range *gpio_range) in pin_request() argument
133 if ((!gpio_range || ops->strict) && in pin_request()
141 if ((gpio_range || ops->strict) && desc->gpio_owner) { in pin_request()
148 if (gpio_range) { in pin_request()
172 if (gpio_range && ops->gpio_request_enable) in pin_request()
174 status = ops->gpio_request_enable(pctldev, gpio_range, pin); in pin_request()
186 if (gpio_range) { in pin_request()
207 * @gpio_range: the range matching the GPIO pin if this is a request for a
215 struct pinctrl_gpio_range *gpio_range) in pin_free() argument
[all …]
H A Dpinctrl-mlxbf3.c31 struct pinctrl_gpio_range gpio_range; member
/linux/drivers/pinctrl/renesas/
H A Dpinctrl-rza2.c50 struct pinctrl_gpio_range gpio_range; member
265 priv->gpio_range.id = 0; in rza2_gpio_register()
266 priv->gpio_range.pin_base = priv->gpio_range.base = 0; in rza2_gpio_register()
267 priv->gpio_range.npins = priv->npins; in rza2_gpio_register()
268 priv->gpio_range.name = chip.label; in rza2_gpio_register()
269 priv->gpio_range.gc = &chip; in rza2_gpio_register()
277 pinctrl_add_gpio_range(priv->pctl, &priv->gpio_range); in rza2_gpio_register()
H A Dpinctrl-rzv2m.c125 struct pinctrl_gpio_range gpio_range; member
963 pctrl->gpio_range.id = 0; in rzv2m_gpio_register()
964 pctrl->gpio_range.pin_base = 0; in rzv2m_gpio_register()
965 pctrl->gpio_range.base = 0; in rzv2m_gpio_register()
966 pctrl->gpio_range.npins = chip->ngpio; in rzv2m_gpio_register()
967 pctrl->gpio_range.name = chip->label; in rzv2m_gpio_register()
968 pctrl->gpio_range.gc = chip; in rzv2m_gpio_register()
/linux/drivers/pinctrl/bcm/
H A Dpinctrl-bcm2835.c91 struct pinctrl_gpio_range gpio_range; member
1253 const struct pinctrl_gpio_range *gpio_range; member
1259 .gpio_range = &bcm2835_pinctrl_gpio_range,
1265 .gpio_range = &bcm2711_pinctrl_gpio_range,
1355 pc->gpio_range = *pdata->gpio_range; in bcm2835_pinctrl_probe()
1356 pc->gpio_range.base = pc->gpio_chip.base; in bcm2835_pinctrl_probe()
1357 pc->gpio_range.gc = &pc->gpio_chip; in bcm2835_pinctrl_probe()
1358 pinctrl_add_gpio_range(pc->pctl_dev, &pc->gpio_range); in bcm2835_pinctrl_probe()
1438 pinctrl_remove_gpio_range(pc->pctl_dev, &pc->gpio_range); in bcm2835_pinctrl_probe()
/linux/drivers/iio/adc/
H A Dad7606.c801 gpiod_set_value(st->gpio_range, val); in ad7606_write_scale_hw()
935 st->gpio_range = devm_gpiod_get_optional(dev, "adi,range", in ad7606_request_gpios()
937 if (IS_ERR(st->gpio_range)) in ad7606_request_gpios()
938 return PTR_ERR(st->gpio_range); in ad7606_request_gpios()
1216 if (st->gpio_range) in ad7606_probe()
1221 if (st->gpio_range) in ad7606_probe()
1341 gpiod_set_value(st->gpio_range, 1); in ad7606_suspend()
1354 gpiod_set_value(st->gpio_range, st->chan_scales[0].range); in ad7606_resume()
/linux/drivers/pinctrl/tegra/
H A Dpinctrl-tegra.c832 pmx->gpio_range.name = "Tegra GPIOs"; in tegra_pinctrl_probe()
833 pmx->gpio_range.id = 0; in tegra_pinctrl_probe()
834 pmx->gpio_range.base = 0; in tegra_pinctrl_probe()
835 pmx->gpio_range.npins = pmx->soc->ngpios; in tegra_pinctrl_probe()
878 pinctrl_add_gpio_range(pmx->pctl, &pmx->gpio_range); in tegra_pinctrl_probe()
H A Dpinctrl-tegra.h19 struct pinctrl_gpio_range gpio_range; member
/linux/drivers/pinctrl/vt8500/
H A Dpinctrl-wmt.h66 struct pinctrl_gpio_range gpio_range; member
/linux/Documentation/devicetree/bindings/gpio/
H A Dsocionext,uniphier-gpio.yaml88 gpio-ranges-group-names = "gpio_range";
/linux/arch/arm/boot/dts/socionext/
H A Duniphier-ld4.dtsi134 gpio-ranges-group-names = "gpio_range";
H A Duniphier-pro5.dtsi242 gpio-ranges-group-names = "gpio_range";
H A Duniphier-pro4.dtsi142 gpio-ranges-group-names = "gpio_range";
/linux/Documentation/driver-api/
H A Dpin-control.rst349 static struct pinctrl_gpio_range gpio_range = {
365 pinctrl_get_group_pins(pctl, "foo", &gpio_range.pins, &gpio_range.npins);
/linux/drivers/pinctrl/uniphier/
H A Dpinctrl-uniphier-ld4.c655 UNIPHIER_PINCTRL_GROUP_GPIO(gpio_range),
H A Dpinctrl-uniphier-pro5.c931 UNIPHIER_PINCTRL_GROUP_GPIO(gpio_range),
H A Dpinctrl-uniphier-pro4.c1158 UNIPHIER_PINCTRL_GROUP_GPIO(gpio_range),