| /linux-4.4.14/arch/mips/ath79/ |
| D | dev-common.c | 139 ath79_gpio_pdata.ngpios = AR71XX_GPIO_COUNT; in ath79_gpio_init() 141 ath79_gpio_pdata.ngpios = AR7240_GPIO_COUNT; in ath79_gpio_init() 143 ath79_gpio_pdata.ngpios = AR7241_GPIO_COUNT; in ath79_gpio_init() 145 ath79_gpio_pdata.ngpios = AR913X_GPIO_COUNT; in ath79_gpio_init() 147 ath79_gpio_pdata.ngpios = AR933X_GPIO_COUNT; in ath79_gpio_init() 149 ath79_gpio_pdata.ngpios = AR934X_GPIO_COUNT; in ath79_gpio_init() 152 ath79_gpio_pdata.ngpios = QCA955X_GPIO_COUNT; in ath79_gpio_init()
|
| /linux-4.4.14/drivers/gpio/ |
| D | gpio-sx150x.c | 54 u8 ngpios; member 66 u8 ngpios; member 105 .ngpios = 8, 123 .ngpios = 16 143 .ngpios = 16 194 return (chip->dev_cfg->ngpios == offset); in offset_is_oscio() 405 for (i = (chip->dev_cfg->ngpios / 8) - 1; i >= 0; --i) { in sx150x_irq_thread_fn() 484 chip->gpio_chip.ngpio = chip->dev_cfg->ngpios; in sx150x_init_chip() 512 for (n = 0; err >= 0 && n < (chip->dev_cfg->ngpios / 8); ++n) in sx150x_init_io()
|
| D | gpio-em.c | 279 unsigned int ngpios; in em_gio_probe() local 319 if (of_property_read_u32(pdev->dev.of_node, "ngpios", &ngpios)) { in em_gio_probe() 338 gpio_chip->ngpio = ngpios; in em_gio_probe() 349 p->irq_domain = irq_domain_add_simple(pdev->dev.of_node, ngpios, 0, in em_gio_probe()
|
| D | gpio-mvebu.c | 665 unsigned int ngpios; in mvebu_gpio_probe() local 683 if (of_property_read_u32(pdev->dev.of_node, "ngpios", &ngpios)) { in mvebu_gpio_probe() 710 mvchip->chip.ngpio = ngpios; in mvebu_gpio_probe() 784 mvchip->irqbase = irq_alloc_descs(-1, 0, ngpios, -1); in mvebu_gpio_probe() 816 irq_setup_generic_chip(gc, IRQ_MSK(ngpios), 0, in mvebu_gpio_probe() 834 irq_remove_generic_chip(gc, IRQ_MSK(ngpios), IRQ_NOREQUEST, in mvebu_gpio_probe()
|
| D | gpio-ath79.c | 165 ath79_gpio_count = pdata->ngpios; in ath79_gpio_probe()
|
| /linux-4.4.14/arch/arm/boot/dts/ |
| D | emev2.dtsi | 211 ngpios = <32>; 223 ngpios = <32>; 235 ngpios = <32>; 247 ngpios = <32>; 259 ngpios = <31>;
|
| D | armada-xp-mv78460.dtsi | 328 ngpios = <32>; 339 ngpios = <32>; 350 ngpios = <3>;
|
| D | armada-370.dtsi | 166 ngpios = <32>; 177 ngpios = <32>; 188 ngpios = <2>;
|
| D | armada-xp-mv78260.dtsi | 290 ngpios = <32>; 301 ngpios = <32>; 312 ngpios = <3>;
|
| D | armada-xp-mv78230.dtsi | 207 ngpios = <32>; 218 ngpios = <17>;
|
| D | kirkwood.dtsi | 144 ngpios = <32>; 156 ngpios = <18>;
|
| D | dove.dtsi | 718 ngpios = <32>; 730 ngpios = <32>; 755 ngpios = <8>;
|
| D | armada-375.dtsi | 349 ngpios = <32>; 363 ngpios = <32>; 377 ngpios = <3>;
|
| D | orion5x.dtsi | 78 ngpios = <32>;
|
| D | armada-38x.dtsi | 332 ngpios = <32>; 346 ngpios = <28>;
|
| /linux-4.4.14/Documentation/devicetree/bindings/gpio/ |
| D | gpio-ath79.txt | 12 - ngpios: Should be set to the number of GPIOs available on the SoC. 31 ngpios = <22>;
|
| D | gpio-mvebu.txt | 36 - ngpios: number of GPIOs this controller has 47 ngpios = <32>;
|
| D | gpio.txt | 134 Optionally, a GPIO controller may have a "ngpios" property. This property 140 12. In this case, setting "ngpios = <18>;" informs the driver that only the 155 ngpios = <18>;
|
| /linux-4.4.14/include/linux/platform_data/ |
| D | gpio-ath79.h | 15 unsigned ngpios; member
|
| /linux-4.4.14/drivers/spi/ |
| D | spi-fsl-spi.c | 716 int ngpios; in of_fsl_spi_get_chipselects() local 720 ngpios = of_gpio_count(np); in of_fsl_spi_get_chipselects() 721 if (ngpios <= 0) { in of_fsl_spi_get_chipselects() 730 pinfo->gpios = kmalloc(ngpios * sizeof(*pinfo->gpios), GFP_KERNEL); in of_fsl_spi_get_chipselects() 733 memset(pinfo->gpios, -1, ngpios * sizeof(*pinfo->gpios)); in of_fsl_spi_get_chipselects() 735 pinfo->alow_flags = kzalloc(ngpios * sizeof(*pinfo->alow_flags), in of_fsl_spi_get_chipselects() 742 for (; i < ngpios; i++) { in of_fsl_spi_get_chipselects() 771 pdata->max_chipselect = ngpios; in of_fsl_spi_get_chipselects()
|
| /linux-4.4.14/drivers/pinctrl/qcom/ |
| D | pinctrl-msm.h | 117 unsigned ngpios; member
|
| D | pinctrl-qdf2xxx.c | 89 qdf2xxx_pinctrl.ngpios = num_gpios; in qdf2xxx_pinctrl_probe()
|
| D | pinctrl-ipq8064.c | 632 .ngpios = NUM_GPIO_PINGROUPS,
|
| D | pinctrl-apq8064.c | 599 .ngpios = NUM_GPIO_PINGROUPS,
|
| D | pinctrl-msm.c | 794 unsigned ngpio = pctrl->soc->ngpios; in msm_gpio_init()
|
| D | pinctrl-msm8660.c | 947 .ngpios = NUM_GPIO_PINGROUPS,
|
| D | pinctrl-msm8x74.c | 1030 .ngpios = NUM_GPIO_PINGROUPS,
|
| D | pinctrl-msm8916.c | 969 .ngpios = NUM_GPIO_PINGROUPS,
|
| D | pinctrl-apq8084.c | 1208 .ngpios = NUM_GPIO_PINGROUPS,
|
| D | pinctrl-msm8960.c | 1246 .ngpios = NUM_GPIO_PINGROUPS,
|
| /linux-4.4.14/drivers/pinctrl/bcm/ |
| D | pinctrl-cygnus-gpio.c | 682 u32 ngpios; in cygnus_gpio_probe() local 691 ngpios = gpio_data->num_gpios; in cygnus_gpio_probe() 720 gc->ngpio = ngpios; in cygnus_gpio_probe() 721 chip->num_banks = (ngpios + NGPIOS_PER_BANK - 1) / NGPIOS_PER_BANK; in cygnus_gpio_probe()
|
| /linux-4.4.14/drivers/pinctrl/ |
| D | pinctrl-tegra.h | 178 unsigned ngpios; member
|
| D | pinctrl-tegra.c | 695 tegra_pinctrl_gpio_range.npins = pmx->soc->ngpios; in tegra_pinctrl_probe()
|
| D | pinctrl-tegra210.c | 1553 .ngpios = NUM_GPIOS,
|
| D | pinctrl-tegra20.c | 2217 .ngpios = NUM_GPIOS,
|
| D | pinctrl-tegra114.c | 1837 .ngpios = NUM_GPIOS,
|
| D | pinctrl-tegra124.c | 2049 .ngpios = NUM_GPIOS,
|
| D | pinctrl-tegra30.c | 2472 .ngpios = NUM_GPIOS,
|
| /linux-4.4.14/drivers/pinctrl/intel/ |
| D | pinctrl-cherryview.c | 148 size_t ngpios; member 402 .ngpios = ARRAY_SIZE(southwest_pins), 485 .ngpios = ARRAY_SIZE(north_pins), 527 .ngpios = ARRAY_SIZE(east_pins), 652 .ngpios = ARRAY_SIZE(southeast_pins), 1437 chip->ngpio = pctrl->community->ngpios; in chv_gpio_probe()
|
| /linux-4.4.14/arch/mips/boot/dts/qca/ |
| D | ar9132.dtsi | 76 ngpios = <22>;
|