/Linux-v5.15/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 | 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-v5.15/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() 168 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 | 28 u32 ngpios; in ts4800_gpio_probe() local 42 retval = of_property_read_u32(node, "ngpios", &ngpios); in ts4800_gpio_probe() 44 ngpios = DEFAULT_PIN_NUMBER; in ts4800_gpio_probe() 56 chip->ngpio = ngpios; in ts4800_gpio_probe()
|
D | gpio-realtek-otto.c | 256 u32 ngpios; in realtek_gpio_probe() local 265 ngpios = REALTEK_GPIO_MAX; in realtek_gpio_probe() 266 device_property_read_u32(dev, "ngpios", &ngpios); in realtek_gpio_probe() 268 if (ngpios > REALTEK_GPIO_MAX) { in realtek_gpio_probe() 269 dev_err(&pdev->dev, "invalid ngpios (max. %d)\n", in realtek_gpio_probe() 289 ctrl->gc.ngpio = ngpios; in realtek_gpio_probe()
|
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() 321 gpio_chip->ngpio = ngpios; in em_gio_probe() 332 p->irq_domain = irq_domain_add_simple(dev->of_node, ngpios, 0, in em_gio_probe()
|
D | gpio-idt3243x.c | 136 int ngpios; in idt_gpio_probe() local 157 ret = device_property_read_u32(dev, "ngpios", &ngpios); in idt_gpio_probe() 159 ctrl->gc.ngpio = ngpios; in idt_gpio_probe()
|
D | gpio-exar.c | 132 u32 first_pin, ngpios; in gpio_exar_probe() local 148 ret = device_property_read_u32(dev, "ngpios", &ngpios); in gpio_exar_probe() 181 exar_gpio->gpio_chip.ngpio = ngpios; in gpio_exar_probe()
|
/Linux-v5.15/drivers/i2c/muxes/ |
D | i2c-mux-gpio.c | 21 int ngpios; member 31 gpiod_set_array_value_cansleep(mux->ngpios, mux->gpios, NULL, values); in i2c_mux_gpio_set() 166 int i, ngpios, ret; in i2c_mux_gpio_probe() local 181 ngpios = gpiod_count(&pdev->dev, "mux"); in i2c_mux_gpio_probe() 182 if (ngpios <= 0) { in i2c_mux_gpio_probe() 184 return ngpios ?: -EINVAL; in i2c_mux_gpio_probe() 186 mux->ngpios = ngpios; in i2c_mux_gpio_probe() 193 ngpios * sizeof(*mux->gpios), 0, in i2c_mux_gpio_probe() 215 for (i = 0; i < ngpios; i++) { in i2c_mux_gpio_probe()
|
/Linux-v5.15/Documentation/devicetree/bindings/pinctrl/ |
D | microchip,sparx5-sgpio.yaml | 91 controlled indirectly by the "ngpios" property: (ngpios/32). 106 ngpios: 117 - ngpios 149 ngpios = <96>; 159 ngpios = <96>;
|
D | intel,pinctrl-keembay.yaml | 29 ngpios: 87 - ngpios 103 ngpios = <0x50>; 123 ngpios = <0x50>;
|
D | brcm,iproc-gpio.txt | 27 - ngpios: 77 ngpios = <24>; 99 ngpios = <146>;
|
/Linux-v5.15/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() 264 for (i = 0; i < config->ngpios; i++) { in gpio_regulator_probe() 274 drvdata->nr_gpios = config->ngpios; in gpio_regulator_probe()
|
/Linux-v5.15/Documentation/devicetree/bindings/gpio/ |
D | renesas,em-gio.yaml | 34 ngpios: 50 - ngpios 67 ngpios = <32>;
|
D | aspeed,sgpio.yaml | 47 ngpios: true 58 - ngpios 75 ngpios = <80>;
|
D | socionext,uniphier-gpio.yaml | 40 ngpios: 62 - ngpios 83 ngpios = <248>;
|
D | gpio-ts4800.txt | 10 - ngpios: See "gpio.txt" 17 ngpios = <8>;
|
D | gpio-mvebu.txt | 44 - ngpios: number of GPIOs this controller has 73 ngpios = <32>; 85 ngpios = <17>;
|
/Linux-v5.15/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-v5.15/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 …]
|