/Linux-v6.1/arch/arm/boot/dts/ |
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 …]
|
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>;
|
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>;
|
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>;
|
D | rda8810pl.dtsi | 47 ngpios = <32>; 84 ngpios = <32>; 95 ngpios = <32>; 106 ngpios = <32>;
|
D | stm32mp131.dtsi | 438 ngpios = <16>; 450 ngpios = <16>; 462 ngpios = <16>; 474 ngpios = <16>; 486 ngpios = <16>; 498 ngpios = <16>; 510 ngpios = <16>; 522 ngpios = <15>; 534 ngpios = <8>;
|
D | stm32h743.dtsi | 603 ngpios = <16>; 615 ngpios = <16>; 627 ngpios = <16>; 639 ngpios = <16>; 651 ngpios = <16>; 663 ngpios = <16>; 675 ngpios = <16>; 687 ngpios = <16>; 699 ngpios = <16>; 711 ngpios = <16>; [all …]
|
/Linux-v6.1/drivers/gpio/ |
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() 91 dev_err(dev, "ngpios must be in [1:%u]\n", 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()
|
D | gpio-ts4800.c | 25 u32 ngpios; in ts4800_gpio_probe() local 39 retval = of_property_read_u32(node, "ngpios", &ngpios); in ts4800_gpio_probe() 41 ngpios = DEFAULT_PIN_NUMBER; in ts4800_gpio_probe() 53 chip->ngpio = ngpios; in ts4800_gpio_probe()
|
D | gpio-exar.c | 151 u32 first_pin, ngpios; in gpio_exar_probe() local 167 ret = device_property_read_u32(dev, "ngpios", &ngpios); in gpio_exar_probe() 181 ngpios += ngpios; in gpio_exar_probe() 211 exar_gpio->gpio_chip.ngpio = ngpios; in gpio_exar_probe()
|
D | gpio-aggregator.c | 253 #define fwd_tmp_size(ngpios) (BITS_TO_LONGS((ngpios)) + (ngpios)) argument 394 * @ngpios: Number of GPIOs in the forwarder. 396 * This array must contain @ngpios entries, and must not be deallocated 406 unsigned int ngpios, in gpiochip_fwd_create() argument 415 fwd = devm_kzalloc(dev, struct_size(fwd, tmp, fwd_tmp_size(ngpios)), in gpiochip_fwd_create() 428 for (i = 0; i < ngpios; i++) { in gpiochip_fwd_create() 452 chip->ngpio = ngpios; in gpiochip_fwd_create()
|
D | gpio-bd71815.c | 116 unsigned int ngpios) in bd71815_init_valid_mask() argument 118 if (ngpios != 2) in bd71815_init_valid_mask() 151 * not respect the valid_mask. Do not trust it but rather set the ngpios in gpo_bd71815_probe() 157 * For now it is safest to just set the ngpios though. in gpo_bd71815_probe()
|
D | gpio-em.c | 276 unsigned int ngpios; in em_gio_probe() local 303 if (of_property_read_u32(dev->of_node, "ngpios", &ngpios)) { in em_gio_probe() 304 dev_err(dev, "Missing ngpios OF property\n"); in em_gio_probe() 320 gpio_chip->ngpio = ngpios; in em_gio_probe() 331 p->irq_domain = irq_domain_add_simple(dev->of_node, ngpios, 0, in em_gio_probe()
|
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() 379 dev_err(&pdev->dev, "invalid ngpios (max. %d)\n", in realtek_gpio_probe() 411 ctrl->gc.ngpio = ngpios; in realtek_gpio_probe()
|
/Linux-v6.1/drivers/i2c/muxes/ |
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() 129 int i, ngpios, ret; in i2c_mux_gpio_probe() local 144 ngpios = gpiod_count(&pdev->dev, "mux"); in i2c_mux_gpio_probe() 145 if (ngpios <= 0) { in i2c_mux_gpio_probe() 147 return ngpios ?: -EINVAL; in i2c_mux_gpio_probe() 149 mux->ngpios = ngpios; in i2c_mux_gpio_probe() 156 array_size(ngpios, sizeof(*mux->gpios)), 0, in i2c_mux_gpio_probe() 178 for (i = 0; i < ngpios; i++) { in i2c_mux_gpio_probe()
|
/Linux-v6.1/Documentation/devicetree/bindings/pinctrl/ |
D | microchip,sparx5-sgpio.yaml | 98 controlled indirectly by the "ngpios" property: (ngpios/32). 113 ngpios: 124 - ngpios 156 ngpios = <96>; 166 ngpios = <96>;
|
D | intel,pinctrl-keembay.yaml | 29 ngpios: 88 - ngpios 104 ngpios = <0x50>; 124 ngpios = <0x50>;
|
/Linux-v6.1/drivers/regulator/ |
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-v6.1/Documentation/devicetree/bindings/gpio/ |
D | renesas,em-gio.yaml | 34 ngpios: 50 - ngpios 67 ngpios = <32>;
|
D | gpio-mvebu.yaml | 68 ngpios: 102 - ngpios 125 ngpios = <32>; 138 ngpios = <17>;
|
D | aspeed,sgpio.yaml | 47 ngpios: true 58 - ngpios 75 ngpios = <80>;
|
D | realtek,otto-gpio.yaml | 42 ngpios: 89 ngpios = <24>; 101 ngpios = <24>;
|
D | socionext,uniphier-gpio.yaml | 40 ngpios: 79 - ngpios 100 ngpios = <248>;
|
/Linux-v6.1/arch/arm64/boot/dts/synaptics/ |
D | berlin4ct.dtsi | 143 ngpios = <32>; 161 ngpios = <32>; 179 ngpios = <32>; 197 ngpios = <32>; 272 ngpios = <32>; 287 ngpios = <32>;
|
/Linux-v6.1/drivers/pinctrl/ |
D | pinctrl-sx150x.c | 74 u8 ngpios; member 86 u8 ngpios; member 167 .ngpios = 4, 190 .ngpios = 8, 213 .ngpios = 16, 232 .ngpios = 4, 254 .ngpios = 8, 277 .ngpios = 16, 298 .ngpios = 4, 319 .ngpios = 8, [all …]
|