npins 40 drivers/gpio/gpio-merrifield.c unsigned int npins; npins 47 drivers/gpio/gpio-merrifield.c .npins = (gend) - (gstart) + 1, \ npins 461 drivers/gpio/gpio-merrifield.c range->npins); npins 407 drivers/gpio/gpio-rcar.c static int gpio_rcar_parse_dt(struct gpio_rcar_priv *p, unsigned int *npins) npins 419 drivers/gpio/gpio-rcar.c *npins = ret == 0 ? args.args[2] : RCAR_MAX_GPIO_PER_BANK; npins 421 drivers/gpio/gpio-rcar.c if (*npins == 0 || *npins > RCAR_MAX_GPIO_PER_BANK) { npins 423 drivers/gpio/gpio-rcar.c *npins, RCAR_MAX_GPIO_PER_BANK); npins 424 drivers/gpio/gpio-rcar.c *npins = RCAR_MAX_GPIO_PER_BANK; npins 438 drivers/gpio/gpio-rcar.c unsigned int npins; npins 449 drivers/gpio/gpio-rcar.c ret = gpio_rcar_parse_dt(p, &npins); npins 483 drivers/gpio/gpio-rcar.c gpio_chip->ngpio = npins; npins 515 drivers/gpio/gpio-rcar.c dev_info(dev, "driving %d GPIOs\n", npins); npins 2569 drivers/gpio/gpiolib.c &pin_range->range.npins); npins 2578 drivers/gpio/gpiolib.c gpio_offset, gpio_offset + pin_range->range.npins - 1, npins 2606 drivers/gpio/gpiolib.c unsigned int npins) npins 2624 drivers/gpio/gpiolib.c pin_range->range.npins = npins; npins 2634 drivers/gpio/gpiolib.c gpio_offset, gpio_offset + npins - 1, npins 2636 drivers/gpio/gpiolib.c pin_offset, pin_offset + npins - 1); npins 534 drivers/gpu/drm/tegra/dpaux.c dpaux->desc.npins = ARRAY_SIZE(tegra_dpaux_pins); npins 948 drivers/pinctrl/actions/pinctrl-owl.c owl_pinctrl_desc.npins = soc_data->npins; npins 292 drivers/pinctrl/actions/pinctrl-owl.h unsigned int npins; npins 1868 drivers/pinctrl/actions/pinctrl-s700.c .npins = ARRAY_SIZE(s700_pads), npins 1785 drivers/pinctrl/actions/pinctrl-s900.c .npins = ARRAY_SIZE(s900_pads), npins 2603 drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c .npins = ARRAY_SIZE(aspeed_g4_pins), npins 2644 drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c .npins = ARRAY_SIZE(aspeed_g4_pins), npins 2790 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c .npins = ARRAY_SIZE(aspeed_g5_pins), npins 2831 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c .npins = ARRAY_SIZE(aspeed_g5_pins), npins 2306 drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c .npins = ARRAY_SIZE(aspeed_g6_pins), npins 2337 drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c .npins = ARRAY_SIZE(aspeed_g6_pins), npins 30 drivers/pinctrl/aspeed/pinctrl-aspeed.c unsigned int *npins) npins 35 drivers/pinctrl/aspeed/pinctrl-aspeed.c *npins = pdata->pinmux.groups[group].npins; npins 225 drivers/pinctrl/aspeed/pinctrl-aspeed.c for (i = 0; i < pgroup->npins; i++) { npins 564 drivers/pinctrl/aspeed/pinctrl-aspeed.c unsigned int npins; npins 567 drivers/pinctrl/aspeed/pinctrl-aspeed.c rc = aspeed_pinctrl_get_group_pins(pctldev, selector, &pins, &npins); npins 571 drivers/pinctrl/aspeed/pinctrl-aspeed.c if (!npins) npins 585 drivers/pinctrl/aspeed/pinctrl-aspeed.c unsigned int npins; npins 591 drivers/pinctrl/aspeed/pinctrl-aspeed.c rc = aspeed_pinctrl_get_group_pins(pctldev, selector, &pins, &npins); npins 595 drivers/pinctrl/aspeed/pinctrl-aspeed.c for (i = 0; i < npins; i++) { npins 42 drivers/pinctrl/aspeed/pinctrl-aspeed.h const unsigned int npins; npins 56 drivers/pinctrl/aspeed/pinctrl-aspeed.h unsigned int *npins); npins 755 drivers/pinctrl/aspeed/pinmux-aspeed.h const unsigned int npins; npins 761 drivers/pinctrl/aspeed/pinmux-aspeed.h .npins = ARRAY_SIZE(GROUP_SYM(name_)), \ npins 94 drivers/pinctrl/bcm/pinctrl-bcm281xx.c const unsigned npins; npins 945 drivers/pinctrl/bcm/pinctrl-bcm281xx.c .npins = ARRAY_SIZE(bcm281xx_pinctrl_pins), npins 955 drivers/pinctrl/bcm/pinctrl-bcm281xx.c if (pin >= pdata->npins) npins 991 drivers/pinctrl/bcm/pinctrl-bcm281xx.c return pdata->npins; npins 1424 drivers/pinctrl/bcm/pinctrl-bcm281xx.c bcm281xx_pinctrl_desc.npins = bcm281xx_pinctrl.npins; npins 1060 drivers/pinctrl/bcm/pinctrl-bcm2835.c .npins = ARRAY_SIZE(bcm2835_gpio_pins), npins 1069 drivers/pinctrl/bcm/pinctrl-bcm2835.c .npins = BCM2835_NUM_GPIOS, npins 991 drivers/pinctrl/bcm/pinctrl-cygnus-mux.c cygnus_pinctrl_desc.npins = num_pins; npins 750 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c pctldesc->npins = gc->ngpio; npins 323 drivers/pinctrl/bcm/pinctrl-ns.c pctldesc->npins++; npins 1086 drivers/pinctrl/bcm/pinctrl-ns2-mux.c ns2_pinctrl_desc.npins = num_pins; npins 596 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c pctldesc->npins = gc->ngpio; npins 615 drivers/pinctrl/bcm/pinctrl-nsp-mux.c nsp_pinctrl_desc.npins = num_pins; npins 609 drivers/pinctrl/cirrus/pinctrl-lochnagar.c .npins = 1, \ npins 617 drivers/pinctrl/cirrus/pinctrl-lochnagar.c .npins = ARRAY_SIZE(lochnagar##REV##_##ID##_aif.pins), \ npins 638 drivers/pinctrl/cirrus/pinctrl-lochnagar.c unsigned int npins; npins 715 drivers/pinctrl/cirrus/pinctrl-lochnagar.c unsigned int npins; npins 748 drivers/pinctrl/cirrus/pinctrl-lochnagar.c *num_pins = priv->groups[group_idx].npins; npins 886 drivers/pinctrl/cirrus/pinctrl-lochnagar.c for (i = 0; i < group->npins; i++) { npins 1173 drivers/pinctrl/cirrus/pinctrl-lochnagar.c priv->npins = ARRAY_SIZE(lochnagar1_pins); npins 1183 drivers/pinctrl/cirrus/pinctrl-lochnagar.c priv->npins = ARRAY_SIZE(lochnagar2_pins); npins 1199 drivers/pinctrl/cirrus/pinctrl-lochnagar.c desc->npins = priv->npins; npins 1048 drivers/pinctrl/cirrus/pinctrl-madera-core.c madera_pin_desc.npins = priv->chip->n_pins; npins 148 drivers/pinctrl/core.c for (i = 0; i < pctldev->desc->npins; i++) { npins 298 drivers/pinctrl/core.c gpio < range->base + range->npins) { npins 338 drivers/pinctrl/core.c if (range->base + range->npins - 1 < chip->base || npins 470 drivers/pinctrl/core.c for (a = 0; a < range->npins; a++) { npins 475 drivers/pinctrl/core.c pin < range->pin_base + range->npins) npins 1608 drivers/pinctrl/core.c seq_printf(s, "registered pins: %d\n", pctldev->desc->npins); npins 1613 drivers/pinctrl/core.c for (i = 0; i < pctldev->desc->npins; i++) { npins 1698 drivers/pinctrl/core.c range->base, (range->base + range->npins - 1)); npins 1699 drivers/pinctrl/core.c for (a = 0; a < range->npins - 1; a++) npins 1706 drivers/pinctrl/core.c range->base, (range->base + range->npins - 1), npins 1708 drivers/pinctrl/core.c (range->pin_base + range->npins - 1)); npins 1995 drivers/pinctrl/core.c dev_dbg(dev, "try to register %d pins ...\n", pctldesc->npins); npins 1996 drivers/pinctrl/core.c ret = pinctrl_register_pins(pctldev, pctldesc->pins, pctldesc->npins); npins 2000 drivers/pinctrl/core.c pctldesc->npins); npins 2164 drivers/pinctrl/core.c pctldev->desc->npins); npins 209 drivers/pinctrl/core.h unsigned int *npins); npins 248 drivers/pinctrl/freescale/pinctrl-imx.c unsigned int npins; npins 263 drivers/pinctrl/freescale/pinctrl-imx.c npins = grp->num_pins; npins 268 drivers/pinctrl/freescale/pinctrl-imx.c for (i = 0; i < npins; i++) { npins 798 drivers/pinctrl/freescale/pinctrl-imx.c if (!info || !info->pins || !info->npins) { npins 815 drivers/pinctrl/freescale/pinctrl-imx.c ipctl->pin_regs = devm_kmalloc_array(&pdev->dev, info->npins, npins 821 drivers/pinctrl/freescale/pinctrl-imx.c for (i = 0; i < info->npins; i++) { npins 854 drivers/pinctrl/freescale/pinctrl-imx.c imx_pinctrl_desc->npins = info->npins; npins 80 drivers/pinctrl/freescale/pinctrl-imx.h unsigned int npins; npins 190 drivers/pinctrl/freescale/pinctrl-imx1-core.c unsigned *npins) npins 199 drivers/pinctrl/freescale/pinctrl-imx1-core.c *npins = info->groups[selector].npins; npins 241 drivers/pinctrl/freescale/pinctrl-imx1-core.c for (i = 0; i < grp->npins; i++) npins 265 drivers/pinctrl/freescale/pinctrl-imx1-core.c for (i = j = 0; i < grp->npins; i++) { npins 302 drivers/pinctrl/freescale/pinctrl-imx1-core.c unsigned int npins; npins 310 drivers/pinctrl/freescale/pinctrl-imx1-core.c npins = info->groups[group].npins; npins 312 drivers/pinctrl/freescale/pinctrl-imx1-core.c WARN_ON(!pins || !npins); npins 317 drivers/pinctrl/freescale/pinctrl-imx1-core.c for (i = 0; i < npins; i++) { npins 437 drivers/pinctrl/freescale/pinctrl-imx1-core.c for (i = 0; i < grp->npins; i++) { npins 485 drivers/pinctrl/freescale/pinctrl-imx1-core.c grp->npins = size / 12; npins 487 drivers/pinctrl/freescale/pinctrl-imx1-core.c grp->npins, sizeof(struct imx1_pin), GFP_KERNEL); npins 489 drivers/pinctrl/freescale/pinctrl-imx1-core.c grp->npins, sizeof(unsigned int), GFP_KERNEL); npins 494 drivers/pinctrl/freescale/pinctrl-imx1-core.c for (i = 0; i < grp->npins; i++) { npins 599 drivers/pinctrl/freescale/pinctrl-imx1-core.c if (!info || !info->pins || !info->npins) { npins 622 drivers/pinctrl/freescale/pinctrl-imx1-core.c pctl_desc->npins = info->npins; npins 248 drivers/pinctrl/freescale/pinctrl-imx1.c .npins = ARRAY_SIZE(imx1_pinctrl_pads), npins 39 drivers/pinctrl/freescale/pinctrl-imx1.h unsigned npins; npins 57 drivers/pinctrl/freescale/pinctrl-imx1.h unsigned int npins; npins 311 drivers/pinctrl/freescale/pinctrl-imx21.c .npins = ARRAY_SIZE(imx21_pinctrl_pads), npins 262 drivers/pinctrl/freescale/pinctrl-imx23.c .npins = ARRAY_SIZE(imx23_pins), npins 310 drivers/pinctrl/freescale/pinctrl-imx25.c .npins = ARRAY_SIZE(imx25_pinctrl_pads), npins 383 drivers/pinctrl/freescale/pinctrl-imx27.c .npins = ARRAY_SIZE(imx27_pinctrl_pads), npins 378 drivers/pinctrl/freescale/pinctrl-imx28.c .npins = ARRAY_SIZE(imx28_pins), npins 1000 drivers/pinctrl/freescale/pinctrl-imx35.c .npins = ARRAY_SIZE(imx35_pinctrl_pads), npins 385 drivers/pinctrl/freescale/pinctrl-imx50.c .npins = ARRAY_SIZE(imx50_pinctrl_pads), npins 762 drivers/pinctrl/freescale/pinctrl-imx51.c .npins = ARRAY_SIZE(imx51_pinctrl_pads), npins 448 drivers/pinctrl/freescale/pinctrl-imx53.c .npins = ARRAY_SIZE(imx53_pinctrl_pads), npins 458 drivers/pinctrl/freescale/pinctrl-imx6dl.c .npins = ARRAY_SIZE(imx6dl_pinctrl_pads), npins 460 drivers/pinctrl/freescale/pinctrl-imx6q.c .npins = ARRAY_SIZE(imx6q_pinctrl_pads), npins 364 drivers/pinctrl/freescale/pinctrl-imx6sl.c .npins = ARRAY_SIZE(imx6sl_pinctrl_pads), npins 331 drivers/pinctrl/freescale/pinctrl-imx6sll.c .npins = ARRAY_SIZE(imx6sll_pinctrl_pads), npins 368 drivers/pinctrl/freescale/pinctrl-imx6sx.c .npins = ARRAY_SIZE(imx6sx_pinctrl_pads), npins 315 drivers/pinctrl/freescale/pinctrl-imx6ul.c .npins = ARRAY_SIZE(imx6ul_pinctrl_pads), npins 321 drivers/pinctrl/freescale/pinctrl-imx6ul.c .npins = ARRAY_SIZE(imx6ull_snvs_pinctrl_pads), npins 359 drivers/pinctrl/freescale/pinctrl-imx7d.c .npins = ARRAY_SIZE(imx7d_pinctrl_pads), npins 365 drivers/pinctrl/freescale/pinctrl-imx7d.c .npins = ARRAY_SIZE(imx7d_lpsr_pinctrl_pads), npins 286 drivers/pinctrl/freescale/pinctrl-imx7ulp.c .npins = ARRAY_SIZE(imx7ulp_pinctrl_pads), npins 321 drivers/pinctrl/freescale/pinctrl-imx8mm.c .npins = ARRAY_SIZE(imx8mm_pinctrl_pads), npins 321 drivers/pinctrl/freescale/pinctrl-imx8mn.c .npins = ARRAY_SIZE(imx8mn_pinctrl_pads), npins 324 drivers/pinctrl/freescale/pinctrl-imx8mq.c .npins = ARRAY_SIZE(imx8mq_pinctrl_pads), npins 293 drivers/pinctrl/freescale/pinctrl-imx8qm.c .npins = ARRAY_SIZE(imx8qm_pinctrl_pads), npins 199 drivers/pinctrl/freescale/pinctrl-imx8qxp.c .npins = ARRAY_SIZE(imx8qxp_pinctrl_pads), npins 49 drivers/pinctrl/freescale/pinctrl-mxs.c *num_pins = d->soc->groups[group].npins; npins 210 drivers/pinctrl/freescale/pinctrl-mxs.c for (i = 0; i < g->npins; i++) { npins 273 drivers/pinctrl/freescale/pinctrl-mxs.c for (i = 0; i < g->npins; i++) { npins 371 drivers/pinctrl/freescale/pinctrl-mxs.c g->npins = length / sizeof(u32); npins 373 drivers/pinctrl/freescale/pinctrl-mxs.c g->pins = devm_kcalloc(&pdev->dev, g->npins, sizeof(*g->pins), npins 378 drivers/pinctrl/freescale/pinctrl-mxs.c g->muxsel = devm_kcalloc(&pdev->dev, g->npins, sizeof(*g->muxsel), npins 383 drivers/pinctrl/freescale/pinctrl-mxs.c of_property_read_u32_array(np, propname, g->pins, g->npins); npins 384 drivers/pinctrl/freescale/pinctrl-mxs.c for (i = 0; i < g->npins; i++) { npins 541 drivers/pinctrl/freescale/pinctrl-mxs.c mxs_pinctrl_desc.npins = d->soc->npins; npins 60 drivers/pinctrl/freescale/pinctrl-mxs.h unsigned npins; npins 74 drivers/pinctrl/freescale/pinctrl-mxs.h unsigned npins; npins 318 drivers/pinctrl/freescale/pinctrl-vf610.c .npins = ARRAY_SIZE(vf610_pinctrl_pads), npins 104 drivers/pinctrl/intel/pinctrl-baytrail.c .npins = (n), \ npins 373 drivers/pinctrl/intel/pinctrl-baytrail.c .npins = ARRAY_SIZE(byt_score_pins), npins 486 drivers/pinctrl/intel/pinctrl-baytrail.c .npins = ARRAY_SIZE(byt_sus_pins), npins 539 drivers/pinctrl/intel/pinctrl-baytrail.c .npins = ARRAY_SIZE(byt_ncore_pins), npins 561 drivers/pinctrl/intel/pinctrl-baytrail.c if (pin < comm->pin_base + comm->npins && pin >= comm->pin_base) npins 616 drivers/pinctrl/intel/pinctrl-baytrail.c *num_pins = vg->soc_data->groups[selector].npins; npins 664 drivers/pinctrl/intel/pinctrl-baytrail.c for (i = 0; i < group.npins; i++) { npins 694 drivers/pinctrl/intel/pinctrl-baytrail.c for (i = 0; i < group.npins; i++) { npins 1201 drivers/pinctrl/intel/pinctrl-baytrail.c for (i = 0; i < vg->soc_data->npins; i++) { npins 1474 drivers/pinctrl/intel/pinctrl-baytrail.c for (i = 0; i < vg->soc_data->npins; i++) { npins 1496 drivers/pinctrl/intel/pinctrl-baytrail.c for (base = 0; base < vg->soc_data->npins; base += 32) { npins 1530 drivers/pinctrl/intel/pinctrl-baytrail.c gc->ngpio = vg->soc_data->npins; npins 1546 drivers/pinctrl/intel/pinctrl-baytrail.c 0, 0, vg->soc_data->npins); npins 1641 drivers/pinctrl/intel/pinctrl-baytrail.c vg->pctl_desc.npins = vg->soc_data->npins; npins 1668 drivers/pinctrl/intel/pinctrl-baytrail.c for (i = 0; i < vg->soc_data->npins; i++) { npins 1700 drivers/pinctrl/intel/pinctrl-baytrail.c for (i = 0; i < vg->soc_data->npins; i++) { npins 32 drivers/pinctrl/intel/pinctrl-broxton.c .npins = ((e) - (s) + 1), \ npins 181 drivers/pinctrl/intel/pinctrl-broxton.c .npins = ARRAY_SIZE(bxt_north_pins), npins 298 drivers/pinctrl/intel/pinctrl-broxton.c .npins = ARRAY_SIZE(bxt_northwest_pins), npins 405 drivers/pinctrl/intel/pinctrl-broxton.c .npins = ARRAY_SIZE(bxt_west_pins), npins 481 drivers/pinctrl/intel/pinctrl-broxton.c .npins = ARRAY_SIZE(bxt_southwest_pins), npins 520 drivers/pinctrl/intel/pinctrl-broxton.c .npins = ARRAY_SIZE(bxt_south_pins), npins 659 drivers/pinctrl/intel/pinctrl-broxton.c .npins = ARRAY_SIZE(apl_north_pins), npins 779 drivers/pinctrl/intel/pinctrl-broxton.c .npins = ARRAY_SIZE(apl_northwest_pins), npins 889 drivers/pinctrl/intel/pinctrl-broxton.c .npins = ARRAY_SIZE(apl_west_pins), npins 981 drivers/pinctrl/intel/pinctrl-broxton.c .npins = ARRAY_SIZE(apl_southwest_pins), npins 44 drivers/pinctrl/intel/pinctrl-cannonlake.c .npins = ((e) - (s) + 1), \ npins 462 drivers/pinctrl/intel/pinctrl-cannonlake.c .npins = ARRAY_SIZE(cnlh_pins), npins 822 drivers/pinctrl/intel/pinctrl-cannonlake.c .npins = ARRAY_SIZE(cnllp_pins), npins 39 drivers/pinctrl/intel/pinctrl-cedarfork.c .npins = ((e) - (s) + 1), \ npins 328 drivers/pinctrl/intel/pinctrl-cedarfork.c .npins = ARRAY_SIZE(cdf_pins), npins 95 drivers/pinctrl/intel/pinctrl-cherryview.c size_t npins; npins 108 drivers/pinctrl/intel/pinctrl-cherryview.c unsigned int npins; npins 128 drivers/pinctrl/intel/pinctrl-cherryview.c size_t npins; npins 185 drivers/pinctrl/intel/pinctrl-cherryview.c .npins = ARRAY_SIZE((p)), \ npins 194 drivers/pinctrl/intel/pinctrl-cherryview.c .npins = ARRAY_SIZE((p)), \ npins 204 drivers/pinctrl/intel/pinctrl-cherryview.c .npins = (end) - (start) + 1, \ npins 374 drivers/pinctrl/intel/pinctrl-cherryview.c .npins = ARRAY_SIZE(southwest_pins), npins 467 drivers/pinctrl/intel/pinctrl-cherryview.c .npins = ARRAY_SIZE(north_pins), npins 515 drivers/pinctrl/intel/pinctrl-cherryview.c .npins = ARRAY_SIZE(east_pins), npins 637 drivers/pinctrl/intel/pinctrl-cherryview.c .npins = ARRAY_SIZE(southeast_pins), npins 710 drivers/pinctrl/intel/pinctrl-cherryview.c const unsigned int **pins, unsigned int *npins) npins 715 drivers/pinctrl/intel/pinctrl-cherryview.c *npins = pctrl->community->groups[group].npins; npins 799 drivers/pinctrl/intel/pinctrl-cherryview.c for (i = 0; i < grp->npins; i++) { npins 808 drivers/pinctrl/intel/pinctrl-cherryview.c for (i = 0; i < grp->npins; i++) { npins 1187 drivers/pinctrl/intel/pinctrl-cherryview.c unsigned int npins; npins 1190 drivers/pinctrl/intel/pinctrl-cherryview.c ret = chv_get_group_pins(pctldev, group, &pins, &npins); npins 1206 drivers/pinctrl/intel/pinctrl-cherryview.c unsigned int npins; npins 1209 drivers/pinctrl/intel/pinctrl-cherryview.c ret = chv_get_group_pins(pctldev, group, &pins, &npins); npins 1213 drivers/pinctrl/intel/pinctrl-cherryview.c for (i = 0; i < npins; i++) { npins 1547 drivers/pinctrl/intel/pinctrl-cherryview.c for (i = 0; i < community->npins; i++) { npins 1572 drivers/pinctrl/intel/pinctrl-cherryview.c chip->ngpio = community->pins[community->npins - 1].number + 1; npins 1589 drivers/pinctrl/intel/pinctrl-cherryview.c range->npins); npins 1617 drivers/pinctrl/intel/pinctrl-cherryview.c community->npins, NUMA_NO_NODE); npins 1644 drivers/pinctrl/intel/pinctrl-cherryview.c range->base, range->npins); npins 1645 drivers/pinctrl/intel/pinctrl-cherryview.c irq_base += range->npins; npins 1703 drivers/pinctrl/intel/pinctrl-cherryview.c pctrl->community->npins, sizeof(*pctrl->saved_pin_context), npins 1720 drivers/pinctrl/intel/pinctrl-cherryview.c pctrl->pctldesc.npins = pctrl->community->npins; npins 1767 drivers/pinctrl/intel/pinctrl-cherryview.c for (i = 0; i < pctrl->community->npins; i++) { npins 1805 drivers/pinctrl/intel/pinctrl-cherryview.c for (i = 0; i < pctrl->community->npins; i++) { npins 39 drivers/pinctrl/intel/pinctrl-denverton.c .npins = ((e) - (s) + 1), \ npins 254 drivers/pinctrl/intel/pinctrl-denverton.c .npins = ARRAY_SIZE(dnv_pins), npins 32 drivers/pinctrl/intel/pinctrl-geminilake.c .npins = ((e) - (s) + 1), \ npins 182 drivers/pinctrl/intel/pinctrl-geminilake.c .npins = ARRAY_SIZE(glk_northwest_pins), npins 315 drivers/pinctrl/intel/pinctrl-geminilake.c .npins = ARRAY_SIZE(glk_north_pins), npins 354 drivers/pinctrl/intel/pinctrl-geminilake.c .npins = ARRAY_SIZE(glk_audio_pins), npins 436 drivers/pinctrl/intel/pinctrl-geminilake.c .npins = ARRAY_SIZE(glk_scc_pins), npins 43 drivers/pinctrl/intel/pinctrl-icelake.c .npins = ((e) - (s) + 1), \ npins 399 drivers/pinctrl/intel/pinctrl-icelake.c .npins = ARRAY_SIZE(icllp_pins), npins 133 drivers/pinctrl/intel/pinctrl-intel.c pin < community->pin_base + community->npins) npins 309 drivers/pinctrl/intel/pinctrl-intel.c const unsigned int **pins, unsigned int *npins) npins 314 drivers/pinctrl/intel/pinctrl-intel.c *npins = pctrl->soc->groups[group].npins; npins 417 drivers/pinctrl/intel/pinctrl-intel.c for (i = 0; i < grp->npins; i++) { npins 425 drivers/pinctrl/intel/pinctrl-intel.c for (i = 0; i < grp->npins; i++) { npins 1272 drivers/pinctrl/intel/pinctrl-intel.c unsigned int npins = community->npins; npins 1279 drivers/pinctrl/intel/pinctrl-intel.c ngpps = DIV_ROUND_UP(community->npins, community->gpp_size); npins 1293 drivers/pinctrl/intel/pinctrl-intel.c gpps[i].size = min(gpp_size, npins); npins 1294 drivers/pinctrl/intel/pinctrl-intel.c npins -= gpps[i].size; npins 1329 drivers/pinctrl/intel/pinctrl-intel.c pads = devm_kcalloc(pctrl->dev, soc->npins, sizeof(*pads), GFP_KERNEL); npins 1439 drivers/pinctrl/intel/pinctrl-intel.c pctrl->pctldesc.npins = pctrl->soc->npins; npins 1528 drivers/pinctrl/intel/pinctrl-intel.c for (i = 0; i < pctrl->soc->npins; i++) { npins 1621 drivers/pinctrl/intel/pinctrl-intel.c for (i = 0; i < pctrl->soc->npins; i++) { npins 31 drivers/pinctrl/intel/pinctrl-intel.h size_t npins; npins 111 drivers/pinctrl/intel/pinctrl-intel.h size_t npins; npins 136 drivers/pinctrl/intel/pinctrl-intel.h .npins = ARRAY_SIZE((p)), \ npins 168 drivers/pinctrl/intel/pinctrl-intel.h size_t npins; npins 33 drivers/pinctrl/intel/pinctrl-lewisburg.c .npins = ((e) - (s) + 1), \ npins 309 drivers/pinctrl/intel/pinctrl-lewisburg.c .npins = ARRAY_SIZE(lbg_pins), npins 67 drivers/pinctrl/intel/pinctrl-merrifield.c size_t npins; npins 76 drivers/pinctrl/intel/pinctrl-merrifield.c .npins = (e) - (s) + 1, \ npins 83 drivers/pinctrl/intel/pinctrl-merrifield.c .npins = (e) - (s) + 1, \ npins 433 drivers/pinctrl/intel/pinctrl-merrifield.c size_t npins; npins 447 drivers/pinctrl/intel/pinctrl-merrifield.c pin < family->pin_base + family->npins) npins 523 drivers/pinctrl/intel/pinctrl-merrifield.c const unsigned int **pins, unsigned int *npins) npins 528 drivers/pinctrl/intel/pinctrl-merrifield.c *npins = mp->groups[group].npins; npins 603 drivers/pinctrl/intel/pinctrl-merrifield.c for (i = 0; i < grp->npins; i++) { npins 610 drivers/pinctrl/intel/pinctrl-merrifield.c for (i = 0; i < grp->npins; i++) npins 834 drivers/pinctrl/intel/pinctrl-merrifield.c unsigned int npins; npins 837 drivers/pinctrl/intel/pinctrl-merrifield.c ret = mrfld_get_group_pins(pctldev, group, &pins, &npins); npins 853 drivers/pinctrl/intel/pinctrl-merrifield.c unsigned int npins; npins 856 drivers/pinctrl/intel/pinctrl-merrifield.c ret = mrfld_get_group_pins(pctldev, group, &pins, &npins); npins 860 drivers/pinctrl/intel/pinctrl-merrifield.c for (i = 0; i < npins; i++) { npins 930 drivers/pinctrl/intel/pinctrl-merrifield.c mp->pctldesc.npins = ARRAY_SIZE(mrfld_pins); npins 36 drivers/pinctrl/intel/pinctrl-sunrisepoint.c .npins = ((e) - (s) + 1), \ npins 56 drivers/pinctrl/intel/pinctrl-sunrisepoint.c .npins = ((e) - (s) + 1), \ npins 302 drivers/pinctrl/intel/pinctrl-sunrisepoint.c .npins = ARRAY_SIZE(sptlp_pins), npins 582 drivers/pinctrl/intel/pinctrl-sunrisepoint.c .npins = ARRAY_SIZE(spth_pins), npins 354 drivers/pinctrl/mediatek/pinctrl-moore.c unsigned int i, npins, old = 0; npins 357 drivers/pinctrl/mediatek/pinctrl-moore.c ret = pinctrl_generic_get_group_pins(pctldev, group, &pins, &npins); npins 361 drivers/pinctrl/mediatek/pinctrl-moore.c for (i = 0; i < npins; i++) { npins 380 drivers/pinctrl/mediatek/pinctrl-moore.c unsigned int i, npins; npins 383 drivers/pinctrl/mediatek/pinctrl-moore.c ret = pinctrl_generic_get_group_pins(pctldev, group, &pins, &npins); npins 387 drivers/pinctrl/mediatek/pinctrl-moore.c for (i = 0; i < npins; i++) { npins 520 drivers/pinctrl/mediatek/pinctrl-moore.c chip->ngpio = hw->soc->npins; npins 630 drivers/pinctrl/mediatek/pinctrl-moore.c pins = devm_kmalloc_array(&pdev->dev, hw->soc->npins, sizeof(*pins), npins 635 drivers/pinctrl/mediatek/pinctrl-moore.c for (i = 0; i < hw->soc->npins; i++) { npins 642 drivers/pinctrl/mediatek/pinctrl-moore.c mtk_desc.npins = hw->soc->npins; npins 506 drivers/pinctrl/mediatek/pinctrl-mt2701.c .npins = ARRAY_SIZE(mtk_pins_mt2701), npins 561 drivers/pinctrl/mediatek/pinctrl-mt2712.c .npins = ARRAY_SIZE(mtk_pins_mt2712), npins 22 drivers/pinctrl/mediatek/pinctrl-mt6397.c .npins = ARRAY_SIZE(mtk_pins_mt6397), npins 1069 drivers/pinctrl/mediatek/pinctrl-mt6765.c .npins = ARRAY_SIZE(mtk_pins_mt6765), npins 53 drivers/pinctrl/mediatek/pinctrl-mt6797.c .npins = ARRAY_SIZE(mtk_pins_mt6797), npins 762 drivers/pinctrl/mediatek/pinctrl-mt7622.c .npins = ARRAY_SIZE(mt7622_pins), npins 1377 drivers/pinctrl/mediatek/pinctrl-mt7623.c .npins = ARRAY_SIZE(mt7623_pins), npins 410 drivers/pinctrl/mediatek/pinctrl-mt7629.c .npins = ARRAY_SIZE(mt7629_pins), npins 277 drivers/pinctrl/mediatek/pinctrl-mt8127.c .npins = ARRAY_SIZE(mtk_pins_mt8127), npins 289 drivers/pinctrl/mediatek/pinctrl-mt8135.c .npins = ARRAY_SIZE(mtk_pins_mt8135), npins 317 drivers/pinctrl/mediatek/pinctrl-mt8173.c .npins = ARRAY_SIZE(mtk_pins_mt8173), npins 553 drivers/pinctrl/mediatek/pinctrl-mt8183.c .npins = ARRAY_SIZE(mtk_pins_mt8183), npins 309 drivers/pinctrl/mediatek/pinctrl-mt8516.c .npins = ARRAY_SIZE(mtk_pins_mt8516), npins 220 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c while (i < hw->soc->npins) { npins 195 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h unsigned int npins; npins 202 drivers/pinctrl/mediatek/pinctrl-mtk-common.c if (pin >= pctl->devdata->npins) npins 444 drivers/pinctrl/mediatek/pinctrl-mtk-common.c for (i = 0; i < pctl->devdata->npins; i++) { npins 551 drivers/pinctrl/mediatek/pinctrl-mtk-common.c if (pin >= pctl->devdata->npins || npins 703 drivers/pinctrl/mediatek/pinctrl-mtk-common.c for (i = 0; i < pctl->devdata->npins; i++) { npins 899 drivers/pinctrl/mediatek/pinctrl-mtk-common.c pctl->ngroups = pctl->devdata->npins; npins 913 drivers/pinctrl/mediatek/pinctrl-mtk-common.c for (i = 0; i < pctl->devdata->npins; i++) { npins 1065 drivers/pinctrl/mediatek/pinctrl-mtk-common.c pins = devm_kcalloc(&pdev->dev, pctl->devdata->npins, sizeof(*pins), npins 1070 drivers/pinctrl/mediatek/pinctrl-mtk-common.c for (i = 0; i < pctl->devdata->npins; i++) npins 1076 drivers/pinctrl/mediatek/pinctrl-mtk-common.c pctl->pctl_desc.npins = pctl->devdata->npins; npins 1094 drivers/pinctrl/mediatek/pinctrl-mtk-common.c pctl->chip->ngpio = pctl->devdata->npins; npins 1105 drivers/pinctrl/mediatek/pinctrl-mtk-common.c 0, 0, pctl->devdata->npins); npins 229 drivers/pinctrl/mediatek/pinctrl-mtk-common.h unsigned int npins; npins 378 drivers/pinctrl/mediatek/pinctrl-paris.c for (i = 0; i < hw->soc->npins; i++) { npins 484 drivers/pinctrl/mediatek/pinctrl-paris.c if (pin >= hw->soc->npins || npins 795 drivers/pinctrl/mediatek/pinctrl-paris.c chip->ngpio = hw->soc->npins; npins 823 drivers/pinctrl/mediatek/pinctrl-paris.c for (i = 0; i < hw->soc->npins; i++) { npins 885 drivers/pinctrl/mediatek/pinctrl-paris.c pins = devm_kmalloc_array(&pdev->dev, hw->soc->npins, sizeof(*pins), npins 890 drivers/pinctrl/mediatek/pinctrl-paris.c for (i = 0; i < hw->soc->npins; i++) { npins 897 drivers/pinctrl/mediatek/pinctrl-paris.c mtk_desc.npins = hw->soc->npins; npins 722 drivers/pinctrl/meson/pinctrl-meson.c pc->desc.npins = pc->data->num_pins; npins 61 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c unsigned int npins; npins 116 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c .npins = _nr, \ npins 126 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c .npins = _nr, \ npins 136 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c .npins = _nr, \ npins 146 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c .npins = _nr, \ npins 157 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c .npins = _nr, \ npins 241 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c for (j = 0; j < (group->npins + group->extra_npins); j++) npins 285 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c unsigned int *npins) npins 293 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c *npins = info->groups[selector].npins + npins 876 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c grp->npins + grp->extra_npins, npins 882 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c for (i = 0; i < grp->npins; i++) npins 976 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c ctrldesc->npins = pin_data->nr_pins; npins 419 drivers/pinctrl/mvebu/pinctrl-armada-38x.c soc->nmodes = armada_38x_mpp_controls[0].npins; npins 401 drivers/pinctrl/mvebu/pinctrl-armada-39x.c soc->nmodes = armada_39x_mpp_controls[0].npins; npins 121 drivers/pinctrl/mvebu/pinctrl-armada-ap806.c soc->nmodes = armada_ap806_mpp_controls[0].npins; npins 588 drivers/pinctrl/mvebu/pinctrl-armada-xp.c soc->nmodes = mv78230_mpp_controls[0].npins; npins 599 drivers/pinctrl/mvebu/pinctrl-armada-xp.c soc->nmodes = mv78260_mpp_controls[0].npins; npins 610 drivers/pinctrl/mvebu/pinctrl-armada-xp.c soc->nmodes = mv78460_mpp_controls[0].npins; npins 621 drivers/pinctrl/mvebu/pinctrl-armada-xp.c soc->nmodes = mv98dx3236_mpp_controls[0].npins; npins 44 drivers/pinctrl/mvebu/pinctrl-mvebu.c unsigned npins; npins 89 drivers/pinctrl/mvebu/pinctrl-mvebu.c pctl->groups[n].npins) npins 391 drivers/pinctrl/mvebu/pinctrl-mvebu.c *num_pins = pctl->groups[gid].npins; npins 495 drivers/pinctrl/mvebu/pinctrl-mvebu.c int num = 0, funcsize = pctl->desc.npins; npins 522 drivers/pinctrl/mvebu/pinctrl-mvebu.c pctl->desc.npins); npins 601 drivers/pinctrl/mvebu/pinctrl-mvebu.c pctl->desc.npins = 0; npins 605 drivers/pinctrl/mvebu/pinctrl-mvebu.c pctl->desc.npins += ctrl->npins; npins 607 drivers/pinctrl/mvebu/pinctrl-mvebu.c for (k = 0; k < ctrl->npins; k++) npins 616 drivers/pinctrl/mvebu/pinctrl-mvebu.c pctl->num_groups += ctrl->npins; npins 617 drivers/pinctrl/mvebu/pinctrl-mvebu.c noname += ctrl->npins; npins 624 drivers/pinctrl/mvebu/pinctrl-mvebu.c pctl->desc.npins, npins 630 drivers/pinctrl/mvebu/pinctrl-mvebu.c for (n = 0; n < pctl->desc.npins; n++) npins 657 drivers/pinctrl/mvebu/pinctrl-mvebu.c pctl->groups[gid].npins = ctrl->npins; npins 666 drivers/pinctrl/mvebu/pinctrl-mvebu.c pctl->groups[gid].npins = 1; npins 670 drivers/pinctrl/mvebu/pinctrl-mvebu.c for (k = 1; k < ctrl->npins; k++) { npins 677 drivers/pinctrl/mvebu/pinctrl-mvebu.c pctl->groups[gid].npins = 1; npins 50 drivers/pinctrl/mvebu/pinctrl-mvebu.h u8 npins; npins 137 drivers/pinctrl/mvebu/pinctrl-mvebu.h .npins = _idh - _idl + 1, \ npins 149 drivers/pinctrl/mvebu/pinctrl-mvebu.h .npins = _idh - _idl + 1, \ npins 190 drivers/pinctrl/mvebu/pinctrl-mvebu.h .npins = _npins, \ npins 228 drivers/pinctrl/nomadik/pinctrl-ab8500.c .npins = ARRAY_SIZE(a##_pins), .altsetting = b } npins 466 drivers/pinctrl/nomadik/pinctrl-ab8500.c .npins = ARRAY_SIZE(ab8500_pins), npins 150 drivers/pinctrl/nomadik/pinctrl-ab8505.c .npins = ARRAY_SIZE(a##_pins), .altsetting = b } npins 361 drivers/pinctrl/nomadik/pinctrl-ab8505.c .npins = ARRAY_SIZE(ab8505_pins), npins 580 drivers/pinctrl/nomadik/pinctrl-abx500.c dev_dbg(pct->dev, "enable group %s, %u pins\n", g->name, g->npins); npins 582 drivers/pinctrl/nomadik/pinctrl-abx500.c for (i = 0; i < g->npins; i++) { npins 612 drivers/pinctrl/nomadik/pinctrl-abx500.c (offset < (p->offset + p->npins))) npins 670 drivers/pinctrl/nomadik/pinctrl-abx500.c *num_pins = pct->soc->groups[selector].npins; npins 733 drivers/pinctrl/nomadik/pinctrl-abx500.c for (i = 0; i < npct->soc->npins; i++) npins 943 drivers/pinctrl/nomadik/pinctrl-abx500.c unsigned int npins = 0; npins 959 drivers/pinctrl/nomadik/pinctrl-abx500.c gend = p->offset + p->npins - 1; npins 973 drivers/pinctrl/nomadik/pinctrl-abx500.c npins = highest - lowest + 1; npins 974 drivers/pinctrl/nomadik/pinctrl-abx500.c return npins; npins 1044 drivers/pinctrl/nomadik/pinctrl-abx500.c abx500_pinctrl_desc.npins = pct->soc->npins; npins 1061 drivers/pinctrl/nomadik/pinctrl-abx500.c p->offset - 1, p->offset, p->npins); npins 54 drivers/pinctrl/nomadik/pinctrl-abx500.h const unsigned npins; npins 131 drivers/pinctrl/nomadik/pinctrl-abx500.h unsigned int npins; npins 135 drivers/pinctrl/nomadik/pinctrl-abx500.h #define ABX500_PINRANGE(a, b, c) { .offset = a, .npins = b, .altfunc = c } npins 166 drivers/pinctrl/nomadik/pinctrl-abx500.h unsigned npins; npins 660 drivers/pinctrl/nomadik/pinctrl-nomadik-db8500.c .npins = ARRAY_SIZE(a##_pins), .altsetting = b } npins 1235 drivers/pinctrl/nomadik/pinctrl-nomadik-db8500.c .npins = ARRAY_SIZE(nmk_db8500_pins), npins 307 drivers/pinctrl/nomadik/pinctrl-nomadik-stn8815.c .npins = ARRAY_SIZE(a##_pins), .altsetting = b } npins 358 drivers/pinctrl/nomadik/pinctrl-nomadik-stn8815.c .npins = ARRAY_SIZE(nmk_stn8815_pins), npins 1230 drivers/pinctrl/nomadik/pinctrl-nomadik.c *num_pins = npct->soc->groups[selector].npins; npins 1400 drivers/pinctrl/nomadik/pinctrl-nomadik.c for (i = 0; i < npct->soc->npins; i++) npins 1572 drivers/pinctrl/nomadik/pinctrl-nomadik.c dev_dbg(npct->dev, "enable group %s, %u pins\n", g->name, g->npins); npins 1607 drivers/pinctrl/nomadik/pinctrl-nomadik.c for (i = 0; i < g->npins; i++) npins 1612 drivers/pinctrl/nomadik/pinctrl-nomadik.c for (i = 0; i < g->npins; i++) { npins 1940 drivers/pinctrl/nomadik/pinctrl-nomadik.c nmk_pinctrl_desc.npins = npct->soc->npins; npins 119 drivers/pinctrl/nomadik/pinctrl-nomadik.h const unsigned npins; npins 140 drivers/pinctrl/nomadik/pinctrl-nomadik.h unsigned npins; npins 515 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c int npins; npins 647 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c .npins = ARRAY_SIZE(x ## _pins) } npins 1577 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c unsigned int *npins) npins 1579 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c *npins = npcm7xx_groups[selector].npins; npins 1646 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c npcm7xx_groups[group].npins, group); npins 1855 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c .npins = ARRAY_SIZE(npcm7xx_pins), npins 313 drivers/pinctrl/pinconf.c for (i = 0; i < pctldev->desc->npins; i++) { npins 627 drivers/pinctrl/pinctrl-amd.c *num_pins = gpio_dev->groups[group].npins; npins 742 drivers/pinctrl/pinctrl-amd.c unsigned npins; npins 745 drivers/pinctrl/pinctrl-amd.c ret = amd_get_group_pins(pctldev, group, &pins, &npins); npins 760 drivers/pinctrl/pinctrl-amd.c unsigned npins; npins 763 drivers/pinctrl/pinctrl-amd.c ret = amd_get_group_pins(pctldev, group, &pins, &npins); npins 766 drivers/pinctrl/pinctrl-amd.c for (i = 0; i < npins; i++) { npins 805 drivers/pinctrl/pinctrl-amd.c for (i = 0; i < desc->npins; i++) { npins 823 drivers/pinctrl/pinctrl-amd.c for (i = 0; i < desc->npins; i++) { npins 843 drivers/pinctrl/pinctrl-amd.c .npins = ARRAY_SIZE(kerncz_pins), npins 879 drivers/pinctrl/pinctrl-amd.c gpio_dev->saved_regs = devm_kcalloc(&pdev->dev, amd_pinctrl_desc.npins, npins 80 drivers/pinctrl/pinctrl-amd.h unsigned npins; npins 235 drivers/pinctrl/pinctrl-amd.h .npins = 2, npins 240 drivers/pinctrl/pinctrl-amd.h .npins = 2, npins 245 drivers/pinctrl/pinctrl-amd.h .npins = 2, npins 250 drivers/pinctrl/pinctrl-amd.h .npins = 2, npins 255 drivers/pinctrl/pinctrl-amd.h .npins = 9, npins 260 drivers/pinctrl/pinctrl-amd.h .npins = 5, npins 914 drivers/pinctrl/pinctrl-artpec6.c .npins = ARRAY_SIZE(artpec6_pins), npins 74 drivers/pinctrl/pinctrl-as3722.c unsigned npins; npins 160 drivers/pinctrl/pinctrl-as3722.c .npins = 1, \ npins 195 drivers/pinctrl/pinctrl-as3722.c *num_pins = as_pci->pin_groups[group].npins; npins 571 drivers/pinctrl/pinctrl-as3722.c as3722_pinctrl_desc.npins = ARRAY_SIZE(as3722_pins_desc); npins 120 drivers/pinctrl/pinctrl-at91-pio4.c unsigned npins; npins 406 drivers/pinctrl/pinctrl-at91-pio4.c return atmel_pioctrl->npins; npins 435 drivers/pinctrl/pinctrl-at91-pio4.c for (i = 0; i < atmel_pioctrl->npins; i++) { npins 619 drivers/pinctrl/pinctrl-at91-pio4.c *num_groups = atmel_pioctrl->npins; npins 956 drivers/pinctrl/pinctrl-at91-pio4.c atmel_pioctrl->npins = atmel_pioctrl->nbanks * ATMEL_PIO_NPINS_PER_BANK; npins 970 drivers/pinctrl/pinctrl-at91-pio4.c atmel_pioctrl->npins, npins 976 drivers/pinctrl/pinctrl-at91-pio4.c pin_desc = devm_kcalloc(dev, atmel_pioctrl->npins, sizeof(*pin_desc), npins 981 drivers/pinctrl/pinctrl-at91-pio4.c atmel_pinctrl_desc.npins = atmel_pioctrl->npins; npins 987 drivers/pinctrl/pinctrl-at91-pio4.c atmel_pioctrl->npins, sizeof(*group_names), npins 994 drivers/pinctrl/pinctrl-at91-pio4.c atmel_pioctrl->npins, sizeof(*atmel_pioctrl->groups), npins 998 drivers/pinctrl/pinctrl-at91-pio4.c for (i = 0 ; i < atmel_pioctrl->npins; i++) { npins 1025 drivers/pinctrl/pinctrl-at91-pio4.c atmel_pioctrl->gpio_chip->ngpio = atmel_pioctrl->npins; npins 1074 drivers/pinctrl/pinctrl-at91-pio4.c for (i = 0; i < atmel_pioctrl->npins; i++) { npins 142 drivers/pinctrl/pinctrl-at91.c unsigned npins; npins 222 drivers/pinctrl/pinctrl-at91.c dev_dbg(info->dev, "%s: %d 0:%d\n", name, grp->npins, grp->pins[0]); npins 246 drivers/pinctrl/pinctrl-at91.c unsigned *npins) npins 254 drivers/pinctrl/pinctrl-at91.c *npins = info->groups[selector].npins; npins 287 drivers/pinctrl/pinctrl-at91.c map_num += grp->npins; npins 309 drivers/pinctrl/pinctrl-at91.c for (i = 0; i < grp->npins; i++) { npins 826 drivers/pinctrl/pinctrl-at91.c uint32_t npins = info->groups[group].npins; npins 836 drivers/pinctrl/pinctrl-at91.c for (i = 0; i < npins; i++) { npins 843 drivers/pinctrl/pinctrl-at91.c for (i = 0; i < npins; i++) { npins 1198 drivers/pinctrl/pinctrl-at91.c grp->npins = size / 4; npins 1200 drivers/pinctrl/pinctrl-at91.c grp->npins, npins 1203 drivers/pinctrl/pinctrl-at91.c grp->pins = devm_kcalloc(info->dev, grp->npins, sizeof(unsigned int), npins 1373 drivers/pinctrl/pinctrl-at91.c at91_pinctrl_desc.npins = gpio_banks * MAX_NB_GPIO_PER_BANK; npins 1376 drivers/pinctrl/pinctrl-at91.c at91_pinctrl_desc.npins, sizeof(*pdesc), npins 1903 drivers/pinctrl/pinctrl-at91.c range->npins = chip->ngpio; npins 45 drivers/pinctrl/pinctrl-axp209.c unsigned int npins; npins 83 drivers/pinctrl/pinctrl-axp209.c .npins = ARRAY_SIZE(axp209_pins), npins 92 drivers/pinctrl/pinctrl-axp209.c .npins = ARRAY_SIZE(axp813_pins), npins 285 drivers/pinctrl/pinctrl-axp209.c return pctl->desc->npins; npins 345 drivers/pinctrl/pinctrl-axp209.c int i, ret, pin, npins = pctl->desc->npins; npins 361 drivers/pinctrl/pinctrl-axp209.c pctl->funcs[i].ngroups = npins; npins 363 drivers/pinctrl/pinctrl-axp209.c npins, sizeof(char *), npins 367 drivers/pinctrl/pinctrl-axp209.c for (pin = 0; pin < npins; pin++) npins 372 drivers/pinctrl/pinctrl-axp209.c npins, &pctl->funcs[AXP20X_FUNC_LDO], npins 378 drivers/pinctrl/pinctrl-axp209.c npins, &pctl->funcs[AXP20X_FUNC_ADC], npins 428 drivers/pinctrl/pinctrl-axp209.c pctl->chip.ngpio = pctl->desc->npins; npins 448 drivers/pinctrl/pinctrl-axp209.c pctrl_desc->npins = pctl->desc->npins; npins 467 drivers/pinctrl/pinctrl-axp209.c pctl->desc->npins); npins 51 drivers/pinctrl/pinctrl-bm1880.c const unsigned int npins; npins 365 drivers/pinctrl/pinctrl-bm1880.c .npins = ARRAY_SIZE(nm ## _pins), \ npins 939 drivers/pinctrl/pinctrl-bm1880.c *num_pins = pctrl->groups[selector].npins; npins 989 drivers/pinctrl/pinctrl-bm1880.c for (i = 0; i < pgrp->npins; i++) { npins 1274 drivers/pinctrl/pinctrl-bm1880.c for (i = 0; i < pgrp->npins; i++) { npins 1301 drivers/pinctrl/pinctrl-bm1880.c .npins = ARRAY_SIZE(bm1880_pins), npins 319 drivers/pinctrl/pinctrl-digicolor.c pctl_desc->npins = PINS_COUNT; npins 68 drivers/pinctrl/pinctrl-falcon.c .npins = ARRAY_SIZE(p), \ npins 475 drivers/pinctrl/pinctrl-falcon.c falcon_pctrl_desc.npins = pad_count; npins 2565 drivers/pinctrl/pinctrl-gemini.c gemini_pmx_desc.npins = ARRAY_SIZE(gemini_3512_pins); npins 2572 drivers/pinctrl/pinctrl-gemini.c gemini_pmx_desc.npins = ARRAY_SIZE(gemini_3516_pins); npins 1859 drivers/pinctrl/pinctrl-ingenic.c unsigned int i, npins, old = 0; npins 1862 drivers/pinctrl/pinctrl-ingenic.c ret = pinctrl_generic_get_group_pins(pctldev, group, &pins, &npins); npins 1866 drivers/pinctrl/pinctrl-ingenic.c for (i = 0; i < npins; i++) { npins 1885 drivers/pinctrl/pinctrl-ingenic.c unsigned int i, npins; npins 1888 drivers/pinctrl/pinctrl-ingenic.c ret = pinctrl_generic_get_group_pins(pctldev, group, &pins, &npins); npins 1892 drivers/pinctrl/pinctrl-ingenic.c for (i = 0; i < npins; i++) { npins 2080 drivers/pinctrl/pinctrl-ingenic.c pctl_desc->npins = chip_info->num_chips * PINS_PER_GPIO_CHIP; npins 2082 drivers/pinctrl/pinctrl-ingenic.c pctl_desc->npins, sizeof(*jzpc->pdesc), GFP_KERNEL); npins 2086 drivers/pinctrl/pinctrl-ingenic.c for (i = 0; i < pctl_desc->npins; i++) { npins 42 drivers/pinctrl/pinctrl-lantiq.c *num_pins = info->grps[selector].npins; npins 241 drivers/pinctrl/pinctrl-lantiq.c for (i = 0; i < grp->npins; i++) { npins 266 drivers/pinctrl/pinctrl-lantiq.c if (!pin_grp->npins || npins 272 drivers/pinctrl/pinctrl-lantiq.c for (i = 0; i < pin_grp->npins; i++) { npins 53 drivers/pinctrl/pinctrl-lantiq.h const unsigned npins; npins 1261 drivers/pinctrl/pinctrl-lpc18xx.c .npins = ARRAY_SIZE(lpc18xx_pins), npins 83 drivers/pinctrl/pinctrl-max77620.c unsigned int npins; npins 160 drivers/pinctrl/pinctrl-max77620.c .npins = 1, \ npins 197 drivers/pinctrl/pinctrl-max77620.c *num_pins = mpci->pin_groups[group].npins; npins 572 drivers/pinctrl/pinctrl-max77620.c max77620_pinctrl_desc.npins = ARRAY_SIZE(max77620_pins_desc); npins 829 drivers/pinctrl/pinctrl-mcp23s08.c mcp->pinctrl_desc.npins = mcp->chip.ngpio; npins 830 drivers/pinctrl/pinctrl-mcp23s08.c if (mcp->pinctrl_desc.npins == 8) npins 832 drivers/pinctrl/pinctrl-mcp23s08.c else if (mcp->pinctrl_desc.npins == 16) npins 471 drivers/pinctrl/pinctrl-ocelot.c return info->desc->npins; npins 506 drivers/pinctrl/pinctrl-ocelot.c .npins = ARRAY_SIZE(ocelot_pins), npins 515 drivers/pinctrl/pinctrl-ocelot.c .npins = ARRAY_SIZE(jaguar2_pins), npins 524 drivers/pinctrl/pinctrl-ocelot.c int f, npins, i; npins 525 drivers/pinctrl/pinctrl-ocelot.c u8 *pins = kcalloc(info->desc->npins, sizeof(u8), GFP_KERNEL); npins 531 drivers/pinctrl/pinctrl-ocelot.c for (npins = 0, i = 0; i < info->desc->npins; i++) { npins 533 drivers/pinctrl/pinctrl-ocelot.c pins[npins++] = i; npins 536 drivers/pinctrl/pinctrl-ocelot.c if (!npins) npins 539 drivers/pinctrl/pinctrl-ocelot.c info->func[f].ngroups = npins; npins 540 drivers/pinctrl/pinctrl-ocelot.c info->func[f].groups = devm_kcalloc(dev, npins, sizeof(char *), npins 547 drivers/pinctrl/pinctrl-ocelot.c for (i = 0; i < npins; i++) npins 727 drivers/pinctrl/pinctrl-ocelot.c min(32U, info->desc->npins - 32 * i)) npins 744 drivers/pinctrl/pinctrl-ocelot.c gc->ngpio = info->desc->npins; npins 800 drivers/pinctrl/pinctrl-ocelot.c info->stride = 1 + (info->desc->npins - 1) / 32; npins 1103 drivers/pinctrl/pinctrl-oxnas.c .npins = ARRAY_SIZE(oxnas_ox810se_pins), npins 1122 drivers/pinctrl/pinctrl-oxnas.c .npins = ARRAY_SIZE(oxnas_ox820_pins), npins 384 drivers/pinctrl/pinctrl-palmas.c unsigned npins; npins 510 drivers/pinctrl/pinctrl-palmas.c .npins = 1, \ npins 650 drivers/pinctrl/pinctrl-palmas.c *num_pins = pci->pin_groups[group].npins; npins 1041 drivers/pinctrl/pinctrl-palmas.c palmas_pinctrl_desc.npins = ARRAY_SIZE(palmas_pins_desc); npins 73 drivers/pinctrl/pinctrl-pic32.c unsigned int npins; npins 2176 drivers/pinctrl/pinctrl-pic32.c pctl->npins = ARRAY_SIZE(pic32_pins); npins 2185 drivers/pinctrl/pinctrl-pic32.c pic32_pinctrl_desc.npins = pctl->npins; npins 97 drivers/pinctrl/pinctrl-pistachio.c unsigned int npins; npins 107 drivers/pinctrl/pinctrl-pistachio.c unsigned int npins; npins 1313 drivers/pinctrl/pinctrl-pistachio.c .npins = _npins, \ npins 1406 drivers/pinctrl/pinctrl-pistachio.c bank->pin_base, bank->npins); npins 1446 drivers/pinctrl/pinctrl-pistachio.c pctl->npins = ARRAY_SIZE(pistachio_pins); npins 1455 drivers/pinctrl/pinctrl-pistachio.c pistachio_pinctrl_desc.npins = pctl->npins; npins 42 drivers/pinctrl/pinctrl-rk805.c unsigned int npins; npins 112 drivers/pinctrl/pinctrl-rk805.c .npins = 1, npins 117 drivers/pinctrl/pinctrl-rk805.c .npins = 1, npins 238 drivers/pinctrl/pinctrl-rk805.c *num_pins = pci->groups[group].npins; npins 444 drivers/pinctrl/pinctrl-rk805.c pci->pinctrl_desc.npins = ARRAY_SIZE(rk805_pins_desc); npins 370 drivers/pinctrl/pinctrl-rockchip.c unsigned int npins; npins 473 drivers/pinctrl/pinctrl-rockchip.c unsigned *npins) npins 481 drivers/pinctrl/pinctrl-rockchip.c *npins = info->groups[selector].npins; npins 508 drivers/pinctrl/pinctrl-rockchip.c map_num += grp->npins; npins 530 drivers/pinctrl/pinctrl-rockchip.c for (i = 0; i < grp->npins; i++) { npins 2180 drivers/pinctrl/pinctrl-rockchip.c for (cnt = 0; cnt < info->groups[group].npins; cnt++) { npins 2506 drivers/pinctrl/pinctrl-rockchip.c grp->npins = size / 4; npins 2508 drivers/pinctrl/pinctrl-rockchip.c grp->pins = devm_kcalloc(info->dev, grp->npins, sizeof(unsigned int), npins 2511 drivers/pinctrl/pinctrl-rockchip.c grp->npins, npins 2649 drivers/pinctrl/pinctrl-rockchip.c ctrldesc->npins = info->ctrl->nr_pins; npins 2678 drivers/pinctrl/pinctrl-rockchip.c pin_bank->grange.npins = pin_bank->gpio_chip.ngpio; npins 91 drivers/pinctrl/pinctrl-rza1.c const unsigned int npins; npins 109 drivers/pinctrl/pinctrl-rza1.c const unsigned int npins; npins 511 drivers/pinctrl/pinctrl-rza1.c for (i = 0; i < entry->npins; ++i) { npins 529 drivers/pinctrl/pinctrl-rza1.c for (i = 0; i < table->npins; ++i) { npins 860 drivers/pinctrl/pinctrl-rza1.c unsigned int npins; npins 866 drivers/pinctrl/pinctrl-rza1.c npins = 0; npins 874 drivers/pinctrl/pinctrl-rza1.c npins += of_pins->length / sizeof(u32); npins 877 drivers/pinctrl/pinctrl-rza1.c return npins; npins 898 drivers/pinctrl/pinctrl-rza1.c unsigned int npins; npins 908 drivers/pinctrl/pinctrl-rza1.c npins = of_pins->length / sizeof(u32); npins 944 drivers/pinctrl/pinctrl-rza1.c for (i = 0; i < npins; ++i) { npins 969 drivers/pinctrl/pinctrl-rza1.c return npins; npins 993 drivers/pinctrl/pinctrl-rza1.c int ret, npins; npins 996 drivers/pinctrl/pinctrl-rza1.c npins = rza1_dt_node_pin_count(np); npins 997 drivers/pinctrl/pinctrl-rza1.c if (npins < 0) { npins 1008 drivers/pinctrl/pinctrl-rza1.c mux_confs = devm_kcalloc(rza1_pctl->dev, npins, sizeof(*mux_confs), npins 1010 drivers/pinctrl/pinctrl-rza1.c grpins = devm_kcalloc(rza1_pctl->dev, npins, sizeof(*grpins), npins 1046 drivers/pinctrl/pinctrl-rza1.c gsel = pinctrl_generic_add_group(pctldev, grpname, grpins, npins, npins 1061 drivers/pinctrl/pinctrl-rza1.c grpname, npins); npins 1228 drivers/pinctrl/pinctrl-rza1.c range->npins = of_args.args[2]; npins 1314 drivers/pinctrl/pinctrl-rza1.c rza1_pctl->desc.npins = RZA1_NPINS; npins 48 drivers/pinctrl/pinctrl-rza2.c int npins; npins 245 drivers/pinctrl/pinctrl-rza2.c chip.ngpio = priv->npins; npins 256 drivers/pinctrl/pinctrl-rza2.c (of_args.args[2] != priv->npins)) { npins 262 drivers/pinctrl/pinctrl-rza2.c priv->gpio_range.npins = priv->npins; npins 285 drivers/pinctrl/pinctrl-rza2.c pins = devm_kcalloc(priv->dev, priv->npins, sizeof(*pins), GFP_KERNEL); npins 291 drivers/pinctrl/pinctrl-rza2.c priv->desc.npins = priv->npins; npins 293 drivers/pinctrl/pinctrl-rza2.c for (i = 0; i < priv->npins; i++) { npins 332 drivers/pinctrl/pinctrl-rza2.c int i, ret, npins, gsel, fsel; npins 342 drivers/pinctrl/pinctrl-rza2.c npins = of_pins->length / sizeof(u32); npins 344 drivers/pinctrl/pinctrl-rza2.c pins = devm_kcalloc(priv->dev, npins, sizeof(*pins), GFP_KERNEL); npins 345 drivers/pinctrl/pinctrl-rza2.c psel_val = devm_kcalloc(priv->dev, npins, sizeof(*psel_val), npins 352 drivers/pinctrl/pinctrl-rza2.c for (i = 0; i < npins; ++i) { npins 363 drivers/pinctrl/pinctrl-rza2.c gsel = pinctrl_generic_add_group(pctldev, np->name, pins, npins, NULL); npins 379 drivers/pinctrl/pinctrl-rza2.c dev_dbg(priv->dev, "Parsed %pOF with %d pins\n", np, npins); npins 481 drivers/pinctrl/pinctrl-rza2.c priv->npins = (int)(uintptr_t)of_device_get_match_data(&pdev->dev) * npins 494 drivers/pinctrl/pinctrl-rza2.c port_names[priv->desc.npins / RZA2_PINS_PER_PORT - 1]); npins 102 drivers/pinctrl/pinctrl-rzn1.c unsigned int npins; npins 312 drivers/pinctrl/pinctrl-rzn1.c unsigned int *npins) npins 320 drivers/pinctrl/pinctrl-rzn1.c *npins = ipctl->groups[selector].npins; npins 390 drivers/pinctrl/pinctrl-rzn1.c grp->func, grp->name, grp->npins); npins 465 drivers/pinctrl/pinctrl-rzn1.c unsigned int i, grp_pins = grp->npins; npins 630 drivers/pinctrl/pinctrl-rzn1.c for (i = 0; i < grp->npins; i++) { npins 657 drivers/pinctrl/pinctrl-rzn1.c for (i = 0; i < grp->npins; i++) { npins 717 drivers/pinctrl/pinctrl-rzn1.c grp->npins = size / sizeof(list[0]); npins 719 drivers/pinctrl/pinctrl-rzn1.c grp->npins, sizeof(grp->pin_ids[0]), npins 722 drivers/pinctrl/pinctrl-rzn1.c grp->npins, sizeof(grp->pins[0]), npins 727 drivers/pinctrl/pinctrl-rzn1.c for (i = 0; i < grp->npins; i++) { npins 734 drivers/pinctrl/pinctrl-rzn1.c return grp->npins; npins 890 drivers/pinctrl/pinctrl-rzn1.c rzn1_pinctrl_desc.npins = ARRAY_SIZE(rzn1_pins); npins 108 drivers/pinctrl/pinctrl-single.c unsigned npins; npins 393 drivers/pinctrl/pinctrl-single.c if (pin >= frange->offset + frange->npins npins 589 drivers/pinctrl/pinctrl-single.c unsigned npins, old = 0; npins 592 drivers/pinctrl/pinctrl-single.c ret = pinctrl_generic_get_group_pins(pctldev, group, &pins, &npins); npins 595 drivers/pinctrl/pinctrl-single.c for (i = 0; i < npins; i++) { npins 611 drivers/pinctrl/pinctrl-single.c unsigned npins; npins 614 drivers/pinctrl/pinctrl-single.c ret = pinctrl_generic_get_group_pins(pctldev, group, &pins, &npins); npins 617 drivers/pinctrl/pinctrl-single.c for (i = 0; i < npins; i++) { npins 665 drivers/pinctrl/pinctrl-single.c if (i >= pcs->desc.npins) { npins 667 drivers/pinctrl/pinctrl-single.c pcs->desc.npins); npins 722 drivers/pinctrl/pinctrl-single.c pcs->desc.npins = nr_pins; npins 724 drivers/pinctrl/pinctrl-single.c for (i = 0; i < pcs->desc.npins; i++) { npins 1338 drivers/pinctrl/pinctrl-single.c range->npins = gpiospec.args[1]; npins 1892 drivers/pinctrl/pinctrl-single.c dev_info(pcs->dev, "%i pins, size %u\n", pcs->desc.npins, pcs->size); npins 263 drivers/pinctrl/pinctrl-st.c unsigned npins; npins 781 drivers/pinctrl/pinctrl-st.c unsigned selector, const unsigned **pins, unsigned *npins) npins 789 drivers/pinctrl/pinctrl-st.c *npins = info->groups[selector].npins; npins 823 drivers/pinctrl/pinctrl-st.c map_num = grp->npins + 1; npins 844 drivers/pinctrl/pinctrl-st.c for (i = 0; i < grp->npins; i++) { npins 904 drivers/pinctrl/pinctrl-st.c for (i = 0; i < info->groups[group].npins; i++) { npins 1171 drivers/pinctrl/pinctrl-st.c int i = 0, npins = 0, nr_props, ret = 0; npins 1183 drivers/pinctrl/pinctrl-st.c npins++; npins 1191 drivers/pinctrl/pinctrl-st.c grp->npins = npins; npins 1193 drivers/pinctrl/pinctrl-st.c grp->pins = devm_kcalloc(info->dev, npins, sizeof(u32), GFP_KERNEL); npins 1195 drivers/pinctrl/pinctrl-st.c npins, sizeof(*conf), GFP_KERNEL); npins 1501 drivers/pinctrl/pinctrl-st.c range->npins = bank->gpio_chip.ngpio; npins 1616 drivers/pinctrl/pinctrl-st.c pctl_desc->npins = info->nbanks * ST_GPIO_PINS_PER_BANK; npins 1618 drivers/pinctrl/pinctrl-st.c pctl_desc->npins, sizeof(*pdesc), GFP_KERNEL); npins 620 drivers/pinctrl/pinctrl-stmfx.c pctl->pctl_desc.npins = ARRAY_SIZE(stmfx_pins); npins 647 drivers/pinctrl/pinctrl-stmfx.c pctl->gpio_chip.ngpio = pctl->pctl_desc.npins; npins 93 drivers/pinctrl/pinctrl-sx150x.c unsigned int npins; npins 169 drivers/pinctrl/pinctrl-sx150x.c .npins = 4, /* oscio not available */ npins 192 drivers/pinctrl/pinctrl-sx150x.c .npins = 8, /* oscio not available */ npins 215 drivers/pinctrl/pinctrl-sx150x.c .npins = 16, /* oscio not available */ npins 234 drivers/pinctrl/pinctrl-sx150x.c .npins = 4, /* oscio not available */ npins 256 drivers/pinctrl/pinctrl-sx150x.c .npins = 8, /* oscio not available */ npins 279 drivers/pinctrl/pinctrl-sx150x.c .npins = 16, /* oscio not available */ npins 300 drivers/pinctrl/pinctrl-sx150x.c .npins = ARRAY_SIZE(sx150x_4_pins), npins 321 drivers/pinctrl/pinctrl-sx150x.c .npins = ARRAY_SIZE(sx150x_8_pins), npins 342 drivers/pinctrl/pinctrl-sx150x.c .npins = ARRAY_SIZE(sx150x_16_pins), npins 376 drivers/pinctrl/pinctrl-sx150x.c if (pin >= pctl->data->npins) npins 1144 drivers/pinctrl/pinctrl-sx150x.c pctl->pinctrl_desc.npins = pctl->data->npins; npins 1162 drivers/pinctrl/pinctrl-sx150x.c pctl->gpio.ngpio = pctl->data->npins; npins 1192 drivers/pinctrl/pinctrl-sx150x.c 0, 0, pctl->data->npins); npins 741 drivers/pinctrl/pinctrl-tb10x.c .npins = ARRAY_SIZE(tb10x_pins), npins 1048 drivers/pinctrl/pinctrl-u300.c .npins = ARRAY_SIZE(u300_pads), npins 76 drivers/pinctrl/pinctrl-xway.c { .name = a, .mux = XWAY_MUX_##m, .pins = p, .npins = ARRAY_SIZE(p), } npins 1476 drivers/pinctrl/pinctrl-xway.c for (i = 0; i < info->grps[selector].npins && !ret; i++) npins 1746 drivers/pinctrl/pinctrl-xway.c xway_pctrl_desc.npins = xway_chip.ngpio; npins 1787 drivers/pinctrl/pinctrl-xway.c xway_gpio_range.npins = xway_chip.ngpio; npins 53 drivers/pinctrl/pinctrl-zynq.c const unsigned int npins; npins 383 drivers/pinctrl/pinctrl-zynq.c .npins = ARRAY_SIZE(nm ## _pins), \ npins 847 drivers/pinctrl/pinctrl-zynq.c *num_pins = pctrl->groups[selector].npins; npins 918 drivers/pinctrl/pinctrl-zynq.c for (i = 0; i < pgrp->npins; i++) { npins 1126 drivers/pinctrl/pinctrl-zynq.c for (i = 0; i < pgrp->npins; i++) { npins 1146 drivers/pinctrl/pinctrl-zynq.c .npins = ARRAY_SIZE(zynq_pins), npins 598 drivers/pinctrl/pinmux.c for (i = 0; i < pctldev->desc->npins; i++) { npins 70 drivers/pinctrl/pxa/pinctrl-pxa2xx.c for (i = 0; i < pctl->npins; i++) { npins 276 drivers/pinctrl/pxa/pinctrl-pxa2xx.c functions = devm_kcalloc(pctl->dev, pctl->npins * 6, npins 281 drivers/pinctrl/pxa/pinctrl-pxa2xx.c for (i = 0; i < pctl->npins; i++) npins 302 drivers/pinctrl/pxa/pinctrl-pxa2xx.c gtmp = devm_kmalloc_array(pctl->dev, pctl->npins, sizeof(*gtmp), npins 309 drivers/pinctrl/pxa/pinctrl-pxa2xx.c for (j = 0; j < pctl->npins; j++) npins 332 drivers/pinctrl/pxa/pinctrl-pxa2xx.c const struct pxa_desc_pin *ppins, int npins) npins 338 drivers/pinctrl/pxa/pinctrl-pxa2xx.c pctl->npins = npins; npins 340 drivers/pinctrl/pxa/pinctrl-pxa2xx.c pctl->ngroups = npins; npins 342 drivers/pinctrl/pxa/pinctrl-pxa2xx.c pctl->desc.npins = npins; npins 343 drivers/pinctrl/pxa/pinctrl-pxa2xx.c pins = devm_kcalloc(pctl->dev, npins, sizeof(*pins), GFP_KERNEL); npins 348 drivers/pinctrl/pxa/pinctrl-pxa2xx.c for (i = 0; i < npins; i++) npins 356 drivers/pinctrl/pxa/pinctrl-pxa2xx.c for (i = 0; i < npins; i++) { npins 374 drivers/pinctrl/pxa/pinctrl-pxa2xx.c const struct pxa_desc_pin *ppins, int npins, npins 381 drivers/pinctrl/pxa/pinctrl-pxa2xx.c for (i = 0; i < npins; i++) npins 411 drivers/pinctrl/pxa/pinctrl-pxa2xx.c ret = pxa2xx_build_state(pctl, ppins, npins); npins 74 drivers/pinctrl/pxa/pinctrl-pxa2xx.h unsigned npins; npins 84 drivers/pinctrl/pxa/pinctrl-pxa2xx.h const struct pxa_desc_pin *ppins, int npins, npins 223 drivers/pinctrl/qcom/pinctrl-apq8064.c .npins = ARRAY_SIZE(gpio##id##_pins), \ npins 264 drivers/pinctrl/qcom/pinctrl-apq8064.c .npins = ARRAY_SIZE(pg_name##_pins), \ npins 616 drivers/pinctrl/qcom/pinctrl-apq8064.c .npins = ARRAY_SIZE(apq8064_pins), npins 338 drivers/pinctrl/qcom/pinctrl-apq8084.c .npins = ARRAY_SIZE(gpio##id##_pins), \ npins 376 drivers/pinctrl/qcom/pinctrl-apq8084.c .npins = ARRAY_SIZE(pg_name##_pins), \ npins 1194 drivers/pinctrl/qcom/pinctrl-apq8084.c .npins = ARRAY_SIZE(apq8084_pins), npins 230 drivers/pinctrl/qcom/pinctrl-ipq4019.c .npins = (unsigned)ARRAY_SIZE(gpio##id##_pins), \ npins 695 drivers/pinctrl/qcom/pinctrl-ipq4019.c .npins = ARRAY_SIZE(ipq4019_pins), npins 175 drivers/pinctrl/qcom/pinctrl-ipq8064.c .npins = ARRAY_SIZE(gpio##id##_pins), \ npins 216 drivers/pinctrl/qcom/pinctrl-ipq8064.c .npins = ARRAY_SIZE(pg_name##_pins), \ npins 618 drivers/pinctrl/qcom/pinctrl-ipq8064.c .npins = ARRAY_SIZE(ipq8064_pins), npins 25 drivers/pinctrl/qcom/pinctrl-ipq8074.c .npins = (unsigned int)ARRAY_SIZE(gpio##id##_pins), \ npins 1027 drivers/pinctrl/qcom/pinctrl-ipq8074.c .npins = ARRAY_SIZE(ipq8074_pins), npins 209 drivers/pinctrl/qcom/pinctrl-mdm9615.c .npins = ARRAY_SIZE(gpio##id##_pins), \ npins 433 drivers/pinctrl/qcom/pinctrl-mdm9615.c .npins = ARRAY_SIZE(mdm9615_pins), npins 110 drivers/pinctrl/qcom/pinctrl-msm.c *num_pins = pctrl->soc->groups[group].npins; npins 1171 drivers/pinctrl/qcom/pinctrl-msm.c pctrl->desc.npins = pctrl->soc->npins; npins 60 drivers/pinctrl/qcom/pinctrl-msm.h unsigned npins; npins 107 drivers/pinctrl/qcom/pinctrl-msm.h unsigned npins; npins 389 drivers/pinctrl/qcom/pinctrl-msm8660.c .npins = ARRAY_SIZE(gpio##id##_pins), \ npins 427 drivers/pinctrl/qcom/pinctrl-msm8660.c .npins = ARRAY_SIZE(pg_name##_pins), \ npins 968 drivers/pinctrl/qcom/pinctrl-msm8660.c .npins = ARRAY_SIZE(msm8660_pins), npins 300 drivers/pinctrl/qcom/pinctrl-msm8916.c .npins = ARRAY_SIZE(gpio##id##_pins), \ npins 339 drivers/pinctrl/qcom/pinctrl-msm8916.c .npins = ARRAY_SIZE(pg_name##_pins), \ npins 956 drivers/pinctrl/qcom/pinctrl-msm8916.c .npins = ARRAY_SIZE(msm8916_pins), npins 348 drivers/pinctrl/qcom/pinctrl-msm8960.c .npins = ARRAY_SIZE(gpio##id##_pins), \ npins 390 drivers/pinctrl/qcom/pinctrl-msm8960.c .npins = ARRAY_SIZE(pg_name##_pins), \ npins 1233 drivers/pinctrl/qcom/pinctrl-msm8960.c .npins = ARRAY_SIZE(msm8960_pins), npins 24 drivers/pinctrl/qcom/pinctrl-msm8994.c .npins = ARRAY_SIZE(gpio##id##_pins), \ npins 65 drivers/pinctrl/qcom/pinctrl-msm8994.c .npins = ARRAY_SIZE(pg_name##_pins), \ npins 1329 drivers/pinctrl/qcom/pinctrl-msm8994.c .npins = ARRAY_SIZE(msm8994_pins), npins 26 drivers/pinctrl/qcom/pinctrl-msm8996.c .npins = (unsigned)ARRAY_SIZE(gpio##id##_pins), \ npins 65 drivers/pinctrl/qcom/pinctrl-msm8996.c .npins = (unsigned)ARRAY_SIZE(pg_name##_pins), \ npins 1893 drivers/pinctrl/qcom/pinctrl-msm8996.c .npins = ARRAY_SIZE(msm8996_pins), npins 28 drivers/pinctrl/qcom/pinctrl-msm8998.c .npins = ARRAY_SIZE(gpio##id##_pins), \ npins 67 drivers/pinctrl/qcom/pinctrl-msm8998.c .npins = ARRAY_SIZE(pg_name##_pins), \ npins 92 drivers/pinctrl/qcom/pinctrl-msm8998.c .npins = ARRAY_SIZE(pg_name##_pins), \ npins 1508 drivers/pinctrl/qcom/pinctrl-msm8998.c .npins = ARRAY_SIZE(msm8998_pins), npins 339 drivers/pinctrl/qcom/pinctrl-msm8x74.c .npins = ARRAY_SIZE(gpio##id##_pins), \ npins 376 drivers/pinctrl/qcom/pinctrl-msm8x74.c .npins = ARRAY_SIZE(pg_name##_pins), \ npins 402 drivers/pinctrl/qcom/pinctrl-msm8x74.c .npins = ARRAY_SIZE(pg_name##_pins), \ npins 1058 drivers/pinctrl/qcom/pinctrl-msm8x74.c .npins = ARRAY_SIZE(msm8x74_pins), npins 36 drivers/pinctrl/qcom/pinctrl-qcs404.c .npins = (unsigned int)ARRAY_SIZE(gpio##id##_pins), \ npins 76 drivers/pinctrl/qcom/pinctrl-qcs404.c .npins = (unsigned int)ARRAY_SIZE(pg_name##_pins), \ npins 1629 drivers/pinctrl/qcom/pinctrl-qcs404.c .npins = ARRAY_SIZE(qcs404_pins), npins 100 drivers/pinctrl/qcom/pinctrl-qdf2xxx.c groups[gpio].npins = 1; npins 129 drivers/pinctrl/qcom/pinctrl-qdf2xxx.c pinctrl->npins = num_gpios; npins 34 drivers/pinctrl/qcom/pinctrl-sc7180.c .npins = ARRAY_SIZE(gpio##id##_pins), \ npins 74 drivers/pinctrl/qcom/pinctrl-sc7180.c .npins = ARRAY_SIZE(pg_name##_pins), \ npins 100 drivers/pinctrl/qcom/pinctrl-sc7180.c .npins = ARRAY_SIZE(pg_name##_pins), \ npins 1104 drivers/pinctrl/qcom/pinctrl-sc7180.c .npins = ARRAY_SIZE(sc7180_pins), npins 40 drivers/pinctrl/qcom/pinctrl-sdm660.c .npins = (unsigned)ARRAY_SIZE(gpio##id##_pins), \ npins 80 drivers/pinctrl/qcom/pinctrl-sdm660.c .npins = (unsigned)ARRAY_SIZE(pg_name##_pins), \ npins 1413 drivers/pinctrl/qcom/pinctrl-sdm660.c .npins = ARRAY_SIZE(sdm660_pins), npins 29 drivers/pinctrl/qcom/pinctrl-sdm845.c .npins = ARRAY_SIZE(gpio##id##_pins), \ npins 69 drivers/pinctrl/qcom/pinctrl-sdm845.c .npins = ARRAY_SIZE(pg_name##_pins), \ npins 94 drivers/pinctrl/qcom/pinctrl-sdm845.c .npins = ARRAY_SIZE(pg_name##_pins), \ npins 1287 drivers/pinctrl/qcom/pinctrl-sdm845.c .npins = ARRAY_SIZE(sdm845_pins), npins 1297 drivers/pinctrl/qcom/pinctrl-sdm845.c .npins = ARRAY_SIZE(sdm845_pins), npins 36 drivers/pinctrl/qcom/pinctrl-sm8150.c .npins = (unsigned int)ARRAY_SIZE(gpio##id##_pins), \ npins 76 drivers/pinctrl/qcom/pinctrl-sm8150.c .npins = (unsigned int)ARRAY_SIZE(pg_name##_pins), \ npins 102 drivers/pinctrl/qcom/pinctrl-sm8150.c .npins = (unsigned int)ARRAY_SIZE(pg_name##_pins), \ npins 1505 drivers/pinctrl/qcom/pinctrl-sm8150.c .npins = ARRAY_SIZE(sm8150_pins), npins 245 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c return pctldev->desc->npins; npins 287 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c *num_qgroups = pctldev->desc->npins; npins 977 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c int ret, npins, i; npins 986 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c npins = (uintptr_t) device_get_match_data(&pdev->dev); npins 997 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c pindesc = devm_kcalloc(dev, npins, sizeof(*pindesc), GFP_KERNEL); npins 1001 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c pads = devm_kcalloc(dev, npins, sizeof(*pads), GFP_KERNEL); npins 1015 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c pctrldesc->npins = npins; npins 1022 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c for (i = 0; i < npins; i++, pindesc++) { npins 1038 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c state->chip.ngpio = npins; npins 1085 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c npins); npins 207 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c return pctldev->desc->npins; npins 250 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c *num_qgroups = pctldev->desc->npins; npins 806 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c int ret, npins, i; npins 815 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c npins = platform_irq_count(pdev); npins 816 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c if (!npins) npins 818 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c if (npins < 0) npins 819 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c return npins; npins 821 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c BUG_ON(npins > ARRAY_SIZE(pmic_mpp_groups)); npins 832 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c pindesc = devm_kcalloc(dev, npins, sizeof(*pindesc), GFP_KERNEL); npins 836 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c pads = devm_kcalloc(dev, npins, sizeof(*pads), GFP_KERNEL); npins 850 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c pctrldesc->npins = npins; npins 858 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c for (i = 0; i < npins; i++, pindesc++) { npins 878 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c state->chip.ngpio = npins; npins 893 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c ret = gpiochip_add_pin_range(&state->chip, dev_name(dev), 0, 0, npins); npins 95 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c unsigned npins; npins 172 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c return pctrl->npins; npins 222 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c *num_groups = pctrl->npins; npins 776 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c pctrl->npins = (uintptr_t) device_get_match_data(&pdev->dev); npins 785 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c pctrl->desc.npins = pctrl->npins; npins 788 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c pctrl->desc.npins, npins 795 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c pctrl->desc.npins, npins 801 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c for (i = 0; i < pctrl->desc.npins; i++) { npins 833 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c pctrl->chip.ngpio = pctrl->npins; npins 131 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c unsigned npins; npins 244 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c return pctrl->npins; npins 294 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c *num_groups = pctrl->npins; npins 754 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c int i, npins; npins 761 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c npins = platform_irq_count(pdev); npins 762 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c if (!npins) npins 764 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c if (npins < 0) npins 765 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c return npins; npins 766 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c pctrl->npins = npins; npins 775 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c pctrl->desc.npins = pctrl->npins; npins 778 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c pctrl->desc.npins, npins 785 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c pctrl->desc.npins, npins 791 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c for (i = 0; i < pctrl->desc.npins; i++) { npins 825 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c pctrl->chip.ngpio = pctrl->npins; npins 678 drivers/pinctrl/samsung/pinctrl-samsung.c groups = devm_kcalloc(dev, ctrldesc->npins, sizeof(*groups), npins 685 drivers/pinctrl/samsung/pinctrl-samsung.c for (i = 0; i < ctrldesc->npins; ++i, ++pdesc, ++grp) { npins 691 drivers/pinctrl/samsung/pinctrl-samsung.c *cnt = ctrldesc->npins; npins 700 drivers/pinctrl/samsung/pinctrl-samsung.c int npins; npins 707 drivers/pinctrl/samsung/pinctrl-samsung.c npins = of_property_count_strings(func_np, "samsung,pins"); npins 708 drivers/pinctrl/samsung/pinctrl-samsung.c if (npins < 1) { npins 715 drivers/pinctrl/samsung/pinctrl-samsung.c func->groups = devm_kcalloc(dev, npins, sizeof(char *), GFP_KERNEL); npins 719 drivers/pinctrl/samsung/pinctrl-samsung.c for (i = 0; i < npins; ++i) { npins 734 drivers/pinctrl/samsung/pinctrl-samsung.c func->num_groups = npins; npins 875 drivers/pinctrl/samsung/pinctrl-samsung.c ctrldesc->npins = drvdata->nr_pins; npins 878 drivers/pinctrl/samsung/pinctrl-samsung.c for (pin = 0, pdesc = pindesc; pin < ctrldesc->npins; pin++, pdesc++) npins 921 drivers/pinctrl/samsung/pinctrl-samsung.c pin_bank->grange.npins = pin_bank->gpio_chip.ngpio; npins 821 drivers/pinctrl/sh-pfc/pinctrl.c pmx->pctl_desc.npins = pfc->info->nr_pins; npins 5245 drivers/pinctrl/sirf/pinctrl-atlas7.c for (idx = 0; idx < range->npins; idx++) { npins 5250 drivers/pinctrl/sirf/pinctrl-atlas7.c if (idx >= range->npins) { npins 5382 drivers/pinctrl/sirf/pinctrl-atlas7.c unsigned npins; npins 5385 drivers/pinctrl/sirf/pinctrl-atlas7.c ret = atlas7_pinctrl_get_group_pins(pctldev, group, &pins, &npins); npins 5388 drivers/pinctrl/sirf/pinctrl-atlas7.c for (i = 0; i < npins; i++) { npins 5437 drivers/pinctrl/sirf/pinctrl-atlas7.c pmx->pctl_desc.npins = pmx->pctl_data->pads_cnt; npins 5488 drivers/pinctrl/sirf/pinctrl-atlas7.c for (idx = 0; idx < pmx->pctl_desc.npins; idx++) { npins 5543 drivers/pinctrl/sirf/pinctrl-atlas7.c for (idx = 0; idx < pmx->pctl_desc.npins; idx++) { npins 315 drivers/pinctrl/sirf/pinctrl-sirf.c sirfsoc_pinmux_desc.npins = pdata->pads_cnt; npins 135 drivers/pinctrl/spear/pinctrl-spear.c *num_pins = pmx->machdata->groups[group]->npins; npins 294 drivers/pinctrl/spear/pinctrl-spear.c for (j = 0; j < gpio_pingroup->npins; j++) { npins 398 drivers/pinctrl/spear/pinctrl-spear.c spear_pinctrl_desc.npins = machdata->npins; npins 54 drivers/pinctrl/spear/pinctrl-spear.h unsigned npins; npins 85 drivers/pinctrl/spear/pinctrl-spear.h .npins = ARRAY_SIZE(__pins), \ npins 116 drivers/pinctrl/spear/pinctrl-spear.h unsigned npins; npins 154 drivers/pinctrl/spear/pinctrl-spear.h unsigned npins; npins 260 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(i2c0_pins), npins 296 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(ssp0_pins), npins 325 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(ssp0_cs0_pins), npins 354 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(ssp0_cs1_2_pins), npins 391 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(i2s0_pins), npins 427 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(i2s1_pins), npins 465 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(clcd_pins), npins 494 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(clcd_high_res_pins), npins 538 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(arm_gpio_pins), npins 574 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(smi_2_chips_pins), npins 610 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(smi_4_chips_pins), npins 648 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(gmii_pins), npins 702 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(rgmii_pins), npins 740 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(smii_0_1_2_pins), npins 776 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(ras_mii_txclk_pins), npins 824 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(nand_8bit_pins), npins 854 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(nand_16bit_pins), npins 883 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(nand_4_chips_pins), npins 919 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(keyboard_6x6_pins), npins 948 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(keyboard_rowcol6_8_pins), npins 985 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(uart0_pins), npins 1014 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(uart0_modem_pins), npins 1050 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(gpt0_tmr0_pins), npins 1079 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(gpt0_tmr1_pins), npins 1115 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(gpt1_tmr0_pins), npins 1144 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(gpt1_tmr1_pins), npins 1211 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(mcif_pins), npins 1243 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(mcif_pins), npins 1275 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(mcif_pins), npins 1311 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(touch_xy_pins), npins 1348 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(uart1_dis_i2c_pins), npins 1380 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(uart1_dis_sd_pins), npins 1417 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(uart2_3_pins), npins 1453 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(uart4_pins), npins 1489 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(uart5_pins), npins 1527 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(rs485_0_1_tdm_0_1_pins), npins 1563 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(i2c_1_2_pins), npins 1600 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(i2c3_dis_smi_clcd_pins), npins 1630 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(i2c3_dis_sd_i2s0_pins), npins 1668 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(i2c_4_5_dis_smi_pins), npins 1706 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(i2c4_dis_sd_pins), npins 1739 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(i2c5_dis_sd_pins), npins 1777 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(i2c_6_7_dis_kbd_pins), npins 1810 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(i2c6_dis_sd_pins), npins 1842 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(i2c7_dis_sd_pins), npins 1888 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(can0_dis_nor_pins), npins 1918 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(can0_dis_sd_pins), npins 1956 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(can1_dis_sd_pins), npins 1986 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(can1_dis_kbd_pins), npins 2043 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(pci_pins), npins 2233 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(ssp1_dis_kbd_pins), npins 2265 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(ssp1_dis_sd_pins), npins 2305 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(gpt64_pins), npins 2684 drivers/pinctrl/spear/pinctrl-spear1310.c .npins = ARRAY_SIZE(spear1310_pins), npins 262 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(pads_as_gpio_pins), npins 295 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(fsmc_8bit_pins), npins 324 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(fsmc_16bit_pins), npins 355 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(fsmc_pnor_pins), npins 393 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(keyboard_row_col_pins), npins 422 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(keyboard_col5_pins), npins 455 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(spdif_in_pins), npins 491 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(spdif_out_pins), npins 531 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(gpt_0_1_pins), npins 567 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(pwm0_pins), npins 596 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(pwm1_pins), npins 625 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(pwm2_pins), npins 654 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(pwm3_pins), npins 687 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(vip_mux_pins), npins 717 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(vip_mux_cam0_pins), npins 751 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(vip_mux_cam1_pins), npins 781 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(vip_mux_cam2_pins), npins 815 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(vip_mux_cam3_pins), npins 853 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(cam0_pins), npins 894 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(cam1_pins), npins 931 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(cam2_pins), npins 972 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(cam3_pins), npins 1004 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(smi_pins), npins 1036 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(ssp0_pins), npins 1065 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(ssp0_cs1_pins), npins 1094 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(ssp0_cs2_pins), npins 1119 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(ssp0_cs3_pins), npins 1152 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(uart0_pins), npins 1181 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(uart0_enh_pins), npins 1213 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(uart1_pins), npins 1249 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(i2s_in_pins), npins 1274 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(i2s_out_pins), npins 1321 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(gmac_pins), npins 1346 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(gmac_pins), npins 1371 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(gmac_pins), npins 1396 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(gmac_pins), npins 1429 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(i2c0_pins), npins 1461 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(i2c1_pins), npins 1493 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(cec0_pins), npins 1525 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(cec1_pins), npins 1577 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(mcif_pins), npins 1609 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(mcif_pins), npins 1641 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(mcif_pins), npins 1689 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(clcd_pins), npins 1725 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(clcd_pins), npins 1772 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(arm_trace_pins), npins 1810 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(miphy_dbg_pins), npins 1842 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(pcie_pins), npins 1874 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(sata_pins), npins 2001 drivers/pinctrl/spear/pinctrl-spear1340.c .npins = ARRAY_SIZE(spear1340_pins), npins 181 drivers/pinctrl/spear/pinctrl-spear300.c .npins = ARRAY_SIZE(fsmc_2chips_pins), npins 208 drivers/pinctrl/spear/pinctrl-spear300.c .npins = ARRAY_SIZE(fsmc_4chips_pins), npins 243 drivers/pinctrl/spear/pinctrl-spear300.c .npins = ARRAY_SIZE(clcd_lcdmode_pins), npins 269 drivers/pinctrl/spear/pinctrl-spear300.c .npins = ARRAY_SIZE(clcd_pfmode_pins), npins 307 drivers/pinctrl/spear/pinctrl-spear300.c .npins = ARRAY_SIZE(tdm_pins), npins 343 drivers/pinctrl/spear/pinctrl-spear300.c .npins = ARRAY_SIZE(i2c_clk_pins), npins 376 drivers/pinctrl/spear/pinctrl-spear300.c .npins = ARRAY_SIZE(caml_pins), npins 402 drivers/pinctrl/spear/pinctrl-spear300.c .npins = ARRAY_SIZE(camu_pins), npins 436 drivers/pinctrl/spear/pinctrl-spear300.c .npins = ARRAY_SIZE(dac_pins), npins 472 drivers/pinctrl/spear/pinctrl-spear300.c .npins = ARRAY_SIZE(i2s_pins), npins 510 drivers/pinctrl/spear/pinctrl-spear300.c .npins = ARRAY_SIZE(sdhci_4bit_pins), npins 542 drivers/pinctrl/spear/pinctrl-spear300.c .npins = ARRAY_SIZE(sdhci_8bit_pins), npins 575 drivers/pinctrl/spear/pinctrl-spear300.c .npins = ARRAY_SIZE(gpio1_0_to_3_pins), npins 602 drivers/pinctrl/spear/pinctrl-spear300.c .npins = ARRAY_SIZE(gpio1_4_to_7_pins), npins 43 drivers/pinctrl/spear/pinctrl-spear310.c .npins = ARRAY_SIZE(emi_cs_0_to_5_pins), npins 75 drivers/pinctrl/spear/pinctrl-spear310.c .npins = ARRAY_SIZE(uart1_pins), npins 107 drivers/pinctrl/spear/pinctrl-spear310.c .npins = ARRAY_SIZE(uart2_pins), npins 139 drivers/pinctrl/spear/pinctrl-spear310.c .npins = ARRAY_SIZE(uart3_pins), npins 171 drivers/pinctrl/spear/pinctrl-spear310.c .npins = ARRAY_SIZE(uart4_pins), npins 203 drivers/pinctrl/spear/pinctrl-spear310.c .npins = ARRAY_SIZE(uart5_pins), npins 235 drivers/pinctrl/spear/pinctrl-spear310.c .npins = ARRAY_SIZE(fsmc_pins), npins 267 drivers/pinctrl/spear/pinctrl-spear310.c .npins = ARRAY_SIZE(rs485_0_pins), npins 299 drivers/pinctrl/spear/pinctrl-spear310.c .npins = ARRAY_SIZE(rs485_1_pins), npins 331 drivers/pinctrl/spear/pinctrl-spear310.c .npins = ARRAY_SIZE(tdm_pins), npins 502 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(clcd_pins), npins 585 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(emi_pins), npins 631 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(fsmc_8bit_pins), npins 678 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(fsmc_16bit_pins), npins 724 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(spp_pins), npins 769 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(sdhci_led_pins), npins 872 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(sdhci_cd_12_pins), npins 878 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(sdhci_cd_51_pins), npins 934 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(i2s_pins), npins 980 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(uart1_pins), npins 1125 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(uart1_modem_2_to_7_pins), npins 1131 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(uart1_modem_31_to_36_pins), npins 1137 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(uart1_modem_34_to_45_pins), npins 1143 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(uart1_modem_80_to_85_pins), npins 1192 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(uart2_pins), npins 1361 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(uart3_pins[0]), npins 1367 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(uart3_pins[1]), npins 1373 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(uart3_pins[2]), npins 1379 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(uart3_pins[3]), npins 1385 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(uart3_pins[4]), npins 1391 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(uart3_pins[5]), npins 1397 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(uart3_pins[6]), npins 1553 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(uart4_pins[0]), npins 1559 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(uart4_pins[1]), npins 1565 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(uart4_pins[2]), npins 1571 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(uart4_pins[3]), npins 1577 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(uart4_pins[4]), npins 1583 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(uart4_pins[5]), npins 1699 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(uart5_pins[0]), npins 1705 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(uart5_pins[1]), npins 1711 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(uart5_pins[2]), npins 1717 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(uart5_pins[3]), npins 1783 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(uart6_pins[0]), npins 1789 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(uart6_pins[1]), npins 1823 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(rs485_pins), npins 1872 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(touchscreen_pins), npins 1918 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(can0_pins), npins 1963 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(can1_pins), npins 2136 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(pwm0_1_pins[0]), npins 2142 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(pwm0_1_pins[1]), npins 2148 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(pwm0_1_pins[2]), npins 2154 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(pwm0_1_pins[3]), npins 2160 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(pwm0_1_pins[4]), npins 2166 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(pwm0_1_pins[5]), npins 2172 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(pwm0_1_pins[6]), npins 2345 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(pwm2_pins[0]), npins 2351 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(pwm2_pins[1]), npins 2357 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(pwm2_pins[2]), npins 2363 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(pwm2_pins[3]), npins 2369 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(pwm2_pins[4]), npins 2375 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(pwm2_pins[5]), npins 2381 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(pwm2_pins[6]), npins 2524 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(pwm3_pins[0]), npins 2530 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(pwm3_pins[1]), npins 2536 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(pwm3_pins[2]), npins 2542 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(pwm3_pins[3]), npins 2548 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(pwm3_pins[4]), npins 2554 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(pwm3_pins[5]), npins 2705 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(ssp1_pins[0]), npins 2711 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(ssp1_pins[1]), npins 2717 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(ssp1_pins[2]), npins 2723 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(ssp1_pins[3]), npins 2729 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(ssp1_pins[4]), npins 2873 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(ssp2_pins[0]), npins 2879 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(ssp2_pins[1]), npins 2885 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(ssp2_pins[2]), npins 2891 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(ssp2_pins[3]), npins 2897 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(ssp2_pins[4]), npins 2949 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(mii2_pins), npins 3048 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(smii0_1_pins), npins 3054 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(rmii0_1_pins), npins 3119 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(i2c1_pins[0]), npins 3125 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(i2c1_pins[1]), npins 3260 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(i2c2_pins[0]), npins 3266 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(i2c2_pins[1]), npins 3272 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(i2c2_pins[2]), npins 3278 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(i2c2_pins[3]), npins 3284 drivers/pinctrl/spear/pinctrl-spear320.c .npins = ARRAY_SIZE(i2c2_pins[4]), npins 42 drivers/pinctrl/spear/pinctrl-spear3xx.c .npins = ARRAY_SIZE(firda_pins), npins 75 drivers/pinctrl/spear/pinctrl-spear3xx.c .npins = ARRAY_SIZE(i2c_pins), npins 108 drivers/pinctrl/spear/pinctrl-spear3xx.c .npins = ARRAY_SIZE(ssp_cs_pins), npins 141 drivers/pinctrl/spear/pinctrl-spear3xx.c .npins = ARRAY_SIZE(ssp_pins), npins 175 drivers/pinctrl/spear/pinctrl-spear3xx.c .npins = ARRAY_SIZE(mii_pins), npins 208 drivers/pinctrl/spear/pinctrl-spear3xx.c .npins = ARRAY_SIZE(gpio0_pin0_pins), npins 234 drivers/pinctrl/spear/pinctrl-spear3xx.c .npins = ARRAY_SIZE(gpio0_pin1_pins), npins 260 drivers/pinctrl/spear/pinctrl-spear3xx.c .npins = ARRAY_SIZE(gpio0_pin2_pins), npins 286 drivers/pinctrl/spear/pinctrl-spear3xx.c .npins = ARRAY_SIZE(gpio0_pin3_pins), npins 312 drivers/pinctrl/spear/pinctrl-spear3xx.c .npins = ARRAY_SIZE(gpio0_pin4_pins), npins 338 drivers/pinctrl/spear/pinctrl-spear3xx.c .npins = ARRAY_SIZE(gpio0_pin5_pins), npins 373 drivers/pinctrl/spear/pinctrl-spear3xx.c .npins = ARRAY_SIZE(uart0_ext_pins), npins 406 drivers/pinctrl/spear/pinctrl-spear3xx.c .npins = ARRAY_SIZE(uart0_pins), npins 439 drivers/pinctrl/spear/pinctrl-spear3xx.c .npins = ARRAY_SIZE(timer_0_1_pins), npins 472 drivers/pinctrl/spear/pinctrl-spear3xx.c .npins = ARRAY_SIZE(timer_2_3_pins), npins 521 drivers/pinctrl/spear/pinctrl-spear3xx.c .npins = ARRAY_SIZE(spear3xx_pins), npins 120 drivers/pinctrl/sprd/pinctrl-sprd.c unsigned int npins; npins 136 drivers/pinctrl/sprd/pinctrl-sprd.c unsigned int npins; npins 163 drivers/pinctrl/sprd/pinctrl-sprd.c for (i = 0; i < info->npins; i++) { npins 178 drivers/pinctrl/sprd/pinctrl-sprd.c for (i = 0; i < info->npins; i++) { npins 226 drivers/pinctrl/sprd/pinctrl-sprd.c unsigned int *npins) npins 235 drivers/pinctrl/sprd/pinctrl-sprd.c *npins = info->groups[selector].npins; npins 389 drivers/pinctrl/sprd/pinctrl-sprd.c unsigned int i, grp_pins = grp->npins; npins 736 drivers/pinctrl/sprd/pinctrl-sprd.c for (i = 0; i < grp->npins; i++) { npins 797 drivers/pinctrl/sprd/pinctrl-sprd.c for (i = 0; i < grp->npins; i++, config++) { npins 856 drivers/pinctrl/sprd/pinctrl-sprd.c grp->npins = ret; npins 858 drivers/pinctrl/sprd/pinctrl-sprd.c grp->npins, sizeof(unsigned int), npins 869 drivers/pinctrl/sprd/pinctrl-sprd.c for (i = 0; i < grp->npins; i++) { npins 872 drivers/pinctrl/sprd/pinctrl-sprd.c grp->name, grp->npins, grp->pins[i]); npins 964 drivers/pinctrl/sprd/pinctrl-sprd.c info->npins = pins_cnt; npins 966 drivers/pinctrl/sprd/pinctrl-sprd.c info->npins, sizeof(struct sprd_pin), npins 971 drivers/pinctrl/sprd/pinctrl-sprd.c for (i = 0, pin = info->pins; i < info->npins; i++, pin++) { npins 996 drivers/pinctrl/sprd/pinctrl-sprd.c for (i = 0, pin = info->pins; i < info->npins; pin++, i++) { npins 1047 drivers/pinctrl/sprd/pinctrl-sprd.c pinctrl_info->npins, npins 1053 drivers/pinctrl/sprd/pinctrl-sprd.c for (i = 0; i < pinctrl_info->npins; i++) { npins 1061 drivers/pinctrl/sprd/pinctrl-sprd.c sprd_pinctrl_desc.npins = pinctrl_info->npins; npins 112 drivers/pinctrl/stm32/pinctrl-stm32.c u32 npins; npins 463 drivers/pinctrl/stm32/pinctrl-stm32.c for (i = 0; i < pctl->npins; i++) { npins 1155 drivers/pinctrl/stm32/pinctrl-stm32.c int npins = STM32_GPIO_PINS_PER_BANK; npins 1195 drivers/pinctrl/stm32/pinctrl-stm32.c range->npins = npins; npins 1206 drivers/pinctrl/stm32/pinctrl-stm32.c bank->gpio_chip.ngpio = npins; npins 1301 drivers/pinctrl/stm32/pinctrl-stm32.c pctl->ngroups = pctl->npins; npins 1315 drivers/pinctrl/stm32/pinctrl-stm32.c for (i = 0; i < pctl->npins; i++) { npins 1333 drivers/pinctrl/stm32/pinctrl-stm32.c for (i = 0; i < pctl->match_data->npins; i++) { npins 1343 drivers/pinctrl/stm32/pinctrl-stm32.c pctl->npins = nb_pins_available; npins 1409 drivers/pinctrl/stm32/pinctrl-stm32.c pctl->pins = devm_kcalloc(pctl->dev, pctl->match_data->npins, npins 1430 drivers/pinctrl/stm32/pinctrl-stm32.c pins = devm_kcalloc(&pdev->dev, pctl->npins, sizeof(*pins), npins 1435 drivers/pinctrl/stm32/pinctrl-stm32.c for (i = 0; i < pctl->npins; i++) npins 1441 drivers/pinctrl/stm32/pinctrl-stm32.c pctl->pctl_desc.npins = pctl->npins; npins 60 drivers/pinctrl/stm32/pinctrl-stm32.h const unsigned int npins; npins 1569 drivers/pinctrl/stm32/pinctrl-stm32f429.c .npins = ARRAY_SIZE(stm32f429_pins), npins 1555 drivers/pinctrl/stm32/pinctrl-stm32f469.c .npins = ARRAY_SIZE(stm32f469_pins), npins 1664 drivers/pinctrl/stm32/pinctrl-stm32f746.c .npins = ARRAY_SIZE(stm32f746_pins), npins 1804 drivers/pinctrl/stm32/pinctrl-stm32f769.c .npins = ARRAY_SIZE(stm32f769_pins), npins 1961 drivers/pinctrl/stm32/pinctrl-stm32h743.c .npins = ARRAY_SIZE(stm32h743_pins), npins 2325 drivers/pinctrl/stm32/pinctrl-stm32mp157.c .npins = ARRAY_SIZE(stm32mp157_pins), npins 2330 drivers/pinctrl/stm32/pinctrl-stm32mp157.c .npins = ARRAY_SIZE(stm32mp157_z_pins), npins 1289 drivers/pinctrl/sunxi/pinctrl-sun4i-a10.c .npins = ARRAY_SIZE(sun4i_a10_pins), npins 102 drivers/pinctrl/sunxi/pinctrl-sun50i-a64-r.c .npins = ARRAY_SIZE(sun50i_a64_r_pins), npins 579 drivers/pinctrl/sunxi/pinctrl-sun50i-a64.c .npins = ARRAY_SIZE(a64_pins), npins 536 drivers/pinctrl/sunxi/pinctrl-sun50i-h5.c .npins = ARRAY_SIZE(sun50i_h5_pins), npins 544 drivers/pinctrl/sunxi/pinctrl-sun50i-h5.c .npins = ARRAY_SIZE(sun50i_h5_pins), npins 105 drivers/pinctrl/sunxi/pinctrl-sun50i-h6-r.c .npins = ARRAY_SIZE(sun50i_h6_r_pins), npins 590 drivers/pinctrl/sunxi/pinctrl-sun50i-h6.c .npins = ARRAY_SIZE(h6_pins), npins 714 drivers/pinctrl/sunxi/pinctrl-sun5i.c .npins = ARRAY_SIZE(sun5i_pins), npins 106 drivers/pinctrl/sunxi/pinctrl-sun6i-a31-r.c .npins = ARRAY_SIZE(sun6i_a31_r_pins), npins 966 drivers/pinctrl/sunxi/pinctrl-sun6i-a31.c .npins = ARRAY_SIZE(sun6i_a31_pins), npins 93 drivers/pinctrl/sunxi/pinctrl-sun8i-a23-r.c .npins = ARRAY_SIZE(sun8i_a23_r_pins), npins 564 drivers/pinctrl/sunxi/pinctrl-sun8i-a23.c .npins = ARRAY_SIZE(sun8i_a23_pins), npins 488 drivers/pinctrl/sunxi/pinctrl-sun8i-a33.c .npins = ARRAY_SIZE(sun8i_a33_pins), npins 105 drivers/pinctrl/sunxi/pinctrl-sun8i-a83t-r.c .npins = ARRAY_SIZE(sun8i_a83t_r_pins), npins 576 drivers/pinctrl/sunxi/pinctrl-sun8i-a83t.c .npins = ARRAY_SIZE(sun8i_a83t_pins), npins 82 drivers/pinctrl/sunxi/pinctrl-sun8i-h3-r.c .npins = ARRAY_SIZE(sun8i_h3_r_pins), npins 492 drivers/pinctrl/sunxi/pinctrl-sun8i-h3.c .npins = ARRAY_SIZE(sun8i_h3_pins), npins 546 drivers/pinctrl/sunxi/pinctrl-sun8i-v3s.c .npins = ARRAY_SIZE(sun8i_v3s_pins), npins 152 drivers/pinctrl/sunxi/pinctrl-sun9i-a80-r.c .npins = ARRAY_SIZE(sun9i_a80_r_pins), npins 722 drivers/pinctrl/sunxi/pinctrl-sun9i-a80.c .npins = ARRAY_SIZE(sun9i_a80_pins), npins 394 drivers/pinctrl/sunxi/pinctrl-suniv-f1c100s.c .npins = ARRAY_SIZE(suniv_f1c100s_pins), npins 81 drivers/pinctrl/sunxi/pinctrl-sunxi.c for (i = 0; i < pctl->desc->npins; i++) { npins 108 drivers/pinctrl/sunxi/pinctrl-sunxi.c for (i = 0; i < pctl->desc->npins; i++) { npins 242 drivers/pinctrl/sunxi/pinctrl-sunxi.c int *npins) npins 249 drivers/pinctrl/sunxi/pinctrl-sunxi.c *npins = count; npins 256 drivers/pinctrl/sunxi/pinctrl-sunxi.c *npins = count; npins 329 drivers/pinctrl/sunxi/pinctrl-sunxi.c int ret, npins, nmaps, configlen = 0, i = 0; npins 341 drivers/pinctrl/sunxi/pinctrl-sunxi.c pin_prop = sunxi_pctrl_find_pins_prop(node, &npins); npins 355 drivers/pinctrl/sunxi/pinctrl-sunxi.c nmaps = npins * 2; npins 1189 drivers/pinctrl/sunxi/pinctrl-sunxi.c pctl->desc->npins, sizeof(*pctl->groups), npins 1194 drivers/pinctrl/sunxi/pinctrl-sunxi.c for (i = 0; i < pctl->desc->npins; i++) { npins 1219 drivers/pinctrl/sunxi/pinctrl-sunxi.c for (i = 0; i < pctl->desc->npins; i++) { npins 1251 drivers/pinctrl/sunxi/pinctrl-sunxi.c for (i = 0; i < pctl->desc->npins; i++) { npins 1422 drivers/pinctrl/sunxi/pinctrl-sunxi.c pctl->desc->npins, sizeof(*pins), npins 1427 drivers/pinctrl/sunxi/pinctrl-sunxi.c for (i = 0, pin_idx = 0; i < pctl->desc->npins; i++) { npins 1445 drivers/pinctrl/sunxi/pinctrl-sunxi.c pctrl_desc->npins = pctl->ngroups; npins 1469 drivers/pinctrl/sunxi/pinctrl-sunxi.c last_pin = pctl->desc->pins[pctl->desc->npins - 1].pin.number; npins 1492 drivers/pinctrl/sunxi/pinctrl-sunxi.c for (i = 0; i < pctl->desc->npins; i++) { npins 132 drivers/pinctrl/sunxi/pinctrl-sunxi.h int npins; npins 907 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c padctl->desc.npins = ARRAY_SIZE(tegra124_pins); npins 63 drivers/pinctrl/tegra/pinctrl-tegra.c *num_pins = pmx->soc->groups[group].npins; npins 760 drivers/pinctrl/tegra/pinctrl-tegra.c tegra_pinctrl_gpio_range.npins = pmx->soc->ngpios; npins 763 drivers/pinctrl/tegra/pinctrl-tegra.c tegra_pinctrl_desc.npins = pmx->soc->npins; npins 137 drivers/pinctrl/tegra/pinctrl-tegra.h u8 npins; npins 187 drivers/pinctrl/tegra/pinctrl-tegra.h unsigned npins; npins 1554 drivers/pinctrl/tegra/pinctrl-tegra114.c .npins = ARRAY_SIZE(pg_name##_pins), \ npins 1585 drivers/pinctrl/tegra/pinctrl-tegra114.c .npins = ARRAY_SIZE(drive_##pg_name##_pins), \ npins 1836 drivers/pinctrl/tegra/pinctrl-tegra114.c .npins = ARRAY_SIZE(tegra114_pins), npins 1723 drivers/pinctrl/tegra/pinctrl-tegra124.c .npins = ARRAY_SIZE(pg_name##_pins), \ npins 1754 drivers/pinctrl/tegra/pinctrl-tegra124.c .npins = ARRAY_SIZE(drive_##pg_name##_pins), \ npins 1784 drivers/pinctrl/tegra/pinctrl-tegra124.c .npins = ARRAY_SIZE(mipi_pad_ctrl_##pg_name##_pins), \ npins 2048 drivers/pinctrl/tegra/pinctrl-tegra124.c .npins = ARRAY_SIZE(tegra124_pins), npins 115 drivers/pinctrl/tegra/pinctrl-tegra194.c .npins = ARRAY_SIZE(pg_name##_pins), \ npins 138 drivers/pinctrl/tegra/pinctrl-tegra194.c .npins = ARRAY_SIZE(tegra194_pins), npins 1976 drivers/pinctrl/tegra/pinctrl-tegra20.c .npins = ARRAY_SIZE(pg_name##_pins), \ npins 2006 drivers/pinctrl/tegra/pinctrl-tegra20.c .npins = ARRAY_SIZE(pg_name##_pins), \ npins 2022 drivers/pinctrl/tegra/pinctrl-tegra20.c .npins = ARRAY_SIZE(drive_##pg_name##_pins), \ npins 2218 drivers/pinctrl/tegra/pinctrl-tegra20.c .npins = ARRAY_SIZE(tegra20_pins), npins 1284 drivers/pinctrl/tegra/pinctrl-tegra210.c .npins = ARRAY_SIZE(pg_name##_pins), \ npins 1327 drivers/pinctrl/tegra/pinctrl-tegra210.c .npins = ARRAY_SIZE(drive_##pg_name##_pins), \ npins 1550 drivers/pinctrl/tegra/pinctrl-tegra210.c .npins = ARRAY_SIZE(tegra210_pins), npins 2115 drivers/pinctrl/tegra/pinctrl-tegra30.c .npins = ARRAY_SIZE(pg_name##_pins), \ npins 2146 drivers/pinctrl/tegra/pinctrl-tegra30.c .npins = ARRAY_SIZE(drive_##pg_name##_pins), \ npins 2471 drivers/pinctrl/tegra/pinctrl-tegra30.c .npins = ARRAY_SIZE(tegra30_pins), npins 757 drivers/pinctrl/ti/pinctrl-ti-iodelay.c iod->desc.npins = nr_pins; npins 670 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c for (i = 0; i < range->npins; i++) npins 674 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c if (WARN_ON(i == range->npins)) npins 781 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c for (i = 0; i < socdata->npins; i++) { npins 819 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c socdata->npins, 8); npins 870 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c !socdata->pins || !socdata->npins || npins 893 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c priv->pctldesc.npins = socdata->npins; npins 689 drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c .npins = ARRAY_SIZE(uniphier_ld11_pins), npins 802 drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c .npins = ARRAY_SIZE(uniphier_ld20_pins), npins 722 drivers/pinctrl/uniphier/pinctrl-uniphier-ld4.c .npins = ARRAY_SIZE(uniphier_ld4_pins), npins 937 drivers/pinctrl/uniphier/pinctrl-uniphier-ld6b.c .npins = ARRAY_SIZE(uniphier_ld6b_pins), npins 1231 drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c .npins = ARRAY_SIZE(uniphier_pro4_pins), npins 1000 drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c .npins = ARRAY_SIZE(uniphier_pro5_pins), npins 959 drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c .npins = ARRAY_SIZE(uniphier_pxs2_pins), npins 970 drivers/pinctrl/uniphier/pinctrl-uniphier-pxs3.c .npins = ARRAY_SIZE(uniphier_pxs3_pins), npins 651 drivers/pinctrl/uniphier/pinctrl-uniphier-sld8.c .npins = ARRAY_SIZE(uniphier_sld8_pins), npins 141 drivers/pinctrl/uniphier/pinctrl-uniphier.h unsigned int npins; npins 459 drivers/pinctrl/vt8500/pinctrl-vt8500.c data->npins = ARRAY_SIZE(vt8500_pins); npins 490 drivers/pinctrl/vt8500/pinctrl-wm8505.c data->npins = ARRAY_SIZE(wm8505_pins); npins 328 drivers/pinctrl/vt8500/pinctrl-wm8650.c data->npins = ARRAY_SIZE(wm8650_pins); npins 367 drivers/pinctrl/vt8500/pinctrl-wm8750.c data->npins = ARRAY_SIZE(wm8750_pins); npins 346 drivers/pinctrl/vt8500/pinctrl-wm8850.c data->npins = ARRAY_SIZE(wm8850_pins); npins 199 drivers/pinctrl/vt8500/pinctrl-wmt.c for (i = 0; i < data->npins; i++) { npins 564 drivers/pinctrl/vt8500/pinctrl-wmt.c wmt_desc.npins = data->npins; npins 32 drivers/pinctrl/vt8500/pinctrl-wmt.h .npins = ARRAY_SIZE(__data), \ npins 48 drivers/pinctrl/vt8500/pinctrl-wmt.h const unsigned npins; npins 62 drivers/pinctrl/vt8500/pinctrl-wmt.h u32 npins; npins 276 drivers/pinctrl/zte/pinctrl-zx.c ngroups = info->npins; npins 295 drivers/pinctrl/zte/pinctrl-zx.c functions = kcalloc(info->npins, sizeof(*functions), GFP_KERNEL); npins 300 drivers/pinctrl/zte/pinctrl-zx.c for (i = 0; i < info->npins; i++) { npins 341 drivers/pinctrl/zte/pinctrl-zx.c for (i = 0; i < info->npins; i++) { npins 425 drivers/pinctrl/zte/pinctrl-zx.c pctldesc->npins = info->npins; npins 48 drivers/pinctrl/zte/pinctrl-zx.h unsigned int npins; npins 1000 drivers/pinctrl/zte/pinctrl-zx296718.c .npins = ARRAY_SIZE(zx296718_pins), npins 677 drivers/rtc/rtc-omap.c .npins = ARRAY_SIZE(rtc_pins_desc), npins 1770 drivers/soc/tegra/pmc.c tegra_pmc_pctl_desc.npins = pmc->soc->num_pin_descs; npins 312 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c p->desc->npins = p->max_pins; npins 371 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c range->npins = __be32_to_cpu(*ngpio); npins 680 include/linux/gpio/driver.h unsigned int npins); npins 691 include/linux/gpio/driver.h unsigned int npins) npins 65 include/linux/pinctrl/pinctrl.h unsigned int npins; npins 133 include/linux/pinctrl/pinctrl.h unsigned int npins;