/openbmc/u-boot/drivers/gpio/ |
H A D | stm32f7_gpio.c | 34 if (priv->gpio_range & BIT(i)) { in stm32_offset_to_index() 181 priv->gpio_range = GENMASK(STM32_GPIOS_PER_BANK - 1, 0); in gpio_stm32_probe() 185 priv->gpio_range |= GENMASK(args.args[2] + args.args[0] - 1, in gpio_stm32_probe() 194 dev_dbg(dev, "addr = 0x%p bank_name = %s gpio_count = %d gpio_range = 0x%x\n", in gpio_stm32_probe() 196 priv->gpio_range); in gpio_stm32_probe()
|
/openbmc/linux/drivers/pinctrl/ |
H A D | pinmux.c | 110 * @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() 188 if (gpio_range) { in pin_request() 209 * @gpio_range: the range matching the GPIO pin if this is a request for a 217 struct pinctrl_gpio_range *gpio_range) in pin_free() argument [all …]
|
H A D | pinctrl-stmfx.c | 618 struct pinctrl_gpio_range *gpio_range; in stmfx_pinctrl_gpio_function_enable() local 624 gpio_range = pinctrl_find_gpio_range_from_pin(pctl_dev, 16); in stmfx_pinctrl_gpio_function_enable() 625 if (gpio_range) { in stmfx_pinctrl_gpio_function_enable() 630 gpio_range = pinctrl_find_gpio_range_from_pin(pctl_dev, 20); in stmfx_pinctrl_gpio_function_enable() 631 if (gpio_range) { in stmfx_pinctrl_gpio_function_enable()
|
H A D | pinctrl-mlxbf3.c | 31 struct pinctrl_gpio_range gpio_range; member
|
/openbmc/linux/drivers/pinctrl/renesas/ |
H A 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()
|
H A D | pinctrl-rzv2m.c | 125 struct pinctrl_gpio_range gpio_range; member 967 pctrl->gpio_range.id = 0; in rzv2m_gpio_register() 968 pctrl->gpio_range.pin_base = 0; in rzv2m_gpio_register() 969 pctrl->gpio_range.base = 0; in rzv2m_gpio_register() 970 pctrl->gpio_range.npins = chip->ngpio; in rzv2m_gpio_register() 971 pctrl->gpio_range.name = chip->label; in rzv2m_gpio_register() 972 pctrl->gpio_range.gc = chip; in rzv2m_gpio_register()
|
H A D | pinctrl-rzg2l.c | 151 struct pinctrl_gpio_range gpio_range; member 1399 pctrl->gpio_range.id = 0; in rzg2l_gpio_register() 1400 pctrl->gpio_range.pin_base = 0; in rzg2l_gpio_register() 1401 pctrl->gpio_range.base = 0; in rzg2l_gpio_register() 1402 pctrl->gpio_range.npins = chip->ngpio; in rzg2l_gpio_register() 1403 pctrl->gpio_range.name = chip->label; in rzg2l_gpio_register() 1404 pctrl->gpio_range.gc = chip; in rzg2l_gpio_register()
|
/openbmc/linux/drivers/iio/adc/ |
H A D | ad7606.c | 208 gpiod_set_value(st->gpio_range, val); in ad7606_write_scale_hw() 419 st->gpio_range = devm_gpiod_get_optional(dev, "adi,range", in ad7606_request_gpios() 421 if (IS_ERR(st->gpio_range)) in ad7606_request_gpios() 422 return PTR_ERR(st->gpio_range); in ad7606_request_gpios() 578 if (st->gpio_range) in ad7606_probe() 583 if (st->gpio_range) in ad7606_probe() 667 gpiod_set_value(st->gpio_range, 1); in ad7606_suspend() 680 gpiod_set_value(st->gpio_range, st->range[0]); in ad7606_resume()
|
H A D | ad7606.h | 80 * @gpio_range GPIO descriptor for range selection 109 struct gpio_desc *gpio_range; member
|
/openbmc/linux/drivers/pinctrl/bcm/ |
H A D | pinctrl-bcm2835.c | 90 struct pinctrl_gpio_range gpio_range; member 1186 const struct pinctrl_gpio_range *gpio_range; member 1192 .gpio_range = &bcm2835_pinctrl_gpio_range, 1198 .gpio_range = &bcm2711_pinctrl_gpio_range, 1287 pc->gpio_range = *pdata->gpio_range; in bcm2835_pinctrl_probe() 1288 pc->gpio_range.base = pc->gpio_chip.base; in bcm2835_pinctrl_probe() 1289 pc->gpio_range.gc = &pc->gpio_chip; in bcm2835_pinctrl_probe() 1290 pinctrl_add_gpio_range(pc->pctl_dev, &pc->gpio_range); in bcm2835_pinctrl_probe() 1367 pinctrl_remove_gpio_range(pc->pctl_dev, &pc->gpio_range); in bcm2835_pinctrl_probe()
|
/openbmc/linux/drivers/pinctrl/vt8500/ |
H A D | pinctrl-wmt.h | 66 struct pinctrl_gpio_range gpio_range; member
|
/openbmc/linux/drivers/pinctrl/tegra/ |
H A D | pinctrl-tegra.c | 826 pmx->gpio_range.name = "Tegra GPIOs"; in tegra_pinctrl_probe() 827 pmx->gpio_range.id = 0; in tegra_pinctrl_probe() 828 pmx->gpio_range.base = 0; in tegra_pinctrl_probe() 829 pmx->gpio_range.npins = pmx->soc->ngpios; in tegra_pinctrl_probe() 872 pinctrl_add_gpio_range(pmx->pctl, &pmx->gpio_range); in tegra_pinctrl_probe()
|
H A D | pinctrl-tegra.h | 19 struct pinctrl_gpio_range gpio_range; member
|
/openbmc/u-boot/arch/arm/mach-stm32mp/include/mach/ |
H A D | gpio.h | 115 unsigned int gpio_range; member
|
/openbmc/u-boot/arch/arm/include/asm/arch-stm32/ |
H A D | gpio.h | 114 unsigned int gpio_range; member
|
/openbmc/linux/Documentation/devicetree/bindings/gpio/ |
H A D | socionext,uniphier-gpio.yaml | 99 gpio-ranges-group-names = "gpio_range";
|
/openbmc/linux/arch/arm/boot/dts/socionext/ |
H A D | uniphier-ld4.dtsi | 134 gpio-ranges-group-names = "gpio_range";
|
H A D | uniphier-pro5.dtsi | 242 gpio-ranges-group-names = "gpio_range";
|
H A D | uniphier-pro4.dtsi | 142 gpio-ranges-group-names = "gpio_range";
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | uniphier-ld4.dtsi | 130 gpio-ranges-group-names = "gpio_range";
|
H A D | uniphier-pro5.dtsi | 234 gpio-ranges-group-names = "gpio_range";
|
H A D | uniphier-pro4.dtsi | 138 gpio-ranges-group-names = "gpio_range";
|
/openbmc/linux/Documentation/driver-api/ |
H A 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);
|
/openbmc/linux/drivers/pinctrl/uniphier/ |
H A D | pinctrl-uniphier-ld4.c | 655 UNIPHIER_PINCTRL_GROUP_GPIO(gpio_range),
|
H A D | pinctrl-uniphier-pro5.c | 931 UNIPHIER_PINCTRL_GROUP_GPIO(gpio_range),
|