/linux/arch/arm/boot/dts/st/ |
H A D | stm32mp15xxaa-pinctrl.dtsi | 12 ngpios = <16>; 18 ngpios = <16>; 24 ngpios = <16>; 30 ngpios = <16>; 36 ngpios = <16>; 42 ngpios = <16>; 48 ngpios = <16>; 54 ngpios = <16>; 60 ngpios = <16>; 66 ngpios = <16>; [all …]
|
H A D | stm32mp15xxac-pinctrl.dtsi | 12 ngpios = <16>; 18 ngpios = <16>; 24 ngpios = <16>; 30 ngpios = <16>; 36 ngpios = <16>; 42 ngpios = <16>; 48 ngpios = <16>; 54 ngpios = <16>; 60 ngpios = <12>; 70 ngpios = <8>;
|
H A D | stm32mp15xxab-pinctrl.dtsi | 12 ngpios = <16>; 18 ngpios = <16>; 24 ngpios = <16>; 30 ngpios = <16>; 36 ngpios = <16>; 42 ngpios = <6>; 48 ngpios = <10>; 54 ngpios = <2>;
|
H A D | stm32mp15xxad-pinctrl.dtsi | 12 ngpios = <16>; 18 ngpios = <16>; 24 ngpios = <16>; 30 ngpios = <16>; 36 ngpios = <16>; 42 ngpios = <6>; 48 ngpios = <10>; 54 ngpios = <2>;
|
H A D | stm32h743.dtsi | 600 ngpios = <16>; 612 ngpios = <16>; 624 ngpios = <16>; 636 ngpios = <16>; 648 ngpios = <16>; 660 ngpios = <16>; 672 ngpios = <16>; 684 ngpios = <16>; 696 ngpios = <16>; 708 ngpios = <16>; [all …]
|
/linux/arch/arm64/boot/dts/st/ |
H A D | stm32mp25xxai-pinctrl.dtsi | 12 ngpios = <16>; 18 ngpios = <16>; 24 ngpios = <14>; 30 ngpios = <16>; 36 ngpios = <16>; 42 ngpios = <16>; 48 ngpios = <16>; 54 ngpios = <12>; 60 ngpios = <16>; 66 ngpios = <16>; [all …]
|
H A D | stm32mp25xxak-pinctrl.dtsi | 12 ngpios = <16>; 18 ngpios = <16>; 24 ngpios = <14>; 30 ngpios = <16>; 36 ngpios = <16>; 42 ngpios = <16>; 48 ngpios = <16>; 54 ngpios = <12>; 60 ngpios = <12>; 68 ngpios = <10>;
|
H A D | stm32mp25xxal-pinctrl.dtsi | 12 ngpios = <16>; 18 ngpios = <16>; 24 ngpios = <14>; 30 ngpios = <16>; 36 ngpios = <16>; 42 ngpios = <16>; 48 ngpios = <16>; 54 ngpios = <12>; 60 ngpios = <12>; 68 ngpios = <10>;
|
/linux/drivers/i2c/muxes/ |
H A D | i2c-mux-gpio.c | 22 int ngpios; member 32 gpiod_set_array_value_cansleep(mux->ngpios, mux->gpios, NULL, values); in i2c_mux_gpio_set() 135 int i, ngpios, ret; in i2c_mux_gpio_probe() local 150 ngpios = gpiod_count(&pdev->dev, "mux"); in i2c_mux_gpio_probe() 151 if (ngpios <= 0) { in i2c_mux_gpio_probe() 153 return ngpios ?: -EINVAL; in i2c_mux_gpio_probe() 155 mux->ngpios = ngpios; in i2c_mux_gpio_probe() 162 array_size(ngpios, sizeof(*mux->gpios)), 0, in i2c_mux_gpio_probe() 184 for (i = 0; i < ngpios; i++) { in i2c_mux_gpio_probe()
|
/linux/drivers/gpio/ |
H A D | gpio-creg-snps.c | 82 u32 ngpios) in creg_gpio_validate() argument 90 if (ngpios < 1 || ngpios > hcg->layout->ngpio) { in creg_gpio_validate() 140 u32 ngpios; in creg_gpio_probe() local 156 ret = of_property_read_u32(dev->of_node, "ngpios", &ngpios); in creg_gpio_probe() 160 ret = creg_gpio_validate(dev, hcg, ngpios); in creg_gpio_probe() 169 hcg->gc.ngpio = ngpios; in creg_gpio_probe() 177 dev_info(dev, "GPIO controller with %d gpios probed\n", ngpios); in creg_gpio_probe()
|
H A D | gpio-ts4800.c | 24 u32 ngpios; in ts4800_gpio_probe() local 38 retval = of_property_read_u32(node, "ngpios", &ngpios); in ts4800_gpio_probe() 40 ngpios = DEFAULT_PIN_NUMBER; in ts4800_gpio_probe() 52 chip->ngpio = ngpios; in ts4800_gpio_probe()
|
H A D | gpio-cros-ec.c | 169 int ngpios; in cros_ec_gpio_probe() local 175 ngpios = cros_ec_gpio_ngpios(cros_ec); in cros_ec_gpio_probe() 176 if (ngpios < 0) { in cros_ec_gpio_probe() 177 dev_err_probe(dev, ngpios, "error getting gpio count\n"); in cros_ec_gpio_probe() 178 return ngpios; in cros_ec_gpio_probe() 185 gc->ngpio = ngpios; in cros_ec_gpio_probe()
|
H A D | gpio-exar.c | 152 u32 first_pin, ngpios; in gpio_exar_probe() local 168 ret = device_property_read_u32(dev, "ngpios", &ngpios); in gpio_exar_probe() 182 ngpios += ngpios; in gpio_exar_probe() 212 exar_gpio->gpio_chip.ngpio = ngpios; in gpio_exar_probe()
|
H A D | gpio-realtek-otto.c | 365 u32 ngpios; in realtek_gpio_probe() local 375 ngpios = REALTEK_GPIO_MAX; in realtek_gpio_probe() 376 device_property_read_u32(dev, "ngpios", &ngpios); in realtek_gpio_probe() 378 if (ngpios > REALTEK_GPIO_MAX) { in realtek_gpio_probe() 411 ctrl->gc.ngpio = ngpios; in realtek_gpio_probe()
|
H A D | gpio-aggregator.c | 264 #define fwd_tmp_size(ngpios) (BITS_TO_LONGS((ngpios)) + (ngpios)) argument 495 unsigned int ngpios, in gpiochip_fwd_create() argument 505 fwd = devm_kzalloc(dev, struct_size(fwd, tmp, fwd_tmp_size(ngpios)), in gpiochip_fwd_create() 518 for (i = 0; i < ngpios; i++) { in gpiochip_fwd_create() 542 chip->ngpio = ngpios; in gpiochip_fwd_create()
|
/linux/drivers/regulator/ |
H A D | gpio-regulator.c | 136 int ngpios; in of_get_gpio_regulator_config() local 164 ngpios = gpiod_count(dev, NULL); in of_get_gpio_regulator_config() 165 if (ngpios > 0) { in of_get_gpio_regulator_config() 168 * ngpios, in of_get_gpio_regulator_config() 173 for (i = 0; i < ngpios; i++) { in of_get_gpio_regulator_config() 187 config->ngpios = ngpios; in of_get_gpio_regulator_config() 279 for (i = 0; i < config->ngpios; i++) { in gpio_regulator_probe() 289 drvdata->nr_gpios = config->ngpios; in gpio_regulator_probe()
|
/linux/arch/arm/boot/dts/unisoc/ |
H A D | rda8810pl.dtsi | 47 ngpios = <32>; 84 ngpios = <32>; 95 ngpios = <32>; 106 ngpios = <32>;
|
/linux/drivers/pinctrl/ |
H A D | pinctrl-sx150x.c | 73 u8 ngpios; member 85 u8 ngpios; member 165 .ngpios = 4, 188 .ngpios = 8, 211 .ngpios = 16, 230 .ngpios = 4, 252 .ngpios = 8, 275 .ngpios = 16, 296 .ngpios = 4, 317 .ngpios = 8, [all …]
|
/linux/arch/arm64/boot/dts/synaptics/ |
H A D | berlin4ct.dtsi | 145 ngpios = <32>; 163 ngpios = <32>; 181 ngpios = <32>; 199 ngpios = <32>; 274 ngpios = <32>; 289 ngpios = <32>;
|
/linux/Documentation/devicetree/bindings/gpio/ |
H A D | gpio-ts4800.txt | 10 - ngpios: See "gpio.txt" 17 ngpios = <8>;
|
H A D | snps,creg-gpio.txt | 11 - ngpios: Number of GPIO pins. 20 ngpios = <2>;
|
H A D | nintendo,hollywood-gpio.txt | 12 - ngpios: see Documentation/devicetree/bindings/gpio/gpio.txt 25 ngpios = <24>;
|
H A D | gpio-ts4900.txt | 17 - ngpios: Number of GPIOs this controller is instantiated with, 28 ngpios = <32>;
|
/linux/arch/riscv/boot/dts/microchip/ |
H A D | mpfs-beaglev-fire-fabric.dtsi | 32 ngpios = <16>; 45 ngpios = <20>; 59 ngpios = <20>;
|
/linux/arch/arm/boot/dts/renesas/ |
H A D | emev2.dtsi | 211 ngpios = <32>; 224 ngpios = <32>; 237 ngpios = <32>; 250 ngpios = <32>; 263 ngpios = <31>;
|