/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()
|
/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()
|
/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()
|
/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 | 790 unsigned ngpio = pctrl->soc->ngpios; in msm_gpio_init()
|
D | pinctrl-msm8916.c | 969 .ngpios = NUM_GPIO_PINGROUPS,
|
D | pinctrl-apq8084.c | 1208 .ngpios = NUM_GPIO_PINGROUPS,
|
D | pinctrl-msm8660.c | 947 .ngpios = NUM_GPIO_PINGROUPS,
|
D | pinctrl-msm8x74.c | 1030 .ngpios = NUM_GPIO_PINGROUPS,
|
D | pinctrl-msm8960.c | 1246 .ngpios = NUM_GPIO_PINGROUPS,
|
/drivers/pinctrl/ |
D | pinctrl-tegra.h | 178 unsigned ngpios; member
|
D | pinctrl-tegra.c | 697 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,
|
/drivers/pinctrl/intel/ |
D | pinctrl-cherryview.c | 148 size_t ngpios; member 400 .ngpios = ARRAY_SIZE(southwest_pins), 483 .ngpios = ARRAY_SIZE(north_pins), 525 .ngpios = ARRAY_SIZE(east_pins), 650 .ngpios = ARRAY_SIZE(southeast_pins), 1446 chip->ngpio = pctrl->community->ngpios; in chv_gpio_probe()
|