ngpios 715 arch/arm/mach-pxa/hx4700.c .ngpios = ARRAY_SIZE(bq24022_gpiod_gflags), ngpios 658 arch/arm/mach-pxa/magician.c .ngpios = ARRAY_SIZE(bq24022_gpiod_gflags), ngpios 689 drivers/gpio/gpio-aspeed.c unsigned int ngpios) ngpios 247 drivers/gpio/gpio-ath79.c ath79_gpio_count = pdata->ngpios; ngpios 82 drivers/gpio/gpio-creg-snps.c u32 ngpios) ngpios 90 drivers/gpio/gpio-creg-snps.c if (ngpios < 1 || ngpios > hcg->layout->ngpio) { ngpios 140 drivers/gpio/gpio-creg-snps.c u32 ngpios; ngpios 156 drivers/gpio/gpio-creg-snps.c ret = of_property_read_u32(dev->of_node, "ngpios", &ngpios); ngpios 160 drivers/gpio/gpio-creg-snps.c ret = creg_gpio_validate(dev, hcg, ngpios); ngpios 168 drivers/gpio/gpio-creg-snps.c hcg->gc.ngpio = ngpios; ngpios 177 drivers/gpio/gpio-creg-snps.c dev_info(dev, "GPIO controller with %d gpios probed\n", ngpios); ngpios 277 drivers/gpio/gpio-em.c unsigned int ngpios; ngpios 308 drivers/gpio/gpio-em.c if (of_property_read_u32(dev->of_node, "ngpios", &ngpios)) { ngpios 326 drivers/gpio/gpio-em.c gpio_chip->ngpio = ngpios; ngpios 337 drivers/gpio/gpio-em.c p->irq_domain = irq_domain_add_simple(dev->of_node, ngpios, 0, ngpios 120 drivers/gpio/gpio-exar.c u32 first_pin, ngpios; ngpios 137 drivers/gpio/gpio-exar.c ret = device_property_read_u32(&pdev->dev, "ngpios", &ngpios); ngpios 162 drivers/gpio/gpio-exar.c exar_gpio->gpio_chip.ngpio = ngpios; ngpios 211 drivers/gpio/gpio-hlwd.c u32 ngpios; ngpios 242 drivers/gpio/gpio-hlwd.c res = of_property_read_u32(pdev->dev.of_node, "ngpios", &ngpios); ngpios 244 drivers/gpio/gpio-hlwd.c ngpios = 32; ngpios 245 drivers/gpio/gpio-hlwd.c hlwd->gpioc.ngpio = ngpios; ngpios 1094 drivers/gpio/gpio-mvebu.c unsigned int ngpios; ngpios 1116 drivers/gpio/gpio-mvebu.c if (of_property_read_u32(pdev->dev.of_node, "ngpios", &ngpios)) { ngpios 1145 drivers/gpio/gpio-mvebu.c mvchip->chip.ngpio = ngpios; ngpios 1204 drivers/gpio/gpio-mvebu.c irq_domain_add_linear(np, ngpios, &irq_generic_chip_ops, NULL); ngpios 1212 drivers/gpio/gpio-mvebu.c mvchip->domain, ngpios, 2, np->name, handle_level_irq, ngpios 434 drivers/gpio/gpio-stmpe.c unsigned int ngpios) ngpios 219 drivers/gpio/gpio-tqmx86.c unsigned int ngpios) ngpios 28 drivers/gpio/gpio-ts4800.c u32 ngpios; ngpios 42 drivers/gpio/gpio-ts4800.c retval = of_property_read_u32(node, "ngpios", &ngpios); ngpios 44 drivers/gpio/gpio-ts4800.c ngpios = DEFAULT_PIN_NUMBER; ngpios 56 drivers/gpio/gpio-ts4800.c chip->ngpio = ngpios; ngpios 350 drivers/gpio/gpio-uniphier.c u32 ngpios; ngpios 362 drivers/gpio/gpio-uniphier.c ret = of_property_read_u32(dev->of_node, "ngpios", &ngpios); ngpios 366 drivers/gpio/gpio-uniphier.c nregs = uniphier_gpio_get_nbanks(ngpios) * 2 + 3; ngpios 391 drivers/gpio/gpio-uniphier.c chip->ngpio = ngpios; ngpios 21 drivers/i2c/muxes/i2c-mux-gpio.c int ngpios; ngpios 31 drivers/i2c/muxes/i2c-mux-gpio.c gpiod_set_array_value_cansleep(mux->ngpios, mux->gpios, NULL, values); ngpios 114 drivers/i2c/muxes/i2c-mux-gpio.c int i, ngpios, ret; ngpios 129 drivers/i2c/muxes/i2c-mux-gpio.c ngpios = gpiod_count(&pdev->dev, "mux"); ngpios 130 drivers/i2c/muxes/i2c-mux-gpio.c if (ngpios <= 0) { ngpios 132 drivers/i2c/muxes/i2c-mux-gpio.c return ngpios ?: -EINVAL; ngpios 134 drivers/i2c/muxes/i2c-mux-gpio.c mux->ngpios = ngpios; ngpios 141 drivers/i2c/muxes/i2c-mux-gpio.c ngpios * sizeof(*mux->gpios), 0, ngpios 163 drivers/i2c/muxes/i2c-mux-gpio.c for (i = 0; i < ngpios; i++) { ngpios 429 drivers/leds/leds-pca955x.c int ngpios = 0; ngpios 487 drivers/leds/leds-pca955x.c ngpios++; ngpios 541 drivers/leds/leds-pca955x.c if (ngpios) { ngpios 550 drivers/leds/leds-pca955x.c pca955x->gpio.ngpio = ngpios; ngpios 871 drivers/pinctrl/actions/pinctrl-owl.c chip->ngpio = pctrl->soc->ngpios; ngpios 298 drivers/pinctrl/actions/pinctrl-owl.h unsigned int ngpios; ngpios 1873 drivers/pinctrl/actions/pinctrl-s700.c .ngpios = NUM_GPIOS, ngpios 1790 drivers/pinctrl/actions/pinctrl-s900.c .ngpios = NUM_GPIOS, ngpios 778 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c u32 ngpios, pinconf_disable_mask = 0; ngpios 821 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c if (of_property_read_u32(dev->of_node, "ngpios", &ngpios)) { ngpios 830 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c gc->ngpio = ngpios; ngpios 831 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c chip->num_banks = (ngpios + NGPIOS_PER_BANK - 1) / NGPIOS_PER_BANK; ngpios 1449 drivers/pinctrl/intel/pinctrl-baytrail.c unsigned int ngpios) ngpios 1540 drivers/pinctrl/intel/pinctrl-cherryview.c unsigned int ngpios) ngpios 1197 drivers/pinctrl/pinctrl-oxnas.c unsigned int id, ngpios; ngpios 1208 drivers/pinctrl/pinctrl-oxnas.c ngpios = pinspec.args[2]; ngpios 1215 drivers/pinctrl/pinctrl-oxnas.c if (ngpios > PINS_PER_BANK) { ngpios 1234 drivers/pinctrl/pinctrl-oxnas.c bank->gpio_chip.ngpio = ngpios; ngpios 74 drivers/pinctrl/pinctrl-sx150x.c u8 ngpios; ngpios 86 drivers/pinctrl/pinctrl-sx150x.c u8 ngpios; ngpios 167 drivers/pinctrl/pinctrl-sx150x.c .ngpios = 4, ngpios 190 drivers/pinctrl/pinctrl-sx150x.c .ngpios = 8, ngpios 213 drivers/pinctrl/pinctrl-sx150x.c .ngpios = 16, ngpios 232 drivers/pinctrl/pinctrl-sx150x.c .ngpios = 4, ngpios 254 drivers/pinctrl/pinctrl-sx150x.c .ngpios = 8, ngpios 277 drivers/pinctrl/pinctrl-sx150x.c .ngpios = 16, ngpios 298 drivers/pinctrl/pinctrl-sx150x.c .ngpios = 4, ngpios 319 drivers/pinctrl/pinctrl-sx150x.c .ngpios = 8, ngpios 340 drivers/pinctrl/pinctrl-sx150x.c .ngpios = 16, ngpios 555 drivers/pinctrl/pinctrl-sx150x.c for_each_set_bit(n, &status, pctl->data->ngpios) ngpios 927 drivers/pinctrl/pinctrl-sx150x.c return 2 * data->ngpios; ngpios 941 drivers/pinctrl/pinctrl-sx150x.c return data->ngpios; ngpios 971 drivers/pinctrl/pinctrl-sx150x.c data->ngpios == 16 && ngpios 621 drivers/pinctrl/qcom/pinctrl-apq8064.c .ngpios = NUM_GPIO_PINGROUPS, ngpios 1199 drivers/pinctrl/qcom/pinctrl-apq8084.c .ngpios = NUM_GPIO_PINGROUPS, ngpios 700 drivers/pinctrl/qcom/pinctrl-ipq4019.c .ngpios = 100, ngpios 623 drivers/pinctrl/qcom/pinctrl-ipq8064.c .ngpios = NUM_GPIO_PINGROUPS, ngpios 1032 drivers/pinctrl/qcom/pinctrl-ipq8074.c .ngpios = 70, ngpios 438 drivers/pinctrl/qcom/pinctrl-mdm9615.c .ngpios = NUM_GPIO_PINGROUPS, ngpios 598 drivers/pinctrl/qcom/pinctrl-msm.c unsigned int ngpios) ngpios 608 drivers/pinctrl/qcom/pinctrl-msm.c bitmap_fill(valid_mask, ngpios); ngpios 610 drivers/pinctrl/qcom/pinctrl-msm.c if (i >= ngpios || reserved[i] >= ngpios) { ngpios 625 drivers/pinctrl/qcom/pinctrl-msm.c if (ret > ngpios) ngpios 638 drivers/pinctrl/qcom/pinctrl-msm.c bitmap_zero(valid_mask, ngpios); ngpios 1006 drivers/pinctrl/qcom/pinctrl-msm.c unsigned ngpio = pctrl->soc->ngpios; ngpios 112 drivers/pinctrl/qcom/pinctrl-msm.h unsigned ngpios; ngpios 973 drivers/pinctrl/qcom/pinctrl-msm8660.c .ngpios = NUM_GPIO_PINGROUPS, ngpios 961 drivers/pinctrl/qcom/pinctrl-msm8916.c .ngpios = NUM_GPIO_PINGROUPS, ngpios 1238 drivers/pinctrl/qcom/pinctrl-msm8960.c .ngpios = NUM_GPIO_PINGROUPS, ngpios 1334 drivers/pinctrl/qcom/pinctrl-msm8994.c .ngpios = NUM_GPIO_PINGROUPS, ngpios 1898 drivers/pinctrl/qcom/pinctrl-msm8996.c .ngpios = 150, ngpios 1513 drivers/pinctrl/qcom/pinctrl-msm8998.c .ngpios = 150, ngpios 1063 drivers/pinctrl/qcom/pinctrl-msm8x74.c .ngpios = NUM_GPIO_PINGROUPS, ngpios 1634 drivers/pinctrl/qcom/pinctrl-qcs404.c .ngpios = 120, ngpios 131 drivers/pinctrl/qcom/pinctrl-qdf2xxx.c pinctrl->ngpios = num_gpios; ngpios 1109 drivers/pinctrl/qcom/pinctrl-sc7180.c .ngpios = 120, ngpios 1418 drivers/pinctrl/qcom/pinctrl-sdm660.c .ngpios = 114, ngpios 1292 drivers/pinctrl/qcom/pinctrl-sdm845.c .ngpios = 151, ngpios 1301 drivers/pinctrl/qcom/pinctrl-sdm845.c .ngpios = 150, ngpios 1510 drivers/pinctrl/qcom/pinctrl-sm8150.c .ngpios = 176, ngpios 760 drivers/pinctrl/tegra/pinctrl-tegra.c tegra_pinctrl_gpio_range.npins = pmx->soc->ngpios; ngpios 184 drivers/pinctrl/tegra/pinctrl-tegra.h unsigned ngpios; ngpios 1833 drivers/pinctrl/tegra/pinctrl-tegra114.c .ngpios = NUM_GPIOS, ngpios 2045 drivers/pinctrl/tegra/pinctrl-tegra124.c .ngpios = NUM_GPIOS, ngpios 136 drivers/pinctrl/tegra/pinctrl-tegra194.c .ngpios = TEGRA_PIN_NUM_GPIOS, ngpios 2215 drivers/pinctrl/tegra/pinctrl-tegra20.c .ngpios = NUM_GPIOS, ngpios 1547 drivers/pinctrl/tegra/pinctrl-tegra210.c .ngpios = NUM_GPIOS, ngpios 2468 drivers/pinctrl/tegra/pinctrl-tegra30.c .ngpios = NUM_GPIOS, ngpios 166 drivers/platform/x86/intel_int0002_vgpio.c unsigned int ngpios) ngpios 136 drivers/regulator/gpio-regulator.c int ngpios; ngpios 157 drivers/regulator/gpio-regulator.c ngpios = gpiod_count(dev, NULL); ngpios 158 drivers/regulator/gpio-regulator.c if (ngpios > 0) { ngpios 161 drivers/regulator/gpio-regulator.c * ngpios, ngpios 166 drivers/regulator/gpio-regulator.c for (i = 0; i < ngpios; i++) { ngpios 180 drivers/regulator/gpio-regulator.c config->ngpios = ngpios; ngpios 257 drivers/regulator/gpio-regulator.c for (i = 0; i < config->ngpios; i++) { ngpios 267 drivers/regulator/gpio-regulator.c drvdata->nr_gpios = config->ngpios; ngpios 223 include/linux/gpio/driver.h unsigned int ngpios); ngpios 377 include/linux/gpio/driver.h unsigned int ngpios); ngpios 12 include/linux/platform_data/gpio-ath79.h unsigned ngpios; ngpios 70 include/linux/regulator/gpio-regulator.h int ngpios;