ngpio 622 arch/arm/common/sa1111.c sachip->gc.ngpio = 18; ngpio 217 arch/arm/common/scoop.c devptr->gpio.ngpio = 12; /* PA11 = 0, PA12 = 1, etc. up to PA22 = 11 */ ngpio 458 arch/arm/mach-davinci/board-da830-evm.c int gpio, unsigned ngpio, void *context) ngpio 473 arch/arm/mach-davinci/board-da830-evm.c unsigned ngpio, void *context) ngpio 464 arch/arm/mach-davinci/board-da850-evm.c unsigned ngpio, void *c) ngpio 523 arch/arm/mach-davinci/board-da850-evm.c unsigned gpio, unsigned ngpio, void *c) ngpio 672 arch/arm/mach-davinci/board-da850-evm.c unsigned gpio, unsigned ngpio, ngpio 704 arch/arm/mach-davinci/board-da850-evm.c unsigned gpio, unsigned ngpio, void *c) ngpio 341 arch/arm/mach-davinci/board-dm644x-evm.c evm_led_setup(struct i2c_client *client, int gpio, unsigned ngpio, void *c) ngpio 346 arch/arm/mach-davinci/board-dm644x-evm.c while (ngpio--) { ngpio 368 arch/arm/mach-davinci/board-dm644x-evm.c evm_led_teardown(struct i2c_client *client, int gpio, unsigned ngpio, void *c) ngpio 400 arch/arm/mach-davinci/board-dm644x-evm.c evm_u18_setup(struct i2c_client *client, int gpio, unsigned ngpio, void *c) ngpio 430 arch/arm/mach-davinci/board-dm644x-evm.c evm_u18_teardown(struct i2c_client *client, int gpio, unsigned ngpio, void *c) ngpio 454 arch/arm/mach-davinci/board-dm644x-evm.c evm_u35_setup(struct i2c_client *client, int gpio, unsigned ngpio, void *c) ngpio 490 arch/arm/mach-davinci/board-dm644x-evm.c evm_u35_teardown(struct i2c_client *client, int gpio, unsigned ngpio, void *c) ngpio 220 arch/arm/mach-davinci/board-dm646x-evm.c unsigned int ngpio, void *c) ngpio 225 arch/arm/mach-davinci/board-dm646x-evm.c while (ngpio--) { ngpio 244 arch/arm/mach-davinci/board-dm646x-evm.c unsigned ngpio, void *c) ngpio 256 arch/arm/mach-davinci/board-dm646x-evm.c unsigned ngpio, void *c) ngpio 295 arch/arm/mach-davinci/board-dm646x-evm.c unsigned ngpio, void *c) ngpio 310 arch/arm/mach-davinci/board-dm646x-evm.c unsigned int ngpio, void *c) ngpio 314 arch/arm/mach-davinci/board-dm646x-evm.c if (ngpio < 8) ngpio 325 arch/arm/mach-davinci/board-dm646x-evm.c unsigned int ngpio, void *c) ngpio 327 arch/arm/mach-davinci/board-dm646x-evm.c BUG_ON(ngpio < 8); ngpio 672 arch/arm/mach-davinci/da830.c .ngpio = 128, ngpio 600 arch/arm/mach-davinci/da850.c .ngpio = 144, ngpio 592 arch/arm/mach-davinci/dm355.c .ngpio = 104, ngpio 315 arch/arm/mach-davinci/dm365.c .ngpio = 104, ngpio 526 arch/arm/mach-davinci/dm644x.c .ngpio = 71, ngpio 466 arch/arm/mach-davinci/dm646x.c .ngpio = 43, ngpio 172 arch/arm/mach-imx/mach-mx21ads.c .ngpio = 16, ngpio 244 arch/arm/mach-imx/mach-mx27ads.c vchip->ngpio = 1; ngpio 184 arch/arm/mach-omap1/board-ams-delta.c .ngpio = LATCH1_NGPIO, ngpio 222 arch/arm/mach-omap1/board-ams-delta.c .ngpio = LATCH2_NGPIO, ngpio 102 arch/arm/mach-omap2/pdata-quirks.c unsigned ngpio) ngpio 741 arch/arm/mach-pxa/zeus.c unsigned ngpio, void *context) ngpio 164 arch/arm/mach-s3c24xx/mach-h1940.c .ngpio = 16, ngpio 386 arch/arm/mach-sa1100/simpad.c cs3_gpio.ngpio = 24; ngpio 136 arch/arm/plat-orion/gpio.c if (pin >= ochip->chip.ngpio) ngpio 242 arch/arm/plat-orion/gpio.c if (pin >= chip->base && pin < chip->base + chip->ngpio) ngpio 416 arch/arm/plat-orion/gpio.c for (i = 0; i < ochip->chip.ngpio; i++) { ngpio 456 arch/arm/plat-orion/gpio.c for (i = 0; i < chip->ngpio; i++) { ngpio 524 arch/arm/plat-orion/gpio.c int gpio_base, int ngpio, ngpio 550 arch/arm/plat-orion/gpio.c ochip->chip.ngpio = ngpio; ngpio 608 arch/arm/plat-orion/gpio.c irq_setup_generic_chip(gc, IRQ_MSK(ngpio), IRQ_GC_INIT_MASK_CACHE, ngpio 613 arch/arm/plat-orion/gpio.c ochip->chip.ngpio, ngpio 34 arch/arm/plat-orion/include/plat/orion-gpio.h int gpio_base, int ngpio, ngpio 245 arch/arm/plat-samsung/gpio-samsung.c if (off < 8 && chip->chip.ngpio > 8) ngpio 280 arch/arm/plat-samsung/gpio-samsung.c if (off < 8 && chip->chip.ngpio > 8) ngpio 706 arch/arm/plat-samsung/gpio-samsung.c for (i = 0; i < chip->chip.ngpio; i++, gpn++) { ngpio 730 arch/arm/plat-samsung/gpio-samsung.c BUG_ON(!gc->ngpio); ngpio 904 arch/arm/plat-samsung/gpio-samsung.c .ngpio = 27, ngpio 913 arch/arm/plat-samsung/gpio-samsung.c .ngpio = 11, ngpio 920 arch/arm/plat-samsung/gpio-samsung.c .ngpio = 16, ngpio 927 arch/arm/plat-samsung/gpio-samsung.c .ngpio = 16, ngpio 934 arch/arm/plat-samsung/gpio-samsung.c .ngpio = 16, ngpio 941 arch/arm/plat-samsung/gpio-samsung.c .ngpio = 8, ngpio 950 arch/arm/plat-samsung/gpio-samsung.c .ngpio = 16, ngpio 958 arch/arm/plat-samsung/gpio-samsung.c .ngpio = 15, ngpio 968 arch/arm/plat-samsung/gpio-samsung.c .ngpio = 16, ngpio 976 arch/arm/plat-samsung/gpio-samsung.c .ngpio = 16, ngpio 984 arch/arm/plat-samsung/gpio-samsung.c .ngpio = 15, ngpio 992 arch/arm/plat-samsung/gpio-samsung.c .ngpio = 2, ngpio 1029 arch/arm/plat-samsung/gpio-samsung.c .ngpio = S3C64XX_GPIO_A_NR, ngpio 1035 arch/arm/plat-samsung/gpio-samsung.c .ngpio = S3C64XX_GPIO_B_NR, ngpio 1041 arch/arm/plat-samsung/gpio-samsung.c .ngpio = S3C64XX_GPIO_C_NR, ngpio 1047 arch/arm/plat-samsung/gpio-samsung.c .ngpio = S3C64XX_GPIO_D_NR, ngpio 1054 arch/arm/plat-samsung/gpio-samsung.c .ngpio = S3C64XX_GPIO_E_NR, ngpio 1061 arch/arm/plat-samsung/gpio-samsung.c .ngpio = S3C64XX_GPIO_G_NR, ngpio 1069 arch/arm/plat-samsung/gpio-samsung.c .ngpio = S3C64XX_GPIO_M_NR, ngpio 1083 arch/arm/plat-samsung/gpio-samsung.c .ngpio = S3C64XX_GPIO_H_NR, ngpio 1091 arch/arm/plat-samsung/gpio-samsung.c .ngpio = S3C64XX_GPIO_K_NR, ngpio 1099 arch/arm/plat-samsung/gpio-samsung.c .ngpio = S3C64XX_GPIO_L_NR, ngpio 1114 arch/arm/plat-samsung/gpio-samsung.c .ngpio = S3C64XX_GPIO_F_NR, ngpio 1121 arch/arm/plat-samsung/gpio-samsung.c .ngpio = S3C64XX_GPIO_I_NR, ngpio 1128 arch/arm/plat-samsung/gpio-samsung.c .ngpio = S3C64XX_GPIO_J_NR, ngpio 1135 arch/arm/plat-samsung/gpio-samsung.c .ngpio = S3C64XX_GPIO_O_NR, ngpio 1142 arch/arm/plat-samsung/gpio-samsung.c .ngpio = S3C64XX_GPIO_P_NR, ngpio 1149 arch/arm/plat-samsung/gpio-samsung.c .ngpio = S3C64XX_GPIO_Q_NR, ngpio 1158 arch/arm/plat-samsung/gpio-samsung.c .ngpio = S3C64XX_GPIO_N_NR, ngpio 119 arch/arm/plat-samsung/include/plat/gpio-core.h return ((pin - chip->chip.base) < chip->chip.ngpio) ? chip : NULL; ngpio 198 arch/arm/plat-samsung/pm-gpio.c if (chip->chip.ngpio > 8) ngpio 269 arch/arm/plat-samsung/pm-gpio.c if (chip->chip.ngpio > 8) { ngpio 278 arch/arm/plat-samsung/pm-gpio.c if (chip->chip.ngpio > 8) ngpio 284 arch/arm/plat-samsung/pm-gpio.c if (chip->chip.ngpio > 8) { ngpio 344 arch/arm/plat-samsung/pm-gpio.c gpio_nr += ourchip->chip.ngpio; ngpio 377 arch/arm/plat-samsung/pm-gpio.c gpio_nr += ourchip->chip.ngpio; ngpio 164 arch/m68k/coldfire/gpio.c .ngpio = MCFGPIO_PIN_MAX, ngpio 105 arch/mips/alchemy/common/gpiolib.c .ngpio = ALCHEMY_GPIO1_NUM, ngpio 115 arch/mips/alchemy/common/gpiolib.c .ngpio = ALCHEMY_GPIO2_NUM, ngpio 153 arch/mips/alchemy/common/gpiolib.c .ngpio = AU1300_GPIO_NUM, ngpio 127 arch/mips/ar7/gpio.c .ngpio = AR7_GPIO_MAX, ngpio 139 arch/mips/ar7/gpio.c .ngpio = TITAN_GPIO_MAX, ngpio 325 arch/mips/ar7/gpio.c gpch->chip.label, gpch->chip.ngpio); ngpio 46 arch/mips/bcm63xx/gpio.c if (gpio >= chip->ngpio) ngpio 73 arch/mips/bcm63xx/gpio.c if (gpio >= chip->ngpio) ngpio 95 arch/mips/bcm63xx/gpio.c if (gpio >= chip->ngpio) ngpio 147 arch/mips/bcm63xx/gpio.c bcm63xx_gpio_chip.ngpio = bcm63xx_gpio_count(); ngpio 148 arch/mips/bcm63xx/gpio.c pr_info("registering %d GPIOs\n", bcm63xx_gpio_chip.ngpio); ngpio 84 arch/mips/kernel/gpio_txx9.c txx9_gpio_chip.ngpio = num; ngpio 158 arch/mips/rb532/gpio.c .ngpio = 32, ngpio 745 arch/mips/txx9/generic/setup.c iocled->chip.ngpio = num; ngpio 272 arch/mips/txx9/rbtx4938/setup.c .ngpio = 3, ngpio 178 arch/powerpc/platforms/4xx/gpio.c gc->ngpio = 32; ngpio 336 arch/powerpc/platforms/52xx/mpc52xx_gpt.c gpt->gc.ngpio = 1; ngpio 129 arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c gc->ngpio = MCU_NUM_GPIO; ngpio 659 arch/powerpc/platforms/8xx/cpm1.c gc->ngpio = 16; ngpio 779 arch/powerpc/platforms/8xx/cpm1.c gc->ngpio = 32; ngpio 207 arch/powerpc/sysdev/cpm_common.c gc->ngpio = 32; ngpio 97 arch/powerpc/sysdev/simple_gpio.c gc->ngpio = 8; ngpio 39 arch/sh/boards/mach-sdk7786/gpio.c .ngpio = NR_FPGA_GPIOS, ngpio 52 arch/sh/boards/mach-x3proto/gpio.c if (gpio < chip->ngpio) ngpio 82 arch/sh/boards/mach-x3proto/gpio.c .ngpio = NR_BASEBOARD_GPIOS, ngpio 119 arch/sh/boards/mach-x3proto/gpio.c x3proto_gpio_chip.base + x3proto_gpio_chip.ngpio, ngpio 94 arch/unicore32/kernel/gpio.c .ngpio = GPIO_MAX + 1, ngpio 115 drivers/bcma/driver_gpio.c for_each_set_bit(gpio, &irqs, gc->ngpio) ngpio 196 drivers/bcma/driver_gpio.c chip->ngpio = 32; ngpio 199 drivers/bcma/driver_gpio.c chip->ngpio = 16; ngpio 193 drivers/gpio/gpio-104-dio-48e.c bitmap_zero(bits, chip->ngpio); ngpio 255 drivers/gpio/gpio-104-dio-48e.c for (i = 0; i < chip->ngpio; i += gpio_reg_size) { ngpio 419 drivers/gpio/gpio-104-dio-48e.c dio48egpio->chip.ngpio = DIO48E_NGPIO; ngpio 99 drivers/gpio/gpio-104-idi-48.c bitmap_zero(bits, chip->ngpio); ngpio 292 drivers/gpio/gpio-104-idi-48.c idi48gpio->chip.ngpio = IDI48_NGPIO; ngpio 207 drivers/gpio/gpio-104-idio-16.c for_each_set_bit(gpio, &idio16gpio->irq_mask, chip->ngpio) ngpio 247 drivers/gpio/gpio-104-idio-16.c idio16gpio->chip.ngpio = IDIO_16_NGPIO; ngpio 143 drivers/gpio/gpio-74x164.c chip->gpio_chip.ngpio = GEN_74X164_NUMBER_GPIOS * chip->registers; ngpio 127 drivers/gpio/gpio-74xx-mmio.c priv->gc.ngpio = MMIO_74XX_BIT_CNT(priv->flags); ngpio 258 drivers/gpio/gpio-adnp.c chip->ngpio = num_gpios; ngpio 129 drivers/gpio/gpio-adp5520.c gc->ngpio = gpios; ngpio 363 drivers/gpio/gpio-adp5588.c gc->ngpio = ADP5588_MAXGPIO; ngpio 401 drivers/gpio/gpio-adp5588.c ret = pdata->setup(client, gc->base, gc->ngpio, pdata->context); ngpio 420 drivers/gpio/gpio-adp5588.c dev->gpio_chip.base, dev->gpio_chip.ngpio, ngpio 74 drivers/gpio/gpio-altera-a10sr.c .ngpio = 12, ngpio 203 drivers/gpio/gpio-altera.c for_each_set_bit(i, &status, mm_gc->gc.ngpio) { ngpio 230 drivers/gpio/gpio-altera.c for_each_set_bit(i, &status, mm_gc->gc.ngpio) { ngpio 251 drivers/gpio/gpio-altera.c altera_gc->mmchip.gc.ngpio = ALTERA_GPIO_MAX_NGPIO; ngpio 253 drivers/gpio/gpio-altera.c altera_gc->mmchip.gc.ngpio = reg; ngpio 255 drivers/gpio/gpio-altera.c if (altera_gc->mmchip.gc.ngpio > ALTERA_GPIO_MAX_NGPIO) { ngpio 259 drivers/gpio/gpio-altera.c altera_gc->mmchip.gc.ngpio = ALTERA_GPIO_MAX_NGPIO; ngpio 159 drivers/gpio/gpio-amd-fch.c priv->gc.ngpio = priv->pdata->gpio_num; ngpio 166 drivers/gpio/gpio-amd8111.c .ngpio = 32, ngpio 108 drivers/gpio/gpio-amdpt.c pt_gpio->gc.ngpio = PT_TOTAL_GPIO; ngpio 168 drivers/gpio/gpio-arizona.c arizona_gpio->gpio_chip.ngpio = 5; ngpio 172 drivers/gpio/gpio-arizona.c arizona_gpio->gpio_chip.ngpio = 2; ngpio 671 drivers/gpio/gpio-aspeed.c banks = DIV_ROUND_UP(gpio->chip.ngpio, 32); ngpio 702 drivers/gpio/gpio-aspeed.c if (i >= gpio->chip.ngpio) ngpio 1015 drivers/gpio/gpio-aspeed.c gpio->cf_copro_bankmap = kzalloc(gpio->chip.ngpio >> 3, GFP_KERNEL); ngpio 1018 drivers/gpio/gpio-aspeed.c if (offset < 0 || offset > gpio->chip.ngpio) ngpio 1063 drivers/gpio/gpio-aspeed.c if (offset < 0 || offset > gpio->chip.ngpio) ngpio 1144 drivers/gpio/gpio-aspeed.c u32 ngpio; ngpio 1170 drivers/gpio/gpio-aspeed.c err = of_property_read_u32(pdev->dev.of_node, "ngpios", &ngpio); ngpio 1171 drivers/gpio/gpio-aspeed.c gpio->chip.ngpio = (u16) ngpio; ngpio 1173 drivers/gpio/gpio-aspeed.c gpio->chip.ngpio = gpio->config->nr_gpios; ngpio 1186 drivers/gpio/gpio-aspeed.c banks = DIV_ROUND_UP(gpio->chip.ngpio, 32); ngpio 1233 drivers/gpio/gpio-aspeed.c devm_kzalloc(&pdev->dev, gpio->chip.ngpio, GFP_KERNEL); ngpio 207 drivers/gpio/gpio-ath79.c for_each_set_bit(irq, &pending, gc->ngpio) ngpio 257 drivers/gpio/gpio-bcm-kona.c if (gpio >= kona_gpio->gpio_chip.ngpio) ngpio 609 drivers/gpio/gpio-bcm-kona.c chip->ngpio = kona_gpio->num_bank * GPIO_PER_BANK; ngpio 612 drivers/gpio/gpio-bcm-kona.c chip->ngpio, ngpio 206 drivers/gpio/gpio-bd70528.c bdgpio->gpio.ngpio = 4; ngpio 99 drivers/gpio/gpio-bd9571mwv.c .ngpio = 2, ngpio 317 drivers/gpio/gpio-brcmstb.c i += bank->gc.ngpio; ngpio 434 drivers/gpio/gpio-brcmstb.c if (offset >= gc->ngpio || offset < 0) ngpio 718 drivers/gpio/gpio-brcmstb.c gc->ngpio = MAX_GPIO_PER_BANK; ngpio 735 drivers/gpio/gpio-brcmstb.c gpio_base += gc->ngpio; ngpio 738 drivers/gpio/gpio-brcmstb.c gc->base, gc->ngpio, bank->width); ngpio 159 drivers/gpio/gpio-bt8xx.c c->ngpio = BT8XXGPIO_NR_GPIOS; ngpio 135 drivers/gpio/gpio-cadence.c for_each_set_bit(hwirq, &status, chip->ngpio) ngpio 195 drivers/gpio/gpio-cadence.c cgpio->gc.ngpio = num_gpios; ngpio 57 drivers/gpio/gpio-clps711x.c gc->ngpio = 3; ngpio 16 drivers/gpio/gpio-creg-snps.c u8 ngpio; ngpio 87 drivers/gpio/gpio-creg-snps.c if (hcg->layout->ngpio < 1 || hcg->layout->ngpio > MAX_GPIO) ngpio 90 drivers/gpio/gpio-creg-snps.c if (ngpios < 1 || ngpios > hcg->layout->ngpio) { ngpio 91 drivers/gpio/gpio-creg-snps.c dev_err(dev, "ngpios must be in [1:%u]\n", hcg->layout->ngpio); ngpio 95 drivers/gpio/gpio-creg-snps.c for (i = 0; i < hcg->layout->ngpio; i++) { ngpio 110 drivers/gpio/gpio-creg-snps.c .ngpio = 10, ngpio 118 drivers/gpio/gpio-creg-snps.c .ngpio = 1, ngpio 168 drivers/gpio/gpio-creg-snps.c hcg->gc.ngpio = ngpios; ngpio 350 drivers/gpio/gpio-crystalcove.c cg->chip.ngpio = CRYSTALCOVE_VGPIO_NUM; ngpio 292 drivers/gpio/gpio-cs5535.c .ngpio = 32, ngpio 191 drivers/gpio/gpio-da9052.c .ngpio = 16, ngpio 128 drivers/gpio/gpio-da9055.c .ngpio = 3, ngpio 175 drivers/gpio/gpio-davinci.c pdata->ngpio = val; ngpio 193 drivers/gpio/gpio-davinci.c unsigned int ngpio, nbank, nirq; ngpio 211 drivers/gpio/gpio-davinci.c ngpio = pdata->ngpio; ngpio 212 drivers/gpio/gpio-davinci.c if (ngpio == 0) { ngpio 217 drivers/gpio/gpio-davinci.c if (WARN_ON(ARCH_NR_GPIOS < ngpio)) ngpio 218 drivers/gpio/gpio-davinci.c ngpio = ARCH_NR_GPIOS; ngpio 228 drivers/gpio/gpio-davinci.c nirq = DIV_ROUND_UP(ngpio, 16); ngpio 255 drivers/gpio/gpio-davinci.c chips->chip.ngpio = ngpio; ngpio 270 drivers/gpio/gpio-davinci.c nbank = DIV_ROUND_UP(ngpio, 32); ngpio 495 drivers/gpio/gpio-davinci.c unsigned ngpio; ngpio 515 drivers/gpio/gpio-davinci.c ngpio = pdata->ngpio; ngpio 528 drivers/gpio/gpio-davinci.c irq = devm_irq_alloc_descs(dev, -1, 0, ngpio, 0); ngpio 535 drivers/gpio/gpio-davinci.c irq_domain = irq_domain_add_legacy(dev->of_node, ngpio, irq, 0, ngpio 591 drivers/gpio/gpio-davinci.c for (gpio = 0, bank = 0; gpio < ngpio; bank++, gpio += 16) { ngpio 414 drivers/gpio/gpio-dln2.c if (pin >= dln2->gpio.ngpio) { ngpio 468 drivers/gpio/gpio-dln2.c dln2->gpio.ngpio = pins; ngpio 391 drivers/gpio/gpio-dwapb.c unsigned int hwirq, ngpio = gc->ngpio; ngpio 395 drivers/gpio/gpio-dwapb.c gpio->domain = irq_domain_create_linear(fwnode, ngpio, ngpio 400 drivers/gpio/gpio-dwapb.c err = irq_alloc_domain_generic_chips(gpio->domain, ngpio, 2, ngpio 446 drivers/gpio/gpio-dwapb.c for (i = 0; i < pp->ngpio; i++) { ngpio 467 drivers/gpio/gpio-dwapb.c for (hwirq = 0 ; hwirq < ngpio ; hwirq++) ngpio 477 drivers/gpio/gpio-dwapb.c unsigned int ngpio = gc->ngpio; ngpio 483 drivers/gpio/gpio-dwapb.c for (hwirq = 0 ; hwirq < ngpio ; hwirq++) ngpio 525 drivers/gpio/gpio-dwapb.c port->gc.ngpio = pp->ngpio; ngpio 597 drivers/gpio/gpio-dwapb.c &pp->ngpio)) { ngpio 601 drivers/gpio/gpio-dwapb.c pp->ngpio = 32; ngpio 619 drivers/gpio/gpio-dwapb.c for (j = 0; j < pp->ngpio; j++) { ngpio 506 drivers/gpio/gpio-eic-sprd.c for (bank = 0; bank * SPRD_EIC_PER_BANK_NR < chip->ngpio; bank++) { ngpio 604 drivers/gpio/gpio-eic-sprd.c sprd_eic->chip.ngpio = pdata->num_eics; ngpio 326 drivers/gpio/gpio-em.c gpio_chip->ngpio = ngpios; ngpio 162 drivers/gpio/gpio-exar.c exar_gpio->gpio_chip.ngpio = ngpios; ngpio 150 drivers/gpio/gpio-f7188x.c .ngpio = _ngpio, \ ngpio 151 drivers/gpio/gpio-ftgpio010.c for_each_set_bit(offset, &stat, gc->ngpio) ngpio 83 drivers/gpio/gpio-ge.c gc->ngpio = (u16)(uintptr_t)of_device_get_match_data(&pdev->dev); ngpio 182 drivers/gpio/gpio-gpio-mm.c bitmap_zero(bits, chip->ngpio); ngpio 245 drivers/gpio/gpio-gpio-mm.c for (i = 0; i < chip->ngpio; i += gpio_reg_size) { ngpio 303 drivers/gpio/gpio-gpio-mm.c gpiommgpio->chip.ngpio = GPIOMM_NGPIO; ngpio 106 drivers/gpio/gpio-grgpio.c if (offset >= gc->ngpio) ngpio 197 drivers/gpio/gpio-grgpio.c int ngpio = priv->gc.ngpio; ngpio 208 drivers/gpio/gpio-grgpio.c for (i = 0; i < ngpio; i++) { ngpio 287 drivers/gpio/gpio-grgpio.c int ngpio = priv->gc.ngpio; ngpio 297 drivers/gpio/gpio-grgpio.c for (i = 0; i < ngpio; i++) { ngpio 369 drivers/gpio/gpio-grgpio.c gc->ngpio = GRGPIO_MAX_NGPIO; ngpio 371 drivers/gpio/gpio-grgpio.c "No or invalid nbits property: assume %d\n", gc->ngpio); ngpio 373 drivers/gpio/gpio-grgpio.c gc->ngpio = prop; ngpio 382 drivers/gpio/gpio-grgpio.c if (size < gc->ngpio) { ngpio 385 drivers/gpio/gpio-grgpio.c size, gc->ngpio); ngpio 389 drivers/gpio/gpio-grgpio.c priv->domain = irq_domain_add_linear(np, gc->ngpio, ngpio 397 drivers/gpio/gpio-grgpio.c for (i = 0; i < gc->ngpio; i++) { ngpio 430 drivers/gpio/gpio-grgpio.c priv->regs, gc->base, gc->ngpio, priv->domain ? "on" : "off"); ngpio 88 drivers/gpio/gpio-gw-pld.c gw->chip.ngpio = 8; ngpio 245 drivers/gpio/gpio-hlwd.c hlwd->gpioc.ngpio = ngpios; ngpio 237 drivers/gpio/gpio-htc-egpio.c for (shift = 0; shift < egpio->chip.ngpio; ngpio 336 drivers/gpio/gpio-htc-egpio.c chip->ngpio = pdata->chip[i].num_gpios; ngpio 61 drivers/gpio/gpio-ich.c uint ngpio; ngpio 276 drivers/gpio/gpio-ich.c chip->ngpio = ichx_priv.desc->ngpio; ngpio 290 drivers/gpio/gpio-ich.c .ngpio = 50, ngpio 312 drivers/gpio/gpio-ich.c .ngpio = 50, ngpio 319 drivers/gpio/gpio-ich.c .ngpio = 50, ngpio 327 drivers/gpio/gpio-ich.c .ngpio = 61, ngpio 335 drivers/gpio/gpio-ich.c .ngpio = 61, ngpio 341 drivers/gpio/gpio-ich.c .ngpio = 72, ngpio 349 drivers/gpio/gpio-ich.c .ngpio = 76, ngpio 359 drivers/gpio/gpio-ich.c .ngpio = 60, ngpio 466 drivers/gpio/gpio-ich.c ichx_priv.chip.base + ichx_priv.chip.ngpio - 1); ngpio 56 drivers/gpio/gpio-intel-mid.c u16 ngpio; /* number of gpio pins */ ngpio 71 drivers/gpio/gpio-intel-mid.c unsigned nreg = chip->ngpio / 32; ngpio 81 drivers/gpio/gpio-intel-mid.c unsigned nreg = chip->ngpio / 32; ngpio 176 drivers/gpio/gpio-intel-mid.c if (gpio >= priv->chip.ngpio) ngpio 218 drivers/gpio/gpio-intel-mid.c .ngpio = 64, ngpio 222 drivers/gpio/gpio-intel-mid.c .ngpio = 96, ngpio 227 drivers/gpio/gpio-intel-mid.c .ngpio = 96, ngpio 232 drivers/gpio/gpio-intel-mid.c .ngpio = 96, ngpio 237 drivers/gpio/gpio-intel-mid.c .ngpio = 96, ngpio 281 drivers/gpio/gpio-intel-mid.c for (base = 0; base < priv->chip.ngpio; base += 32) { ngpio 302 drivers/gpio/gpio-intel-mid.c for (base = 0; base < priv->chip.ngpio; base += 32) { ngpio 370 drivers/gpio/gpio-intel-mid.c priv->chip.ngpio = ddata->ngpio; ngpio 306 drivers/gpio/gpio-it87.c it87_gpio->chip.ngpio = 64; /* has 48, use 64 for convenient calc */ ngpio 314 drivers/gpio/gpio-it87.c it87_gpio->chip.ngpio = 64; ngpio 326 drivers/gpio/gpio-it87.c it87_gpio->chip.ngpio = 64; ngpio 333 drivers/gpio/gpio-it87.c it87_gpio->chip.ngpio = 16; ngpio 356 drivers/gpio/gpio-it87.c chip_type, chip_rev, it87_gpio->chip.ngpio, ngpio 373 drivers/gpio/gpio-it87.c labels = kcalloc(it87_gpio->chip.ngpio, sizeof("it87_gpXY"), ngpio 375 drivers/gpio/gpio-it87.c labels_table = kcalloc(it87_gpio->chip.ngpio, sizeof(const char *), ngpio 383 drivers/gpio/gpio-it87.c for (i = 0; i < it87_gpio->chip.ngpio; i++) { ngpio 273 drivers/gpio/gpio-ixp4xx.c g->gc.ngpio = 16; ngpio 177 drivers/gpio/gpio-janz-ttl.c gpio->ngpio = 20; ngpio 167 drivers/gpio/gpio-kempld.c chip->ngpio = kempld_gpio_pincount(pld); ngpio 168 drivers/gpio/gpio-kempld.c if (chip->ngpio == 0) { ngpio 180 drivers/gpio/gpio-kempld.c chip->ngpio); ngpio 105 drivers/gpio/gpio-loongson.c gc->ngpio = LOONGSON_N_GPIO; ngpio 184 drivers/gpio/gpio-lp3943.c .ngpio = LP3943_MAX_GPIO, ngpio 138 drivers/gpio/gpio-lp873x.c .ngpio = 2, ngpio 147 drivers/gpio/gpio-lp87565.c .ngpio = 3, ngpio 323 drivers/gpio/gpio-lpc18xx.c .ngpio = LPC18XX_MAX_PORTS * LPC18XX_PINS_PER_PORT, ngpio 376 drivers/gpio/gpio-lpc32xx.c if (pin < chip->ngpio) ngpio 408 drivers/gpio/gpio-lpc32xx.c .ngpio = LPC32XX_GPIO_P0_MAX, ngpio 424 drivers/gpio/gpio-lpc32xx.c .ngpio = LPC32XX_GPIO_P1_MAX, ngpio 439 drivers/gpio/gpio-lpc32xx.c .ngpio = LPC32XX_GPIO_P2_MAX, ngpio 455 drivers/gpio/gpio-lpc32xx.c .ngpio = LPC32XX_GPIO_P3_MAX, ngpio 469 drivers/gpio/gpio-lpc32xx.c .ngpio = LPC32XX_GPI_P3_MAX, ngpio 483 drivers/gpio/gpio-lpc32xx.c .ngpio = LPC32XX_GPO_P3_MAX, ngpio 144 drivers/gpio/gpio-lynxpoint.c if (hwirq >= lg->chip.ngpio) ngpio 239 drivers/gpio/gpio-lynxpoint.c for (base = 0; base < lg->chip.ngpio; base += 32) { ngpio 309 drivers/gpio/gpio-lynxpoint.c for (base = 0; base < lg->chip.ngpio; base += 32) { ngpio 366 drivers/gpio/gpio-lynxpoint.c gc->ngpio = LP_NUM_GPIO; ngpio 417 drivers/gpio/gpio-lynxpoint.c for (i = 0; i < lg->chip.ngpio; i++) { ngpio 140 drivers/gpio/gpio-madera.c madera_gpio->gpio_chip.ngpio = CS47L15_NUM_GPIOS; ngpio 143 drivers/gpio/gpio-madera.c madera_gpio->gpio_chip.ngpio = CS47L35_NUM_GPIOS; ngpio 147 drivers/gpio/gpio-madera.c madera_gpio->gpio_chip.ngpio = CS47L85_NUM_GPIOS; ngpio 151 drivers/gpio/gpio-madera.c madera_gpio->gpio_chip.ngpio = CS47L90_NUM_GPIOS; ngpio 156 drivers/gpio/gpio-madera.c madera_gpio->gpio_chip.ngpio = CS47L92_NUM_GPIOS; ngpio 187 drivers/gpio/gpio-madera.c 0, 0, madera_gpio->gpio_chip.ngpio); ngpio 242 drivers/gpio/gpio-max3191x.c while ((bit = find_next_bit(mask, gpio->ngpio, bit)) != gpio->ngpio) { ngpio 422 drivers/gpio/gpio-max3191x.c max3191x->gpio.ngpio = max3191x->nchips * MAX3191X_NGPIO; ngpio 187 drivers/gpio/gpio-max730x.c ts->chip.ngpio = PIN_NUMBER; ngpio 595 drivers/gpio/gpio-max732x.c gc->ngpio = port; ngpio 708 drivers/gpio/gpio-max732x.c chip->gpio_chip.ngpio, pdata->context); ngpio 726 drivers/gpio/gpio-max732x.c chip->gpio_chip.ngpio, pdata->context); ngpio 291 drivers/gpio/gpio-max77620.c mgpio->gpio_chip.ngpio = MAX77620_GPIO_NR; ngpio 163 drivers/gpio/gpio-max77650.c chip->gc.ngpio = 1; ngpio 190 drivers/gpio/gpio-mb86s7x.c gchip->gc.ngpio = 32; ngpio 105 drivers/gpio/gpio-mc33880.c mc->chip.ngpio = PIN_NUMBER; ngpio 89 drivers/gpio/gpio-mc9s08dz60.c mc9s->chip.ngpio = GPIO_NUM; ngpio 343 drivers/gpio/gpio-merrifield.c for (base = 0; base < priv->chip.ngpio; base += 32) { ngpio 370 drivers/gpio/gpio-merrifield.c for (base = 0; base < priv->chip.ngpio; base += 32) { ngpio 442 drivers/gpio/gpio-merrifield.c priv->chip.ngpio = MRFLD_NGPIO; ngpio 230 drivers/gpio/gpio-ml-ioh.c gpio->ngpio = num_port; ngpio 77 drivers/gpio/gpio-mlxbf.c gc->ngpio = MLXBF_GPIO_NR; ngpio 112 drivers/gpio/gpio-mm-lantiq.c chip->mmchip.gc.ngpio = 16; ngpio 199 drivers/gpio/gpio-mmio.c while ((bit = find_next_bit(mask, gc->ngpio, bit + 1)) < gc->ngpio) ngpio 210 drivers/gpio/gpio-mmio.c while ((bit = find_next_bit(&val, gc->ngpio, bit + 1)) < gc->ngpio) ngpio 549 drivers/gpio/gpio-mmio.c if (gpio_pin < chip->ngpio) ngpio 600 drivers/gpio/gpio-mmio.c gc->ngpio = gc->bgpio_bits; ngpio 769 drivers/gpio/gpio-mmio.c if (pdata->ngpio > 0) ngpio 770 drivers/gpio/gpio-mmio.c gc->ngpio = pdata->ngpio; ngpio 112 drivers/gpio/gpio-mockup.c for_each_set_bit(bit, mask, gc->ngpio) { ngpio 144 drivers/gpio/gpio-mockup.c for_each_set_bit(bit, mask, gc->ngpio) ngpio 329 drivers/gpio/gpio-mockup.c for (i = 0; i < gc->ngpio; i++) { ngpio 356 drivers/gpio/gpio-mockup.c names = devm_kcalloc(dev, gc->ngpio, sizeof(char *), GFP_KERNEL); ngpio 360 drivers/gpio/gpio-mockup.c for (i = 0; i < gc->ngpio; i++) { ngpio 379 drivers/gpio/gpio-mockup.c u16 ngpio; ngpio 387 drivers/gpio/gpio-mockup.c rv = device_property_read_u16(dev, "nr-gpios", &ngpio); ngpio 410 drivers/gpio/gpio-mockup.c gc->ngpio = ngpio; ngpio 424 drivers/gpio/gpio-mockup.c chip->lines = devm_kcalloc(dev, gc->ngpio, ngpio 435 drivers/gpio/gpio-mockup.c rv = devm_irq_sim_init(dev, &chip->irqsim, gc->ngpio); ngpio 476 drivers/gpio/gpio-mockup.c u16 ngpio; ngpio 513 drivers/gpio/gpio-mockup.c ngpio = base < 0 ? gpio_mockup_range_ngpio(i) ngpio 515 drivers/gpio/gpio-mockup.c properties[prop++] = PROPERTY_ENTRY_U16("nr-gpios", ngpio); ngpio 148 drivers/gpio/gpio-moxtet.c chip->gpio_chip.ngpio = MOXTET_GPIO_NGPIOS; ngpio 150 drivers/gpio/gpio-mpc5200.c gc->ngpio = 8; ngpio 312 drivers/gpio/gpio-mpc5200.c gc->ngpio = 32; ngpio 156 drivers/gpio/gpio-msic.c if (gpio >= mg->chip.ngpio) ngpio 232 drivers/gpio/gpio-msic.c for (i = 0; i < (mg->chip.ngpio / BITS_PER_BYTE); i++) { ngpio 277 drivers/gpio/gpio-msic.c mg->chip.ngpio = MSIC_NUM_GPIO; ngpio 289 drivers/gpio/gpio-msic.c for (i = 0; i < mg->chip.ngpio; i++) { ngpio 282 drivers/gpio/gpio-mt7621.c rg->chip.ngpio, ret); ngpio 289 drivers/gpio/gpio-mt7621.c dev_info(dev, "registering %d gpios\n", rg->chip.ngpio); ngpio 572 drivers/gpio/gpio-mvebu.c for (i = 0; i < mvchip->chip.ngpio; i++) { ngpio 827 drivers/gpio/gpio-mvebu.c mvpwm->chip.npwm = mvchip->chip.ngpio; ngpio 859 drivers/gpio/gpio-mvebu.c for (i = 0; i < chip->ngpio; i++) { ngpio 1145 drivers/gpio/gpio-mvebu.c mvchip->chip.ngpio = ngpios; ngpio 104 drivers/gpio/gpio-octeon.c chip->ngpio = 20; ngpio 1010 drivers/gpio/gpio-omap.c bank->chip.ngpio = bank->width; ngpio 24 drivers/gpio/gpio-palmas.c int ngpio; ngpio 130 drivers/gpio/gpio-palmas.c .ngpio = 8, ngpio 134 drivers/gpio/gpio-palmas.c .ngpio = 16, ngpio 165 drivers/gpio/gpio-palmas.c palmas_gpio->gpio_chip.ngpio = dev_data->ngpio; ngpio 119 drivers/gpio/gpio-pca953x.c #define NBANK(chip) DIV_ROUND_UP(chip->gpio_chip.ngpio, BANK_SZ) ngpio 168 drivers/gpio/gpio-pca953x.c return fls((chip->gpio_chip.ngpio - 1) / BANK_SZ); ngpio 556 drivers/gpio/gpio-pca953x.c gc->ngpio = gpios; ngpio 1016 drivers/gpio/gpio-pca953x.c chip->gpio_chip.ngpio, pdata->context); ngpio 1036 drivers/gpio/gpio-pca953x.c chip->gpio_chip.ngpio, pdata->context); ngpio 185 drivers/gpio/gpio-pcf857x.c for_each_set_bit(i, &change, gpio->chip.ngpio) ngpio 264 drivers/gpio/gpio-pcf857x.c gpio->chip.ngpio = id->driver_data; ngpio 277 drivers/gpio/gpio-pcf857x.c if (gpio->chip.ngpio == 8) { ngpio 295 drivers/gpio/gpio-pcf857x.c } else if (gpio->chip.ngpio == 16) { ngpio 377 drivers/gpio/gpio-pcf857x.c gpio->chip.base, gpio->chip.ngpio, ngpio 402 drivers/gpio/gpio-pcf857x.c gpio->chip.base, gpio->chip.ngpio, ngpio 419 drivers/gpio/gpio-pcf857x.c gpio->write(gpio->client, BIT(gpio->chip.ngpio) - 1); ngpio 214 drivers/gpio/gpio-pch.c gpio->ngpio = gpio_pins[chip->ioh]; ngpio 117 drivers/gpio/gpio-pci-idio-16.c bitmap_zero(bits, chip->ngpio); ngpio 283 drivers/gpio/gpio-pci-idio-16.c for_each_set_bit(gpio, &idio16gpio->irq_mask, chip->ngpio) ngpio 337 drivers/gpio/gpio-pci-idio-16.c idio16gpio->chip.ngpio = IDIO_16_NGPIO; ngpio 217 drivers/gpio/gpio-pcie-idio-24.c bitmap_zero(bits, chip->ngpio); ngpio 454 drivers/gpio/gpio-pcie-idio-24.c for_each_set_bit(gpio, &irq_mask, chip->ngpio - 24) ngpio 509 drivers/gpio/gpio-pcie-idio-24.c idio24gpio->chip.ngpio = IDIO_24_NGPIO; ngpio 99 drivers/gpio/gpio-pisosr.c unsigned int nbytes = DIV_ROUND_UP(chip->ngpio, 8); ngpio 104 drivers/gpio/gpio-pisosr.c bitmap_zero(bits, chip->ngpio); ngpio 123 drivers/gpio/gpio-pisosr.c .ngpio = DEFAULT_NGPIO, ngpio 141 drivers/gpio/gpio-pisosr.c of_property_read_u16(dev->of_node, "ngpios", &gpio->chip.ngpio); ngpio 145 drivers/gpio/gpio-pisosr.c gpio->buffer_size = DIV_ROUND_UP(gpio->chip.ngpio, 8); ngpio 309 drivers/gpio/gpio-pl061.c pl061->gc.ngpio = PL061_GPIO_NR; ngpio 278 drivers/gpio/gpio-pmic-eic-sprd.c for_each_set_bit(n, &status, chip->ngpio) { ngpio 331 drivers/gpio/gpio-pmic-eic-sprd.c pmic_eic->chip.ngpio = SPRD_PMIC_EIC_NR; ngpio 346 drivers/gpio/gpio-pxa.c static int pxa_init_gpio_chip(struct pxa_gpio_chip *pchip, int ngpio, ngpio 349 drivers/gpio/gpio-pxa.c int i, gpio, nbanks = DIV_ROUND_UP(ngpio, 32); ngpio 363 drivers/gpio/gpio-pxa.c pchip->chip.ngpio = ngpio; ngpio 223 drivers/gpio/gpio-raspberrypi-exp.c rpi_gpio->gc.ngpio = NUM_GPIO; ngpio 115 drivers/gpio/gpio-rc5t583.c rc5t583_gpio->gpio_chip.ngpio = RC5T583_MAX_GPIO, ngpio 320 drivers/gpio/gpio-rcar.c bankmask = mask[0] & GENMASK(chip->ngpio - 1, 0); ngpio 483 drivers/gpio/gpio-rcar.c gpio_chip->ngpio = npins; ngpio 562 drivers/gpio/gpio-rcar.c for (offset = 0; offset < p->gpio_chip.ngpio; offset++) { ngpio 162 drivers/gpio/gpio-rdc321x.c rdc321x_gpio_dev->chip.ngpio = pdata->max_gpios; ngpio 182 drivers/gpio/gpio-rdc321x.c rdc321x_gpio_dev->chip.ngpio); ngpio 157 drivers/gpio/gpio-reg.c r->gc.ngpio = num; ngpio 99 drivers/gpio/gpio-sa1100.c .ngpio = GPIO_MAX + 1, ngpio 202 drivers/gpio/gpio-sama5d2-piobu.c piobu->chip.ngpio = PIOBU_NUM, ngpio 169 drivers/gpio/gpio-sch.c sch->chip.ngpio = 14; ngpio 187 drivers/gpio/gpio-sch.c sch->chip.ngpio = 14; ngpio 192 drivers/gpio/gpio-sch.c sch->chip.ngpio = 30; ngpio 197 drivers/gpio/gpio-sch.c sch->chip.ngpio = 8; ngpio 298 drivers/gpio/gpio-sch311x.c block->chip.ngpio = 8; ngpio 236 drivers/gpio/gpio-siox.c ddata->gchip.ngpio = 20; ngpio 215 drivers/gpio/gpio-sodaville.c sd->chip.ngpio = SDV_NUM_PUB_GPIOS; ngpio 153 drivers/gpio/gpio-spear-spics.c spics->chip.ngpio = NUM_OF_GPIO; ngpio 193 drivers/gpio/gpio-sprd.c for (bank = 0; bank * SPRD_GPIO_BANK_NR < chip->ngpio; bank++) { ngpio 239 drivers/gpio/gpio-sprd.c sprd_gpio->chip.ngpio = SPRD_GPIO_NR; ngpio 126 drivers/gpio/gpio-sta2x11.c gpio->ngpio = GSTA_NR_GPIO; ngpio 351 drivers/gpio/gpio-stmpe.c for (i = 0; i < gc->ngpio; i++, gpio++) { ngpio 470 drivers/gpio/gpio-stmpe.c stmpe_gpio->chip.ngpio = stmpe->num_gpios; ngpio 236 drivers/gpio/gpio-stp-xway.c chip->gc.ngpio = fls(chip->groups) * 8; ngpio 254 drivers/gpio/gpio-syscon.c priv->chip.ngpio = priv->data->bit_count; ngpio 114 drivers/gpio/gpio-tb10x.c u32 ngpio; ngpio 119 drivers/gpio/gpio-tb10x.c if (of_property_read_u32(np, "abilis,ngpio", &ngpio)) ngpio 158 drivers/gpio/gpio-tb10x.c tb10x_gpio->gc.ngpio = ngpio; ngpio 187 drivers/gpio/gpio-tb10x.c tb10x_gpio->gc.ngpio, ngpio 194 drivers/gpio/gpio-tb10x.c tb10x_gpio->gc.ngpio, 1, tb10x_gpio->gc.label, ngpio 220 drivers/gpio/gpio-tb10x.c BIT(tb10x_gpio->gc.ngpio) - 1, 0, 0); ngpio 312 drivers/gpio/gpio-tc3589x.c tc3589x_gpio->chip.ngpio = tc3589x->num_gpio; ngpio 596 drivers/gpio/gpio-tegra.c tgi->gc.ngpio = tgi->bank_count * 32; ngpio 621 drivers/gpio/gpio-tegra.c tgi->gc.ngpio, ngpio 655 drivers/gpio/gpio-tegra.c for (gpio = 0; gpio < tgi->gc.ngpio; gpio++) { ngpio 456 drivers/gpio/gpio-tegra186.c gpio->gpio.ngpio += gpio->soc->ports[i].pins; ngpio 458 drivers/gpio/gpio-tegra186.c names = devm_kcalloc(gpio->gpio.parent, gpio->gpio.ngpio, ngpio 501 drivers/gpio/gpio-tegra186.c irq->map = devm_kcalloc(&pdev->dev, gpio->gpio.ngpio, ngpio 278 drivers/gpio/gpio-thunderx.c for (bank = 0; bank <= chip->ngpio / 64; bank++) { ngpio 421 drivers/gpio/gpio-thunderx.c if (fwspec->param[0] >= txgpio->chip.ngpio) ngpio 456 drivers/gpio/gpio-thunderx.c int ngpio, i; ngpio 490 drivers/gpio/gpio-thunderx.c ngpio = 50; ngpio 495 drivers/gpio/gpio-thunderx.c ngpio = c & GPIO_CONST_GPIOS_MASK; ngpio 500 drivers/gpio/gpio-thunderx.c ngpio, sizeof(struct msix_entry), ngpio 508 drivers/gpio/gpio-thunderx.c ngpio, ngpio 516 drivers/gpio/gpio-thunderx.c for (i = 0; i < ngpio; i++) { ngpio 538 drivers/gpio/gpio-thunderx.c err = pci_enable_msix_range(pdev, txgpio->msix_entries, ngpio, ngpio); ngpio 555 drivers/gpio/gpio-thunderx.c for (i = 0; i < ngpio; i++) { ngpio 569 drivers/gpio/gpio-thunderx.c chip->ngpio = ngpio; ngpio 583 drivers/gpio/gpio-thunderx.c ngpio, chip->base); ngpio 595 drivers/gpio/gpio-thunderx.c for (i = 0; i < txgpio->chip.ngpio; i++) ngpio 134 drivers/gpio/gpio-timberdale.c if (offset < 0 || offset > tgpio->gpio.ngpio) ngpio 201 drivers/gpio/gpio-timberdale.c for_each_set_bit(offset, &ipr, tgpio->gpio.ngpio) ngpio 252 drivers/gpio/gpio-timberdale.c gc->ngpio = pdata->nr_pins; ngpio 99 drivers/gpio/gpio-tpic2810.c .ngpio = 8, ngpio 76 drivers/gpio/gpio-tps65086.c .ngpio = 4, ngpio 182 drivers/gpio/gpio-tps65218.c .ngpio = 3, ngpio 92 drivers/gpio/gpio-tps6586x.c tps6586x_gpio->gpio_chip.ngpio = 4; ngpio 81 drivers/gpio/gpio-tps65910.c int ngpio = min(chip_ngpio, TPS6591X_MAX_NUM_GPIO); ngpio 87 drivers/gpio/gpio-tps65910.c "ti,en-gpio-sleep", prop_array, ngpio); ngpio 93 drivers/gpio/gpio-tps65910.c for (idx = 0; idx < ngpio; idx++) ngpio 126 drivers/gpio/gpio-tps65910.c tps65910_gpio->gpio_chip.ngpio = TPS65910_NUM_GPIO; ngpio 129 drivers/gpio/gpio-tps65910.c tps65910_gpio->gpio_chip.ngpio = TPS65911_NUM_GPIO; ngpio 150 drivers/gpio/gpio-tps65910.c tps65910_gpio->gpio_chip.ngpio); ngpio 156 drivers/gpio/gpio-tps65910.c for (i = 0; i < tps65910_gpio->gpio_chip.ngpio; ++i) { ngpio 94 drivers/gpio/gpio-tps65912.c .ngpio = 5, ngpio 145 drivers/gpio/gpio-tps68470.c tps68470_gpio->gc.ngpio = TPS68470_N_GPIO; ngpio 273 drivers/gpio/gpio-tqmx86.c chip->ngpio = TQMX86_NGPIO; ngpio 319 drivers/gpio/gpio-tqmx86.c chip->ngpio); ngpio 56 drivers/gpio/gpio-ts4800.c chip->ngpio = ngpios; ngpio 132 drivers/gpio/gpio-ts4900.c u32 ngpio; ngpio 135 drivers/gpio/gpio-ts4900.c if (of_property_read_u32(client->dev.of_node, "ngpios", &ngpio)) ngpio 136 drivers/gpio/gpio-ts4900.c ngpio = DEFAULT_PIN_NUMBER; ngpio 144 drivers/gpio/gpio-ts4900.c priv->gpio_chip.ngpio = ngpio; ngpio 351 drivers/gpio/gpio-ts5500.c priv->gpio_chip.ngpio = ARRAY_SIZE(ts5500_dio1); ngpio 360 drivers/gpio/gpio-ts5500.c priv->gpio_chip.ngpio = ARRAY_SIZE(ts5500_dio2); ngpio 380 drivers/gpio/gpio-ts5500.c priv->gpio_chip.ngpio = ARRAY_SIZE(ts5500_lcd); ngpio 534 drivers/gpio/gpio-twl4030.c priv->gpio_chip.ngpio = TWL4030_GPIO_MAX; ngpio 568 drivers/gpio/gpio-twl4030.c priv->gpio_chip.ngpio += 2; ngpio 573 drivers/gpio/gpio-twl4030.c priv->gpio_chip.ngpio = 0; ngpio 87 drivers/gpio/gpio-twl6040.c twl6040gpo_chip.ngpio = 3; /* twl6040 have 3 GPO */ ngpio 89 drivers/gpio/gpio-twl6040.c twl6040gpo_chip.ngpio = 1; /* twl6041 have 1 GPO */ ngpio 99 drivers/gpio/gpio-twl6040.c twl6040gpo_chip.ngpio = 0; ngpio 57 drivers/gpio/gpio-ucb1400.c ucb->gc.ngpio = 10; ngpio 71 drivers/gpio/gpio-ucb1400.c err = ucb->gpio_setup(&dev->dev, ucb->gc.ngpio); ngpio 84 drivers/gpio/gpio-ucb1400.c err = ucb->gpio_teardown(&dev->dev, ucb->gc.ngpio); ngpio 153 drivers/gpio/gpio-uniphier.c for (i = 0; i < chip->ngpio; i += UNIPHIER_GPIO_LINES_PER_BANK) { ngpio 336 drivers/gpio/gpio-uniphier.c static unsigned int uniphier_gpio_get_nbanks(unsigned int ngpio) ngpio 338 drivers/gpio/gpio-uniphier.c return DIV_ROUND_UP(ngpio, UNIPHIER_GPIO_LINES_PER_BANK); ngpio 391 drivers/gpio/gpio-uniphier.c chip->ngpio = ngpios; ngpio 432 drivers/gpio/gpio-uniphier.c unsigned int nbanks = uniphier_gpio_get_nbanks(priv->chip.ngpio); ngpio 454 drivers/gpio/gpio-uniphier.c unsigned int nbanks = uniphier_gpio_get_nbanks(priv->chip.ngpio); ngpio 304 drivers/gpio/gpio-vf610.c gc->ngpio = VF610_GPIO_PER_PORT; ngpio 323 drivers/gpio/gpio-vf610.c for (i = 0; i < gc->ngpio; i++) ngpio 401 drivers/gpio/gpio-viperboard.c vb_gpio->gpioa.ngpio = 16; ngpio 418 drivers/gpio/gpio-viperboard.c vb_gpio->gpiob.ngpio = 16; ngpio 331 drivers/gpio/gpio-vr41xx.c if (pin >= chip->ngpio) ngpio 378 drivers/gpio/gpio-vr41xx.c if (pin >= chip->ngpio) ngpio 407 drivers/gpio/gpio-vr41xx.c if (pin >= chip->ngpio) ngpio 452 drivers/gpio/gpio-vr41xx.c if (offset >= chip->ngpio) ngpio 477 drivers/gpio/gpio-vr41xx.c vr41xx_gpio_chip.ngpio = 50; ngpio 480 drivers/gpio/gpio-vr41xx.c vr41xx_gpio_chip.ngpio = 36; ngpio 484 drivers/gpio/gpio-vr41xx.c vr41xx_gpio_chip.ngpio = 48; ngpio 222 drivers/gpio/gpio-vx855.c c->ngpio = NR_VX855_GP; ngpio 435 drivers/gpio/gpio-wcove.c wg->chip.ngpio = WCOVE_VGPIO_NUM; ngpio 670 drivers/gpio/gpio-winbond.c winbond_gpio_chip.ngpio = hweight_long(params.gpios) * 8; ngpio 677 drivers/gpio/gpio-winbond.c winbond_gpio_chip.ngpio -= (8 - 5); ngpio 160 drivers/gpio/gpio-wm831x.c for (i = 0; i < chip->ngpio; i++) { ngpio 273 drivers/gpio/gpio-wm831x.c wm831x_gpio->gpio_chip.ngpio = wm831x->num_gpio; ngpio 117 drivers/gpio/gpio-wm8350.c wm8350_gpio->gpio_chip.ngpio = 13; ngpio 193 drivers/gpio/gpio-wm8994.c for (i = 0; i < chip->ngpio; i++) { ngpio 275 drivers/gpio/gpio-wm8994.c wm8994_gpio->gpio_chip.ngpio = WM8994_GPIO_MAX; ngpio 131 drivers/gpio/gpio-ws16c48.c const size_t num_ports = chip->ngpio / gpio_reg_size; ngpio 140 drivers/gpio/gpio-ws16c48.c bitmap_zero(bits, chip->ngpio); ngpio 206 drivers/gpio/gpio-ws16c48.c for (i = 0; i < chip->ngpio; i += gpio_reg_size) { ngpio 418 drivers/gpio/gpio-ws16c48.c ws16c48gpio->chip.ngpio = WS16C48_NGPIO; ngpio 266 drivers/gpio/gpio-xgene-sb.c priv->gc.ngpio = XGENE_DFLT_MAX_NGPIO; ngpio 268 drivers/gpio/gpio-xgene-sb.c priv->gc.ngpio = val32; ngpio 271 drivers/gpio/gpio-xgene-sb.c priv->gc.ngpio, priv->nirq, priv->irq_start); ngpio 181 drivers/gpio/gpio-xgene.c gpio->chip.ngpio = XGENE_MAX_GPIOS; ngpio 147 drivers/gpio/gpio-xilinx.c for (i = 0; i < gc->ngpio; i++) { ngpio 321 drivers/gpio/gpio-xilinx.c chip->gc.ngpio = chip->gpio_width[0] + chip->gpio_width[1]; ngpio 229 drivers/gpio/gpio-xlp.c BUG_ON(gpio >= gc->ngpio); ngpio 239 drivers/gpio/gpio-xlp.c BUG_ON(gpio >= gc->ngpio); ngpio 249 drivers/gpio/gpio-xlp.c BUG_ON(gpio >= gc->ngpio); ngpio 257 drivers/gpio/gpio-xlp.c BUG_ON(gpio >= gc->ngpio); ngpio 297 drivers/gpio/gpio-xlp.c int ngpio; ngpio 334 drivers/gpio/gpio-xlp.c ngpio = 41; ngpio 345 drivers/gpio/gpio-xlp.c ngpio = (soc_type == XLP_GPIO_VARIANT_XLP208) ? 42 : 57; ngpio 358 drivers/gpio/gpio-xlp.c ngpio = 66; ngpio 360 drivers/gpio/gpio-xlp.c ngpio = 67; ngpio 362 drivers/gpio/gpio-xlp.c ngpio = 70; ngpio 377 drivers/gpio/gpio-xlp.c gc->ngpio = ngpio; ngpio 390 drivers/gpio/gpio-xlp.c gc->ngpio, 0); ngpio 417 drivers/gpio/gpio-xlp.c dev_info(&pdev->dev, "registered %d GPIOs\n", gc->ngpio); ngpio 136 drivers/gpio/gpio-xra1403.c for (i = 0; i < chip->ngpio; i++) { ngpio 175 drivers/gpio/gpio-xra1403.c xra->chip.ngpio = 16; ngpio 128 drivers/gpio/gpio-xtensa.c .ngpio = 32, ngpio 137 drivers/gpio/gpio-xtensa.c .ngpio = 32, ngpio 164 drivers/gpio/gpio-zevio.c .ngpio = 32, ngpio 195 drivers/gpio/gpio-zevio.c for (i = 0; i < controller->chip.gc.ngpio; i += 8) ngpio 53 drivers/gpio/gpio-zx.c if (offset >= gc->ngpio) ngpio 72 drivers/gpio/gpio-zx.c if (offset >= gc->ngpio) ngpio 241 drivers/gpio/gpio-zx.c chip->gc.ngpio = ZX_GPIO_NR; ngpio 141 drivers/gpio/gpio-zynq.c u16 ngpio; ngpio 781 drivers/gpio/gpio-zynq.c .ngpio = ZYNQMP_GPIO_NR_GPIOS, ngpio 800 drivers/gpio/gpio-zynq.c .ngpio = ZYNQ_GPIO_NR_GPIOS, ngpio 871 drivers/gpio/gpio-zynq.c chip->ngpio = gpio->p_data->ngpio; ngpio 40 drivers/gpio/gpiolib-devprop.c if (count > gdev->ngpio) ngpio 41 drivers/gpio/gpiolib-devprop.c count = gdev->ngpio; ngpio 688 drivers/gpio/gpiolib-of.c if (gpiospec->args[0] >= gc->ngpio) ngpio 786 drivers/gpio/gpiolib-of.c if (start >= chip->ngpio || start + count >= chip->ngpio) ngpio 435 drivers/gpio/gpiolib-sysfs.c return sprintf(buf, "%u\n", chip->ngpio); ngpio 437 drivers/gpio/gpiolib-sysfs.c static DEVICE_ATTR_RO(ngpio); ngpio 796 drivers/gpio/gpiolib-sysfs.c for (i = 0; i < chip->ngpio; i++) { ngpio 117 drivers/gpio/gpiolib.c gdev->base + gdev->ngpio > gpio) { ngpio 147 drivers/gpio/gpiolib.c if (hwnum >= gdev->ngpio) ngpio 183 drivers/gpio/gpiolib.c static int gpiochip_find_base(int ngpio) ngpio 186 drivers/gpio/gpiolib.c int base = ARCH_NR_GPIOS - ngpio; ngpio 190 drivers/gpio/gpiolib.c if (gdev->base + gdev->ngpio <= base) ngpio 194 drivers/gpio/gpiolib.c base = gdev->base - ngpio; ngpio 266 drivers/gpio/gpiolib.c if (gdev->base + gdev->ngpio <= next->base) { ngpio 273 drivers/gpio/gpiolib.c if (prev->base + prev->ngpio <= gdev->base) { ngpio 285 drivers/gpio/gpiolib.c if (prev->base + prev->ngpio <= gdev->base ngpio 286 drivers/gpio/gpiolib.c && gdev->base + gdev->ngpio <= next->base) { ngpio 309 drivers/gpio/gpiolib.c for (i = 0; i != gdev->ngpio; ++i) { ngpio 342 drivers/gpio/gpiolib.c for (i = 0; i != gc->ngpio; ++i) { ngpio 353 drivers/gpio/gpiolib.c for (i = 0; i != gc->ngpio; ++i) ngpio 363 drivers/gpio/gpiolib.c p = bitmap_alloc(chip->ngpio, GFP_KERNEL); ngpio 368 drivers/gpio/gpiolib.c bitmap_fill(p, chip->ngpio); ngpio 390 drivers/gpio/gpiolib.c gc->ngpio); ngpio 586 drivers/gpio/gpiolib.c if (offset >= gdev->ngpio) { ngpio 927 drivers/gpio/gpiolib.c if (offset >= gdev->ngpio) { ngpio 1058 drivers/gpio/gpiolib.c chipinfo.lines = gdev->ngpio; ngpio 1068 drivers/gpio/gpiolib.c if (lineinfo.line_offset >= gdev->ngpio) ngpio 1209 drivers/gpio/gpiolib.c __func__, gdev->base, gdev->base + gdev->ngpio - 1, ngpio 1316 drivers/gpio/gpiolib.c gdev->descs = kcalloc(chip->ngpio, sizeof(gdev->descs[0]), GFP_KERNEL); ngpio 1322 drivers/gpio/gpiolib.c if (chip->ngpio == 0) { ngpio 1328 drivers/gpio/gpiolib.c if (chip->ngpio > FASTPATH_NGPIO) ngpio 1330 drivers/gpio/gpiolib.c chip->ngpio, FASTPATH_NGPIO); ngpio 1338 drivers/gpio/gpiolib.c gdev->ngpio = chip->ngpio; ngpio 1351 drivers/gpio/gpiolib.c base = gpiochip_find_base(chip->ngpio); ngpio 1375 drivers/gpio/gpiolib.c for (i = 0; i < chip->ngpio; i++) ngpio 1398 drivers/gpio/gpiolib.c for (i = 0; i < chip->ngpio; i++) { ngpio 1470 drivers/gpio/gpiolib.c gdev->base, gdev->base + gdev->ngpio - 1, ngpio 1521 drivers/gpio/gpiolib.c for (i = 0; i < gdev->ngpio; i++) { ngpio 1660 drivers/gpio/gpiolib.c girq->init_valid_mask(gc, girq->valid_mask, gc->ngpio); ngpio 1795 drivers/gpio/gpiolib.c for (i = 0; i < gc->ngpio; i++) { ngpio 1979 drivers/gpio/gpiolib.c gc->ngpio, ngpio 2298 drivers/gpio/gpiolib.c gpiochip->ngpio, ngpio 2353 drivers/gpio/gpiolib.c for (offset = 0; offset < gpiochip->ngpio; offset++) { ngpio 2458 drivers/gpio/gpiolib.c gpiochip->ngpio, first_irq, ngpio 2845 drivers/gpio/gpiolib.c if (offset >= chip->ngpio) ngpio 3286 drivers/gpio/gpiolib.c for_each_set_bit(i, mask, chip->ngpio) { ngpio 3340 drivers/gpio/gpiolib.c if (likely(chip->ngpio <= FASTPATH_NGPIO)) { ngpio 3343 drivers/gpio/gpiolib.c mask = kmalloc_array(2 * BITS_TO_LONGS(chip->ngpio), ngpio 3350 drivers/gpio/gpiolib.c bits = mask + BITS_TO_LONGS(chip->ngpio); ngpio 3351 drivers/gpio/gpiolib.c bitmap_zero(mask, chip->ngpio); ngpio 3578 drivers/gpio/gpiolib.c for_each_set_bit(i, mask, chip->ngpio) ngpio 3623 drivers/gpio/gpiolib.c if (likely(chip->ngpio <= FASTPATH_NGPIO)) { ngpio 3626 drivers/gpio/gpiolib.c mask = kmalloc_array(2 * BITS_TO_LONGS(chip->ngpio), ngpio 3633 drivers/gpio/gpiolib.c bits = mask + BITS_TO_LONGS(chip->ngpio); ngpio 3634 drivers/gpio/gpiolib.c bitmap_zero(mask, chip->ngpio); ngpio 3975 drivers/gpio/gpiolib.c if (offset >= chip->ngpio) ngpio 4008 drivers/gpio/gpiolib.c if (offset >= chip->ngpio) ngpio 4017 drivers/gpio/gpiolib.c if (offset >= chip->ngpio) ngpio 4026 drivers/gpio/gpiolib.c if (offset >= chip->ngpio) ngpio 4356 drivers/gpio/gpiolib.c if (chip->ngpio <= p->chip_hwnum) { ngpio 4359 drivers/gpio/gpiolib.c idx, p->chip_hwnum, chip->ngpio - 1, ngpio 4748 drivers/gpio/gpiolib.c for (id = 0; id < chip->ngpio; id++) { ngpio 4801 drivers/gpio/gpiolib.c bitmap_size = BITS_TO_LONGS(chip->ngpio > count ? ngpio 4802 drivers/gpio/gpiolib.c chip->ngpio : count); ngpio 4967 drivers/gpio/gpiolib.c for (i = 0; i < gdev->ngpio; i++, gpio++, gdesc++) { ngpio 5046 drivers/gpio/gpiolib.c gdev->base, gdev->base + gdev->ngpio - 1); ngpio 53 drivers/gpio/gpiolib.h u16 ngpio; ngpio 500 drivers/gpio/sgpio-aspeed.c gpio->chip.ngpio = nr_gpios; ngpio 1337 drivers/hid/hid-cp2112.c dev->gc.ngpio = 8; ngpio 318 drivers/hwmon/pmbus/ucd9000.c data->gpio.ngpio = UCD9090_NUM_GPIOS; ngpio 323 drivers/hwmon/pmbus/ucd9000.c data->gpio.ngpio = UCD901XX_NUM_GPIOS; ngpio 326 drivers/hwmon/pmbus/ucd9000.c data->gpio.ngpio = UCD90910_NUM_GPIOS; ngpio 161 drivers/i2c/muxes/i2c-mux-ltc4306.c data->gpiochip.ngpio = data->chip->num_gpios; ngpio 341 drivers/iio/adc/stx104.c stx104gpio->chip.ngpio = STX104_NGPIO; ngpio 640 drivers/iio/adc/ti-ads7950.c st->chip.ngpio = TI_ADS7950_NUM_GPIOS; ngpio 136 drivers/iio/dac/ad5592r-base.c st->gpiochip.ngpio = 8; ngpio 192 drivers/input/keyboard/adp5588-keys.c kpad->gc.ngpio = adp5588_build_gpiomap(kpad, pdata); ngpio 193 drivers/input/keyboard/adp5588-keys.c if (kpad->gc.ngpio == 0) { ngpio 227 drivers/input/keyboard/adp5588-keys.c kpad->gc.base, kpad->gc.ngpio, ngpio 248 drivers/input/keyboard/adp5588-keys.c kpad->gc.base, kpad->gc.ngpio, ngpio 509 drivers/input/keyboard/adp5589-keys.c kpad->gc.ngpio = adp5589_build_gpiomap(kpad, pdata); ngpio 510 drivers/input/keyboard/adp5589-keys.c if (kpad->gc.ngpio == 0) { ngpio 544 drivers/input/keyboard/adp5589-keys.c kpad->gc.base, kpad->gc.ngpio, ngpio 565 drivers/input/keyboard/adp5589-keys.c kpad->gc.base, kpad->gc.ngpio, ngpio 472 drivers/input/touchscreen/ad7879.c ts->gc.ngpio = 1; ngpio 441 drivers/leds/leds-pca9532.c data->gpio.ngpio = data->chip_info->num_leds; ngpio 453 drivers/leds/leds-pca9532.c data->gpio.ngpio - 1); ngpio 550 drivers/leds/leds-pca955x.c pca955x->gpio.ngpio = ngpios; ngpio 564 drivers/leds/leds-pca955x.c pca955x->gpio.ngpio - 1); ngpio 652 drivers/leds/leds-tca6507.c tca->gpio.ngpio = gpios; ngpio 663 drivers/leds/leds-tca6507.c tca->gpio.ngpio = 0; ngpio 667 drivers/leds/leds-tca6507.c pdata->setup(tca->gpio.base, tca->gpio.ngpio); ngpio 673 drivers/leds/leds-tca6507.c if (tca->gpio.ngpio) ngpio 658 drivers/media/dvb-frontends/cxd2820r_core.c priv->gpio_chip.ngpio = GPIO_COUNT; ngpio 166 drivers/media/pci/solo6x10/solo6x10-gpio.c solo_dev->gpio_dev.ngpio = 24; ngpio 2327 drivers/memory/omap-gpmc.c gpmc->gpio_chip.ngpio = gpmc_nr_waitpins; ngpio 997 drivers/mfd/asic3.c asic->gpio.ngpio = ASIC3_NUM_GPIOS; ngpio 184 drivers/mfd/dm355evm_msp.c .ngpio = ARRAY_SIZE(msp_gpios), ngpio 272 drivers/mfd/htc-i2cpld.c return (offset < chip->ngpio) ? 0 : -EINVAL; ngpio 419 drivers/mfd/htc-i2cpld.c gpio_chip->ngpio = plat_chip_data->num_gpios; ngpio 431 drivers/mfd/htc-i2cpld.c gpio_chip->ngpio = plat_chip_data->num_gpios; ngpio 216 drivers/mfd/intel_quark_i2c_gpio.c pdata->properties->ngpio = INTEL_QUARK_MFD_NGPIO; ngpio 1005 drivers/mfd/sm501.c .ngpio = 32, ngpio 504 drivers/mfd/tc6393xb.c tc6393xb->gpio.ngpio = 16; ngpio 638 drivers/mfd/tps65010.c tps->chip.ngpio = 7; ngpio 569 drivers/mfd/ucb1x00-core.c ucb->gpio.ngpio = 10; ngpio 72 drivers/mfd/vexpress-sysreg.c .ngpio = 8, ngpio 78 drivers/mfd/vexpress-sysreg.c .ngpio = 2, ngpio 84 drivers/mfd/vexpress-sysreg.c .ngpio = 1, ngpio 197 drivers/mfd/vexpress-sysreg.c mmc_gpio_chip->ngpio = 2; ngpio 1111 drivers/net/dsa/vitesse-vsc73xx-core.c vsc->gc.ngpio = 4; ngpio 871 drivers/pinctrl/actions/pinctrl-owl.c chip->ngpio = pctrl->soc->ngpios; ngpio 892 drivers/pinctrl/actions/pinctrl-owl.c gpio_irq->map = devm_kcalloc(pctrl->dev, chip->ngpio, ngpio 354 drivers/pinctrl/bcm/pinctrl-bcm2835.c .ngpio = BCM2835_NUM_GPIOS, ngpio 735 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c pins = devm_kcalloc(chip->dev, gc->ngpio, sizeof(*pins), GFP_KERNEL); ngpio 739 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c for (i = 0; i < gc->ngpio; i++) { ngpio 750 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c pctldesc->npins = gc->ngpio; ngpio 830 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c gc->ngpio = ngpios; ngpio 158 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c for_each_set_bit(bit, &int_bits, gc.ngpio) { ngpio 583 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c pins = devm_kcalloc(chip->dev, gc->ngpio, sizeof(*pins), GFP_KERNEL); ngpio 586 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c for (i = 0; i < gc->ngpio; i++) { ngpio 596 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c pctldesc->npins = gc->ngpio; ngpio 652 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c gc->ngpio = val; ngpio 668 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c chip->irq_domain = irq_domain_add_linear(gc->of_node, gc->ngpio, ngpio 677 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c for (count = 0; count < gc->ngpio; count++) { ngpio 1177 drivers/pinctrl/cirrus/pinctrl-lochnagar.c priv->gpio_chip.ngpio = LOCHNAGAR1_PIN_NUM_GPIOS; ngpio 1187 drivers/pinctrl/cirrus/pinctrl-lochnagar.c priv->gpio_chip.ngpio = LOCHNAGAR2_PIN_NUM_GPIOS; ngpio 339 drivers/pinctrl/core.c range->base > chip->base + chip->ngpio - 1) ngpio 1375 drivers/pinctrl/intel/pinctrl-baytrail.c if (!reg || offset >= vg->chip.ngpio) ngpio 1426 drivers/pinctrl/intel/pinctrl-baytrail.c for (base = 0; base < vg->chip.ngpio; base += 32) { ngpio 1530 drivers/pinctrl/intel/pinctrl-baytrail.c gc->ngpio = vg->soc_data->npins; ngpio 1534 drivers/pinctrl/intel/pinctrl-baytrail.c vg->saved_context = devm_kcalloc(&vg->pdev->dev, gc->ngpio, ngpio 1572 drivers/pinctrl/intel/pinctrl-cherryview.c chip->ngpio = community->pins[community->npins - 1].number + 1; ngpio 1187 drivers/pinctrl/intel/pinctrl-intel.c unsigned int ngpio = 0; ngpio 1198 drivers/pinctrl/intel/pinctrl-intel.c if (gpp->gpio_base + gpp->size > ngpio) ngpio 1199 drivers/pinctrl/intel/pinctrl-intel.c ngpio = gpp->gpio_base + gpp->size; ngpio 1203 drivers/pinctrl/intel/pinctrl-intel.c return ngpio; ngpio 1213 drivers/pinctrl/intel/pinctrl-intel.c pctrl->chip.ngpio = intel_gpio_ngpio(pctrl); ngpio 520 drivers/pinctrl/mediatek/pinctrl-moore.c chip->ngpio = hw->soc->npins; ngpio 537 drivers/pinctrl/mediatek/pinctrl-moore.c chip->ngpio); ngpio 1094 drivers/pinctrl/mediatek/pinctrl-mtk-common.c pctl->chip->ngpio = pctl->devdata->npins; ngpio 795 drivers/pinctrl/mediatek/pinctrl-paris.c chip->ngpio = hw->soc->npins; ngpio 599 drivers/pinctrl/meson/pinctrl-meson.c pc->chip.ngpio = pc->data->num_pins; ngpio 806 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c gc->ngpio = info->data->nr_pins; ngpio 1061 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c for (i = 0; i < gc->ngpio; i++) { ngpio 509 drivers/pinctrl/nomadik/pinctrl-abx500.c for (i = 0; i < chip->ngpio; i++, gpio++) { ngpio 1032 drivers/pinctrl/nomadik/pinctrl-abx500.c pct->chip.ngpio = abx500_get_gpio_num(pct->soc); ngpio 1016 drivers/pinctrl/nomadik/pinctrl-nomadik.c for (i = 0; i < chip->ngpio; i++, gpio++) { ngpio 1076 drivers/pinctrl/nomadik/pinctrl-nomadik.c chip->ngpio = NMK_GPIO_PER_CHIP; ngpio 1164 drivers/pinctrl/nomadik/pinctrl-nomadik.c chip->base + chip->ngpio - 1); ngpio 1244 drivers/pinctrl/nomadik/pinctrl-nomadik.c pin < nmk_gpio->chip.base + nmk_gpio->chip.ngpio) ngpio 135 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c bank->gc.base / bank->gc.ngpio, ngpio 137 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c bank->gc.base + bank->gc.ngpio); ngpio 1445 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c int gpio = (pin % bank->gc.ngpio); ngpio 1465 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c int gpio = BIT(pin % bank->gc.ngpio); ngpio 1507 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c int gpio = (pin % bank->gc.ngpio); ngpio 1533 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c int gpio = BIT(pin % bank->gc.ngpio); ngpio 1692 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c int gpio = BIT(offset % bank->gc.ngpio); ngpio 1722 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c int gpio = (pin % bank->gc.ngpio); ngpio 1785 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c int gpio = BIT(pin % bank->gc.ngpio); ngpio 1803 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c bank->direction_input(&bank->gc, pin % bank->gc.ngpio); ngpio 1807 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c bank->direction_output(&bank->gc, pin % bank->gc.ngpio, arg); ngpio 1923 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c pctrl->gpio_bank[id].gc.ngpio = pinspec.args[2]; ngpio 1969 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c pctrl->gpio_bank[id].gc.ngpio); ngpio 899 drivers/pinctrl/pinctrl-amd.c gpio_dev->gc.ngpio = resource_size(res) / 4; ngpio 904 drivers/pinctrl/pinctrl-amd.c gpio_dev->hwbank_num = gpio_dev->gc.ngpio / 64; ngpio 921 drivers/pinctrl/pinctrl-amd.c 0, 0, gpio_dev->gc.ngpio); ngpio 545 drivers/pinctrl/pinctrl-as3722.c .ngpio = AS3722_PIN_NUM, ngpio 1025 drivers/pinctrl/pinctrl-at91-pio4.c atmel_pioctrl->gpio_chip->ngpio = atmel_pioctrl->npins; ngpio 1066 drivers/pinctrl/pinctrl-at91-pio4.c atmel_pioctrl->gpio_chip->ngpio, ngpio 1107 drivers/pinctrl/pinctrl-at91-pio4.c 0, 0, atmel_pioctrl->gpio_chip->ngpio); ngpio 1459 drivers/pinctrl/pinctrl-at91.c uint32_t set_mask = (*mask & *bits) & BITS_MASK(chip->ngpio); ngpio 1460 drivers/pinctrl/pinctrl-at91.c uint32_t clear_mask = (*mask & ~(*bits)) & BITS_MASK(chip->ngpio); ngpio 1487 drivers/pinctrl/pinctrl-at91.c for (i = 0; i < chip->ngpio; i++) { ngpio 1802 drivers/pinctrl/pinctrl-at91.c .ngpio = MAX_NB_GPIO_PER_BANK, ngpio 1822 drivers/pinctrl/pinctrl-at91.c uint32_t ngpio; ngpio 1877 drivers/pinctrl/pinctrl-at91.c if (!of_property_read_u32(np, "#gpio-lines", &ngpio)) { ngpio 1878 drivers/pinctrl/pinctrl-at91.c if (ngpio >= MAX_NB_GPIO_PER_BANK) ngpio 1882 drivers/pinctrl/pinctrl-at91.c chip->ngpio = ngpio; ngpio 1885 drivers/pinctrl/pinctrl-at91.c names = devm_kcalloc(&pdev->dev, chip->ngpio, sizeof(char *), ngpio 1893 drivers/pinctrl/pinctrl-at91.c for (i = 0; i < chip->ngpio; i++) ngpio 1903 drivers/pinctrl/pinctrl-at91.c range->npins = chip->ngpio; ngpio 428 drivers/pinctrl/pinctrl-axp209.c pctl->chip.ngpio = pctl->desc->npins; ngpio 630 drivers/pinctrl/pinctrl-coh901.c gpio->chip.ngpio = U300_GPIO_NUM_PORTS * U300_GPIO_PINS_PER_PORT; ngpio 250 drivers/pinctrl/pinctrl-digicolor.c chip->ngpio = PINS_COUNT; ngpio 1969 drivers/pinctrl/pinctrl-ingenic.c jzgc->gc.ngpio = 32; ngpio 380 drivers/pinctrl/pinctrl-mcp23s08.c unsigned ngpio; ngpio 488 drivers/pinctrl/pinctrl-mcp23s08.c for (i = 0; i < mcp->chip.ngpio; i++) { ngpio 694 drivers/pinctrl/pinctrl-mcp23s08.c mcp->chip.ngpio = 8; ngpio 703 drivers/pinctrl/pinctrl-mcp23s08.c mcp->chip.ngpio = 16; ngpio 725 drivers/pinctrl/pinctrl-mcp23s08.c mcp->chip.ngpio = 16; ngpio 734 drivers/pinctrl/pinctrl-mcp23s08.c mcp->chip.ngpio = 8; ngpio 741 drivers/pinctrl/pinctrl-mcp23s08.c mcp->chip.ngpio = 16; ngpio 748 drivers/pinctrl/pinctrl-mcp23s08.c mcp->chip.ngpio = 16; ngpio 829 drivers/pinctrl/pinctrl-mcp23s08.c mcp->pinctrl_desc.npins = mcp->chip.ngpio; ngpio 994 drivers/pinctrl/pinctrl-mcp23s08.c unsigned ngpio = 0; ngpio 1062 drivers/pinctrl/pinctrl-mcp23s08.c pdata->base += data->mcp[addr]->chip.ngpio; ngpio 1063 drivers/pinctrl/pinctrl-mcp23s08.c ngpio += data->mcp[addr]->chip.ngpio; ngpio 1065 drivers/pinctrl/pinctrl-mcp23s08.c data->ngpio = ngpio; ngpio 744 drivers/pinctrl/pinctrl-ocelot.c gc->ngpio = info->desc->npins; ngpio 1071 drivers/pinctrl/pinctrl-oxnas.c .ngpio = PINS_PER_BANK, \ ngpio 1234 drivers/pinctrl/pinctrl-oxnas.c bank->gpio_chip.ngpio = ngpios; ngpio 2117 drivers/pinctrl/pinctrl-pic32.c .ngpio = _npins, \ ngpio 1324 drivers/pinctrl/pinctrl-pistachio.c .ngpio = _npins, \ ngpio 446 drivers/pinctrl/pinctrl-rk805.c pci->gpio_chip.ngpio = ARRAY_SIZE(rk805_gpio_cfgs); ngpio 470 drivers/pinctrl/pinctrl-rk805.c 0, 0, pci->gpio_chip.ngpio); ngpio 2678 drivers/pinctrl/pinctrl-rockchip.c pin_bank->grange.npins = pin_bank->gpio_chip.ngpio; ngpio 3124 drivers/pinctrl/pinctrl-rockchip.c gc->ngpio = bank->nr_pins; ngpio 1221 drivers/pinctrl/pinctrl-rza1.c chip->ngpio = of_args.args[2]; ngpio 1239 drivers/pinctrl/pinctrl-rza1.c chip->label, chip->ngpio); ngpio 245 drivers/pinctrl/pinctrl-rza2.c chip.ngpio = priv->npins; ngpio 1458 drivers/pinctrl/pinctrl-st.c .ngpio = ST_GPIO_PINS_PER_BANK, ngpio 1491 drivers/pinctrl/pinctrl-st.c bank->gpio_chip.ngpio = ST_GPIO_PINS_PER_BANK; ngpio 1501 drivers/pinctrl/pinctrl-st.c range->npins = bank->gpio_chip.ngpio; ngpio 554 drivers/pinctrl/pinctrl-stmfx.c for_each_set_bit(n, &status, gc->ngpio) { ngpio 647 drivers/pinctrl/pinctrl-stmfx.c pctl->gpio_chip.ngpio = pctl->pctl_desc.npins; ngpio 1162 drivers/pinctrl/pinctrl-sx150x.c pctl->gpio.ngpio = pctl->data->npins; ngpio 1724 drivers/pinctrl/pinctrl-xway.c xway_chip.ngpio = xway_soc->pin_count; ngpio 1728 drivers/pinctrl/pinctrl-xway.c xway_chip.ngpio, sizeof(struct pinctrl_pin_desc), ngpio 1733 drivers/pinctrl/pinctrl-xway.c for (i = 0; i < xway_chip.ngpio; i++) { ngpio 1746 drivers/pinctrl/pinctrl-xway.c xway_pctrl_desc.npins = xway_chip.ngpio; ngpio 1748 drivers/pinctrl/pinctrl-xway.c xway_info.num_pads = xway_chip.ngpio; ngpio 1749 drivers/pinctrl/pinctrl-xway.c xway_info.num_mfp = xway_chip.ngpio; ngpio 1787 drivers/pinctrl/pinctrl-xway.c xway_gpio_range.npins = xway_chip.ngpio; ngpio 588 drivers/pinctrl/qcom/pinctrl-msm.c for (i = 0; i < chip->ngpio; i++, gpio++) ngpio 976 drivers/pinctrl/qcom/pinctrl-msm.c for_each_set_bit(i, pctrl->enabled_irqs, pctrl->chip.ngpio) { ngpio 1006 drivers/pinctrl/qcom/pinctrl-msm.c unsigned ngpio = pctrl->soc->ngpios; ngpio 1008 drivers/pinctrl/qcom/pinctrl-msm.c if (WARN_ON(ngpio > MAX_NR_GPIO)) ngpio 1013 drivers/pinctrl/qcom/pinctrl-msm.c chip->ngpio = ngpio; ngpio 1061 drivers/pinctrl/qcom/pinctrl-msm.c dev_name(pctrl->dev), 0, 0, chip->ngpio); ngpio 757 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c for (i = 0; i < chip->ngpio; i++) { ngpio 940 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c fwspec->param[0] < 1 || fwspec->param[0] > state->chip.ngpio) ngpio 1038 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c state->chip.ngpio = npins; ngpio 640 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c for (i = 0; i < chip->ngpio; i++) { ngpio 878 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c state->chip.ngpio = npins; ngpio 616 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c for (i = 0; i < chip->ngpio; i++, gpio++) { ngpio 706 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c fwspec->param[0] > pctrl->chip.ngpio) ngpio 833 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c pctrl->chip.ngpio = pctrl->npins; ngpio 846 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c pctrl->chip.ngpio, ngpio 871 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c 0, 0, pctrl->chip.ngpio); ngpio 628 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c for (i = 0; i < chip->ngpio; i++, gpio++) { ngpio 825 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c pctrl->chip.ngpio = pctrl->npins; ngpio 834 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c 0, 0, pctrl->chip.ngpio); ngpio 921 drivers/pinctrl/samsung/pinctrl-samsung.c pin_bank->grange.npins = pin_bank->gpio_chip.ngpio; ngpio 967 drivers/pinctrl/samsung/pinctrl-samsung.c gc->ngpio = bank->nr_pins; ngpio 246 drivers/pinctrl/sh-pfc/gpio.c gc->ngpio = pfc->nr_gpio_pins; ngpio 286 drivers/pinctrl/sh-pfc/gpio.c gc->ngpio = pfc->info->nr_func_gpios; ngpio 320 drivers/pinctrl/sh-pfc/gpio.c chip->gpio_chip.base + chip->gpio_chip.ngpio - 1); ngpio 343 drivers/pinctrl/sirf/pinctrl-atlas7.c unsigned int ngpio; ngpio 5628 drivers/pinctrl/sirf/pinctrl-atlas7.c if (ofs >= bank->ngpio) ngpio 5821 drivers/pinctrl/sirf/pinctrl-atlas7.c if (++pin_in_bank >= bank->ngpio) ngpio 6045 drivers/pinctrl/sirf/pinctrl-atlas7.c chip->ngpio = NGPIO_OF_BANK * nbank; ngpio 6109 drivers/pinctrl/sirf/pinctrl-atlas7.c for (pin = 0; pin < bank->ngpio; pin++) { ngpio 6127 drivers/pinctrl/sirf/pinctrl-atlas7.c for (pin = 0; pin < bank->ngpio; pin++) { ngpio 811 drivers/pinctrl/sirf/pinctrl-sirf.c sgpio->chip.gc.ngpio = SIRFSOC_GPIO_BANK_SIZE * SIRFSOC_GPIO_NO_OF_BANKS; ngpio 164 drivers/pinctrl/spear/pinctrl-plgpio.c if (offset >= chip->ngpio) ngpio 181 drivers/pinctrl/spear/pinctrl-plgpio.c if (offset >= chip->ngpio) ngpio 204 drivers/pinctrl/spear/pinctrl-plgpio.c if (offset >= chip->ngpio) ngpio 255 drivers/pinctrl/spear/pinctrl-plgpio.c if (offset >= chip->ngpio) ngpio 326 drivers/pinctrl/spear/pinctrl-plgpio.c if (offset >= plgpio->chip.ngpio) ngpio 367 drivers/pinctrl/spear/pinctrl-plgpio.c count = plgpio->chip.ngpio; ngpio 459 drivers/pinctrl/spear/pinctrl-plgpio.c plgpio->chip.ngpio = val; ngpio 542 drivers/pinctrl/spear/pinctrl-plgpio.c DIV_ROUND_UP(plgpio->chip.ngpio, MAX_GPIO_PER_REG), ngpio 617 drivers/pinctrl/spear/pinctrl-plgpio.c int i, reg_count = DIV_ROUND_UP(plgpio->chip.ngpio, MAX_GPIO_PER_REG); ngpio 656 drivers/pinctrl/spear/pinctrl-plgpio.c int i, reg_count = DIV_ROUND_UP(plgpio->chip.ngpio, MAX_GPIO_PER_REG); ngpio 664 drivers/pinctrl/spear/pinctrl-plgpio.c mask = (1 << (plgpio->chip.ngpio - i * ngpio 1206 drivers/pinctrl/stm32/pinctrl-stm32.c bank->gpio_chip.ngpio = npins; ngpio 900 drivers/pinctrl/sunxi/pinctrl-sunxi.c if (pin > gc->ngpio) ngpio 916 drivers/pinctrl/sunxi/pinctrl-sunxi.c if (offset >= chip->ngpio) ngpio 1482 drivers/pinctrl/sunxi/pinctrl-sunxi.c pctl->chip->ngpio = round_up(last_pin, PINS_PER_BANK) - ngpio 569 drivers/pinctrl/vt8500/pinctrl-wmt.c data->gpio_chip.ngpio = data->nbanks * 32; ngpio 200 drivers/platform/x86/intel_int0002_vgpio.c chip->ngpio = GPE0A_PME_B0_VIRT_GPIO_PIN + 1; ngpio 291 drivers/power/supply/sbs-manager.c gc->ngpio = SBSM_MAX_BATS; ngpio 213 drivers/pwm/pwm-pca9685.c pca->gpio.ngpio = PCA9685_MAXCHAN; ngpio 93 drivers/soc/fsl/qe/gpio.c for (i = 0; i < gc->ngpio; i++) { ngpio 321 drivers/soc/fsl/qe/gpio.c gc->ngpio = QE_PIO_PINS; ngpio 134 drivers/ssb/driver_gpio.c for_each_set_bit(gpio, &irqs, bus->gpio.ngpio) ngpio 150 drivers/ssb/driver_gpio.c bus->irq_domain = irq_domain_add_linear(NULL, chip->ngpio, ngpio 156 drivers/ssb/driver_gpio.c for (gpio = 0; gpio < chip->ngpio; gpio++) { ngpio 176 drivers/ssb/driver_gpio.c for (gpio = 0; gpio < chip->ngpio; gpio++) { ngpio 197 drivers/ssb/driver_gpio.c for (gpio = 0; gpio < chip->ngpio; gpio++) { ngpio 231 drivers/ssb/driver_gpio.c chip->ngpio = 16; ngpio 331 drivers/ssb/driver_gpio.c for_each_set_bit(gpio, &irqs, bus->gpio.ngpio) ngpio 347 drivers/ssb/driver_gpio.c bus->irq_domain = irq_domain_add_linear(NULL, chip->ngpio, ngpio 353 drivers/ssb/driver_gpio.c for (gpio = 0; gpio < chip->ngpio; gpio++) { ngpio 372 drivers/ssb/driver_gpio.c for (gpio = 0; gpio < chip->ngpio; gpio++) { ngpio 392 drivers/ssb/driver_gpio.c for (gpio = 0; gpio < chip->ngpio; gpio++) { ngpio 424 drivers/ssb/driver_gpio.c chip->ngpio = 5; ngpio 564 drivers/staging/greybus/gpio.c gpio->ngpio = ggc->line_max + 1; ngpio 57 drivers/staging/gs_fpgaboot/io.h int ngpio; ngpio 351 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c const __be32 *ngpio, *gpiobase; ngpio 357 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c ngpio = of_get_property(np, "ralink,num-gpios", NULL); ngpio 359 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c if (!ngpio || !gpiobase) { ngpio 371 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c range->npins = __be32_to_cpu(*ngpio); ngpio 1392 drivers/tty/serial/max310x.c s->gpio.ngpio = devtype->nr * 4; ngpio 1244 drivers/tty/serial/sc16is7xx.c s->gpio.ngpio = devtype->nr_gpio; ngpio 1533 drivers/usb/serial/cp210x.c priv->gc.ngpio = 2; ngpio 1545 drivers/usb/serial/cp210x.c priv->gc.ngpio = 3; ngpio 1578 drivers/usb/serial/cp210x.c priv->gc.ngpio = 4; ngpio 1601 drivers/usb/serial/cp210x.c for (i = 0; i < priv->gc.ngpio; ++i) { ngpio 1658 drivers/usb/serial/cp210x.c priv->gc.ngpio = 4; ngpio 1680 drivers/usb/serial/cp210x.c priv->gc.ngpio = 7; ngpio 1693 drivers/usb/serial/cp210x.c for (i = 0; i < priv->gc.ngpio; ++i) { ngpio 2057 drivers/usb/serial/ftdi_sio.c priv->gc.ngpio = 4; ngpio 2060 drivers/usb/serial/ftdi_sio.c for (i = 0; i < priv->gc.ngpio; ++i) { ngpio 2091 drivers/usb/serial/ftdi_sio.c priv->gc.ngpio = 4; ngpio 2094 drivers/usb/serial/ftdi_sio.c for (i = 0; i < priv->gc.ngpio; ++i) { ngpio 2125 drivers/usb/serial/ftdi_sio.c priv->gc.ngpio = 4; ngpio 2129 drivers/usb/serial/ftdi_sio.c for (i = 0; i < priv->gc.ngpio; ++i) { ngpio 152 drivers/video/fbdev/via/via-gpio.c .ngpio = 0, ngpio 181 drivers/video/fbdev/via/via-gpio.c for (i = 0; i < viafb_gpio_config.gpio_chip.ngpio; i += 2) ngpio 199 drivers/video/fbdev/via/via-gpio.c for (i = 0; i < viafb_gpio_config.gpio_chip.ngpio; i++) ngpio 213 drivers/video/fbdev/via/via-gpio.c int i, ngpio = 0, ret; ngpio 227 drivers/video/fbdev/via/via-gpio.c viafb_gpio_config.active_gpios[ngpio] = gpio; ngpio 228 drivers/video/fbdev/via/via-gpio.c viafb_gpio_config.gpio_names[ngpio] = ngpio 230 drivers/video/fbdev/via/via-gpio.c ngpio++; ngpio 233 drivers/video/fbdev/via/via-gpio.c viafb_gpio_config.gpio_chip.ngpio = ngpio; ngpio 236 drivers/video/fbdev/via/via-gpio.c if (ngpio == 0) { ngpio 245 drivers/video/fbdev/via/via-gpio.c for (i = 0; i < ngpio; i += 2) ngpio 256 drivers/video/fbdev/via/via-gpio.c viafb_gpio_config.gpio_chip.ngpio = 0; ngpio 277 drivers/video/fbdev/via/via-gpio.c if (viafb_gpio_config.gpio_chip.ngpio > 0) { ngpio 284 drivers/video/fbdev/via/via-gpio.c for (i = 0; i < viafb_gpio_config.gpio_chip.ngpio; i += 2) ngpio 286 drivers/video/fbdev/via/via-gpio.c viafb_gpio_config.gpio_chip.ngpio = 0; ngpio 380 include/linux/gpio/driver.h u16 ngpio; ngpio 527 include/linux/gpio/driver.h int ngpio; ngpio 179 include/linux/input/adp5589.h int gpio, unsigned ngpio, ngpio 182 include/linux/input/adp5589.h int gpio, unsigned ngpio, ngpio 16 include/linux/leds-tca6507.h void (*setup)(unsigned gpio_base, unsigned ngpio); ngpio 592 include/linux/mfd/twl.h unsigned gpio, unsigned ngpio); ngpio 594 include/linux/mfd/twl.h unsigned gpio, unsigned ngpio); ngpio 163 include/linux/platform_data/adp5588.h unsigned gpio, unsigned ngpio, ngpio 166 include/linux/platform_data/adp5588.h unsigned gpio, unsigned ngpio, ngpio 22 include/linux/platform_data/gpio-davinci.h u32 ngpio; ngpio 12 include/linux/platform_data/gpio-dwapb.h unsigned int ngpio; ngpio 17 include/linux/platform_data/max732x.h unsigned gpio, unsigned ngpio, ngpio 20 include/linux/platform_data/max732x.h unsigned gpio, unsigned ngpio, ngpio 23 include/linux/platform_data/pca953x.h unsigned gpio, unsigned ngpio, ngpio 26 include/linux/platform_data/pca953x.h unsigned gpio, unsigned ngpio, ngpio 37 include/linux/platform_data/pcf857x.h int gpio, unsigned ngpio, ngpio 40 include/linux/platform_data/pcf857x.h int gpio, unsigned ngpio, ngpio 87 include/linux/ucb1400.h int (*gpio_setup)(struct device *dev, int ngpio); ngpio 88 include/linux/ucb1400.h int (*gpio_teardown)(struct device *dev, int ngpio); ngpio 108 include/linux/ucb1400.h int (*gpio_setup)(struct device *dev, int ngpio); ngpio 109 include/linux/ucb1400.h int (*gpio_teardown)(struct device *dev, int ngpio); ngpio 4676 sound/soc/codecs/rt5677.c rt5677->gpio_chip.ngpio = RT5677_GPIO_NUM; ngpio 2300 sound/soc/codecs/wm5100.c wm5100->gpio_chip.ngpio = 6; ngpio 1856 sound/soc/codecs/wm8903.c wm8903->gpio_chip.ngpio = WM8903_NUM_GPIO; ngpio 3373 sound/soc/codecs/wm8962.c wm8962->gpio_chip.ngpio = WM8962_MAX_GPIO; ngpio 2198 sound/soc/codecs/wm8996.c wm8996->gpio_chip.ngpio = 5; ngpio 141 sound/soc/soc-ac97.c gpio_priv->gpio_chip.ngpio = AC97_NUM_GPIOS; ngpio 2060 sound/soc/ti/davinci-mcasp.c .ngpio = 32,