Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/pinctrl/renesas/
Dpinctrl-rza2.c47 struct pinctrl_gpio_range gpio_range; member
259 priv->gpio_range.id = 0; in rza2_gpio_register()
260 priv->gpio_range.pin_base = priv->gpio_range.base = 0; in rza2_gpio_register()
261 priv->gpio_range.npins = priv->npins; in rza2_gpio_register()
262 priv->gpio_range.name = chip.label; in rza2_gpio_register()
263 priv->gpio_range.gc = &chip; in rza2_gpio_register()
271 pinctrl_add_gpio_range(priv->pctl, &priv->gpio_range); in rza2_gpio_register()
Dpinctrl-rzv2m.c122 struct pinctrl_gpio_range gpio_range; member
946 pctrl->gpio_range.id = 0; in rzv2m_gpio_register()
947 pctrl->gpio_range.pin_base = 0; in rzv2m_gpio_register()
948 pctrl->gpio_range.base = 0; in rzv2m_gpio_register()
949 pctrl->gpio_range.npins = chip->ngpio; in rzv2m_gpio_register()
950 pctrl->gpio_range.name = chip->label; in rzv2m_gpio_register()
951 pctrl->gpio_range.gc = chip; in rzv2m_gpio_register()
Dpinctrl-rzg2l.c146 struct pinctrl_gpio_range gpio_range; member
1375 pctrl->gpio_range.id = 0; in rzg2l_gpio_register()
1376 pctrl->gpio_range.pin_base = 0; in rzg2l_gpio_register()
1377 pctrl->gpio_range.base = 0; in rzg2l_gpio_register()
1378 pctrl->gpio_range.npins = chip->ngpio; in rzg2l_gpio_register()
1379 pctrl->gpio_range.name = chip->label; in rzg2l_gpio_register()
1380 pctrl->gpio_range.gc = chip; in rzg2l_gpio_register()
/linux-6.1.9/drivers/pinctrl/
Dpinmux.c110 struct pinctrl_gpio_range *gpio_range) in pin_request() argument
127 if ((!gpio_range || ops->strict) && in pin_request()
135 if ((gpio_range || ops->strict) && desc->gpio_owner) { in pin_request()
142 if (gpio_range) { in pin_request()
165 if (gpio_range && ops->gpio_request_enable) in pin_request()
167 status = ops->gpio_request_enable(pctldev, gpio_range, pin); in pin_request()
180 if (gpio_range) { in pin_request()
208 struct pinctrl_gpio_range *gpio_range) in pin_free() argument
221 if (!gpio_range) { in pin_free()
236 if (gpio_range && ops->gpio_disable_free) in pin_free()
[all …]
Dpinctrl-stmfx.c595 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()
/linux-6.1.9/drivers/iio/adc/
Dad7606.c232 gpiod_set_value(st->gpio_range, val); in ad7606_write_scale_hw()
443 st->gpio_range = devm_gpiod_get_optional(dev, "adi,range", in ad7606_request_gpios()
445 if (IS_ERR(st->gpio_range)) in ad7606_request_gpios()
446 return PTR_ERR(st->gpio_range); in ad7606_request_gpios()
618 if (st->gpio_range) in ad7606_probe()
623 if (st->gpio_range) in ad7606_probe()
707 gpiod_set_value(st->gpio_range, 1); in ad7606_suspend()
720 gpiod_set_value(st->gpio_range, st->range[0]); in ad7606_resume()
Dad7606.h111 struct gpio_desc *gpio_range; member
/linux-6.1.9/drivers/pinctrl/bcm/
Dpinctrl-bcm2835.c90 struct pinctrl_gpio_range gpio_range; member
1180 const struct pinctrl_gpio_range *gpio_range; member
1186 .gpio_range = &bcm2835_pinctrl_gpio_range,
1192 .gpio_range = &bcm2711_pinctrl_gpio_range,
1280 pc->gpio_range = *pdata->gpio_range; in bcm2835_pinctrl_probe()
1281 pc->gpio_range.base = pc->gpio_chip.base; in bcm2835_pinctrl_probe()
1282 pc->gpio_range.gc = &pc->gpio_chip; in bcm2835_pinctrl_probe()
1283 pinctrl_add_gpio_range(pc->pctl_dev, &pc->gpio_range); in bcm2835_pinctrl_probe()
1360 pinctrl_remove_gpio_range(pc->pctl_dev, &pc->gpio_range); in bcm2835_pinctrl_probe()
/linux-6.1.9/drivers/pinctrl/vt8500/
Dpinctrl-wmt.h66 struct pinctrl_gpio_range gpio_range; member
/linux-6.1.9/Documentation/devicetree/bindings/gpio/
Dsocionext,uniphier-gpio.yaml99 gpio-ranges-group-names = "gpio_range";
/linux-6.1.9/drivers/pinctrl/uniphier/
Dpinctrl-uniphier-ld4.c655 UNIPHIER_PINCTRL_GROUP_GPIO(gpio_range),
Dpinctrl-uniphier-pro5.c931 UNIPHIER_PINCTRL_GROUP_GPIO(gpio_range),
Dpinctrl-uniphier-pro4.c1158 UNIPHIER_PINCTRL_GROUP_GPIO(gpio_range),
/linux-6.1.9/arch/arm/boot/dts/
Duniphier-ld4.dtsi134 gpio-ranges-group-names = "gpio_range";
Duniphier-pro5.dtsi242 gpio-ranges-group-names = "gpio_range";
Duniphier-pro4.dtsi142 gpio-ranges-group-names = "gpio_range";
/linux-6.1.9/Documentation/driver-api/
Dpin-control.rst350 static struct pinctrl_gpio_range gpio_range = {
364 pinctrl_get_group_pins(pctl, "foo", &gpio_range.pins,
365 &gpio_range.npins);