| /Linux-v5.4/arch/arm/boot/dts/ |
| D | stm32mp157xaa-pinctrl.dtsi | 15 ngpios = <16>; 21 ngpios = <16>; 27 ngpios = <16>; 33 ngpios = <16>; 39 ngpios = <16>; 45 ngpios = <16>; 51 ngpios = <16>; 57 ngpios = <16>; 63 ngpios = <16>; 69 ngpios = <16>; [all …]
|
| D | stm32mp157xac-pinctrl.dtsi | 15 ngpios = <16>; 21 ngpios = <16>; 27 ngpios = <16>; 33 ngpios = <16>; 39 ngpios = <16>; 45 ngpios = <16>; 51 ngpios = <16>; 57 ngpios = <16>; 63 ngpios = <12>; 73 ngpios = <8>;
|
| D | stm32mp157xab-pinctrl.dtsi | 15 ngpios = <16>; 21 ngpios = <16>; 27 ngpios = <16>; 33 ngpios = <16>; 39 ngpios = <16>; 45 ngpios = <6>; 51 ngpios = <10>; 57 ngpios = <2>;
|
| D | stm32mp157xad-pinctrl.dtsi | 15 ngpios = <16>; 21 ngpios = <16>; 27 ngpios = <16>; 33 ngpios = <16>; 39 ngpios = <16>; 45 ngpios = <6>; 51 ngpios = <10>; 57 ngpios = <2>;
|
| D | emev2.dtsi | 211 ngpios = <32>; 223 ngpios = <32>; 235 ngpios = <32>; 247 ngpios = <32>; 259 ngpios = <31>;
|
| /Linux-v5.4/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() 114 int i, ngpios, ret; in i2c_mux_gpio_probe() local 129 ngpios = gpiod_count(&pdev->dev, "mux"); in i2c_mux_gpio_probe() 130 if (ngpios <= 0) { in i2c_mux_gpio_probe() 132 return ngpios ?: -EINVAL; in i2c_mux_gpio_probe() 134 mux->ngpios = ngpios; in i2c_mux_gpio_probe() 141 ngpios * sizeof(*mux->gpios), 0, in i2c_mux_gpio_probe() 163 for (i = 0; i < ngpios; i++) { in i2c_mux_gpio_probe()
|
| /Linux-v5.4/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() 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-exar.c | 120 u32 first_pin, ngpios; in gpio_exar_probe() local 137 ret = device_property_read_u32(&pdev->dev, "ngpios", &ngpios); in gpio_exar_probe() 160 exar_gpio->gpio_chip.ngpio = ngpios; in gpio_exar_probe()
|
| D | gpio-hlwd.c | 211 u32 ngpios; in hlwd_gpio_probe() local 242 res = of_property_read_u32(pdev->dev.of_node, "ngpios", &ngpios); in hlwd_gpio_probe() 244 ngpios = 32; in hlwd_gpio_probe() 245 hlwd->gpioc.ngpio = ngpios; in hlwd_gpio_probe()
|
| D | gpio-em.c | 277 unsigned int ngpios; in em_gio_probe() local 308 if (of_property_read_u32(dev->of_node, "ngpios", &ngpios)) { in em_gio_probe() 326 gpio_chip->ngpio = ngpios; in em_gio_probe() 337 p->irq_domain = irq_domain_add_simple(dev->of_node, ngpios, 0, in em_gio_probe()
|
| /Linux-v5.4/drivers/regulator/ |
| D | gpio-regulator.c | 136 int ngpios; in of_get_gpio_regulator_config() local 157 ngpios = gpiod_count(dev, NULL); in of_get_gpio_regulator_config() 158 if (ngpios > 0) { in of_get_gpio_regulator_config() 161 * ngpios, in of_get_gpio_regulator_config() 166 for (i = 0; i < ngpios; i++) { in of_get_gpio_regulator_config() 180 config->ngpios = ngpios; in of_get_gpio_regulator_config() 257 for (i = 0; i < config->ngpios; i++) { in gpio_regulator_probe() 267 drvdata->nr_gpios = config->ngpios; in gpio_regulator_probe()
|
| /Linux-v5.4/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 …]
|
| /Linux-v5.4/Documentation/devicetree/bindings/gpio/ |
| D | gpio-ts4800.txt | 10 - ngpios: See "gpio.txt" 17 ngpios = <8>;
|
| D | snps,creg-gpio.txt | 11 - ngpios: Number of GPIO pins. 20 ngpios = <2>;
|
| D | nintendo,hollywood-gpio.txt | 12 - ngpios: see Documentation/devicetree/bindings/gpio/gpio.txt 25 ngpios = <24>;
|
| D | gpio-ts4900.txt | 17 - ngpios: Number of GPIOs this controller is instantiated with, 28 ngpios = <32>;
|
| D | gpio-ath79.txt | 12 - ngpios: Should be set to the number of GPIOs available on the SoC. 30 ngpios = <22>;
|
| D | gpio-mvebu.txt | 44 - ngpios: number of GPIOs this controller has 73 ngpios = <32>; 85 ngpios = <17>;
|
| D | sgpio-aspeed.txt | 23 - ngpios : number of GPIO lines, see gpio.txt 43 ngpios = <8>;
|
| D | gpio-uniphier.txt | 17 - ngpios: Specifies the number of GPIO lines. 37 ngpios = <248>;
|
| /Linux-v5.4/Documentation/devicetree/bindings/pinctrl/ |
| D | brcm,iproc-gpio.txt | 27 - ngpios: 77 ngpios = <24>; 99 ngpios = <146>;
|
| D | brcm,nsp-gpio.txt | 19 - ngpios: 62 ngpios = <32>;
|
| /Linux-v5.4/include/linux/platform_data/ |
| D | gpio-ath79.h | 12 unsigned ngpios; member
|
| /Linux-v5.4/include/linux/regulator/ |
| D | gpio-regulator.h | 70 int ngpios; member
|