/linux-6.12.1/drivers/pinctrl/ |
D | pinmux.c | 108 * @gpio_range: the range matching the GPIO pin if this is a request for a 113 struct pinctrl_gpio_range *gpio_range) in pin_request() argument 130 if ((!gpio_range || ops->strict) && in pin_request() 138 if ((gpio_range || ops->strict) && desc->gpio_owner) { in pin_request() 145 if (gpio_range) { in pin_request() 168 if (gpio_range && ops->gpio_request_enable) in pin_request() 170 status = ops->gpio_request_enable(pctldev, gpio_range, pin); in pin_request() 181 if (gpio_range) { in pin_request() 201 * @gpio_range: the range matching the GPIO pin if this is a request for a 209 struct pinctrl_gpio_range *gpio_range) in pin_free() argument [all …]
|
D | pinctrl-stmfx.c | 619 struct pinctrl_gpio_range *gpio_range; in stmfx_pinctrl_gpio_function_enable() local 625 gpio_range = pinctrl_find_gpio_range_from_pin(pctl_dev, 16); in stmfx_pinctrl_gpio_function_enable() 626 if (gpio_range) { in stmfx_pinctrl_gpio_function_enable() 631 gpio_range = pinctrl_find_gpio_range_from_pin(pctl_dev, 20); in stmfx_pinctrl_gpio_function_enable() 632 if (gpio_range) { in stmfx_pinctrl_gpio_function_enable()
|
D | pinctrl-mlxbf3.c | 31 struct pinctrl_gpio_range gpio_range; member
|
/linux-6.12.1/drivers/iio/adc/ |
D | ad7606.c | 203 gpiod_set_value(st->gpio_range, val); in ad7606_write_scale_hw() 407 st->gpio_range = devm_gpiod_get_optional(dev, "adi,range", in ad7606_request_gpios() 409 if (IS_ERR(st->gpio_range)) in ad7606_request_gpios() 410 return PTR_ERR(st->gpio_range); in ad7606_request_gpios() 566 if (st->gpio_range) in ad7606_probe() 571 if (st->gpio_range) in ad7606_probe() 655 gpiod_set_value(st->gpio_range, 1); in ad7606_suspend() 668 gpiod_set_value(st->gpio_range, st->range[0]); in ad7606_resume()
|
D | ad7606.h | 80 * @gpio_range GPIO descriptor for range selection 109 struct gpio_desc *gpio_range; member
|
/linux-6.12.1/drivers/pinctrl/renesas/ |
D | pinctrl-rza2.c | 49 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()
|
D | pinctrl-rzv2m.c | 125 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()
|
D | pinctrl-rzg2l.c | 345 struct pinctrl_gpio_range gpio_range; member 2614 pctrl->gpio_range.id = 0; in rzg2l_gpio_register() 2615 pctrl->gpio_range.pin_base = 0; in rzg2l_gpio_register() 2616 pctrl->gpio_range.base = 0; in rzg2l_gpio_register() 2617 pctrl->gpio_range.npins = chip->ngpio; in rzg2l_gpio_register() 2618 pctrl->gpio_range.name = chip->label; in rzg2l_gpio_register() 2619 pctrl->gpio_range.gc = chip; in rzg2l_gpio_register()
|
/linux-6.12.1/drivers/pinctrl/bcm/ |
D | pinctrl-bcm2835.c | 91 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-6.12.1/drivers/pinctrl/tegra/ |
D | pinctrl-tegra.c | 832 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()
|
D | pinctrl-tegra.h | 19 struct pinctrl_gpio_range gpio_range; member
|
/linux-6.12.1/drivers/pinctrl/vt8500/ |
D | pinctrl-wmt.h | 66 struct pinctrl_gpio_range gpio_range; member
|
/linux-6.12.1/Documentation/devicetree/bindings/gpio/ |
D | socionext,uniphier-gpio.yaml | 88 gpio-ranges-group-names = "gpio_range";
|
/linux-6.12.1/arch/arm/boot/dts/socionext/ |
D | uniphier-ld4.dtsi | 134 gpio-ranges-group-names = "gpio_range";
|
D | uniphier-pro5.dtsi | 242 gpio-ranges-group-names = "gpio_range";
|
D | uniphier-pro4.dtsi | 142 gpio-ranges-group-names = "gpio_range";
|
/linux-6.12.1/Documentation/driver-api/ |
D | pin-control.rst | 349 static struct pinctrl_gpio_range gpio_range = { 365 pinctrl_get_group_pins(pctl, "foo", &gpio_range.pins, &gpio_range.npins);
|
/linux-6.12.1/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),
|