/kernel/linux/linux-5.10/drivers/pinctrl/qcom/ |
D | pinctrl-qdf2xxx.c | 38 u32 num_gpios; in qdf2xxx_pinctrl_probe() local 44 ret = device_property_read_u32(&pdev->dev, "num-gpios", &num_gpios); in qdf2xxx_pinctrl_probe() 49 if (!num_gpios || num_gpios > MAX_GPIOS) { in qdf2xxx_pinctrl_probe() 64 if (!ret || ret > num_gpios) { in qdf2xxx_pinctrl_probe() 78 pins = devm_kcalloc(&pdev->dev, num_gpios, in qdf2xxx_pinctrl_probe() 80 groups = devm_kcalloc(&pdev->dev, num_gpios, in qdf2xxx_pinctrl_probe() 91 for (i = 0; i < num_gpios; i++) { in qdf2xxx_pinctrl_probe() 129 pinctrl->npins = num_gpios; in qdf2xxx_pinctrl_probe() 130 pinctrl->ngroups = num_gpios; in qdf2xxx_pinctrl_probe() 131 pinctrl->ngpios = num_gpios; in qdf2xxx_pinctrl_probe()
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
D | gpio-fan.c | 35 int num_gpios; member 109 for (i = 0; i < fan_data->num_gpios; i++) in __set_fan_ctrl() 119 for (i = 0; i < fan_data->num_gpios; i++) { in __get_fan_ctrl() 337 int num_gpios = fan_data->num_gpios; in fan_ctrl_init() local 341 for (i = 0; i < num_gpios; i++) { in fan_ctrl_init() 424 fan_data->num_gpios = gpiod_count(dev, NULL); in gpio_fan_get_of_data() 425 if (fan_data->num_gpios <= 0) { in gpio_fan_get_of_data() 432 fan_data->num_gpios, sizeof(struct gpio_desc *), in gpio_fan_get_of_data() 436 for (i = 0; i < fan_data->num_gpios; i++) { in gpio_fan_get_of_data() 514 if (fan_data->gpios && fan_data->num_gpios > 0) { in gpio_fan_probe()
|
/kernel/linux/linux-5.10/drivers/watchdog/ |
D | mena21_wdt.c | 133 int num_gpios; in a21_wdt_probe() local 141 num_gpios = gpiod_count(dev, NULL); in a21_wdt_probe() 142 if (num_gpios != NUM_GPIOS) { in a21_wdt_probe() 144 num_gpios, NUM_GPIOS); in a21_wdt_probe() 149 for (i = 0; i < num_gpios; i++) { in a21_wdt_probe()
|
/kernel/linux/linux-5.10/drivers/gpio/ |
D | gpio-cadence.c | 153 u32 num_gpios = 32; in cdns_gpio_probe() local 163 of_property_read_u32(pdev->dev.of_node, "ngpios", &num_gpios); in cdns_gpio_probe() 165 if (num_gpios > 32) { in cdns_gpio_probe() 178 iowrite32(GENMASK(num_gpios - 1, 0), in cdns_gpio_probe() 195 cgpio->gc.ngpio = num_gpios; in cdns_gpio_probe() 251 iowrite32(GENMASK(num_gpios - 1, 0), in cdns_gpio_probe()
|
D | gpio-adnp.c | 440 static int adnp_gpio_setup(struct adnp *adnp, unsigned int num_gpios, in adnp_gpio_setup() argument 446 adnp->reg_shift = get_count_order(num_gpios) - 3; in adnp_gpio_setup() 458 chip->ngpio = num_gpios; in adnp_gpio_setup() 494 u32 num_gpios; in adnp_i2c_probe() local 497 err = of_property_read_u32(np, "nr-gpios", &num_gpios); in adnp_i2c_probe() 512 err = adnp_gpio_setup(adnp, num_gpios, in adnp_i2c_probe()
|
D | gpio-xgs-iproc.c | 199 u32 num_gpios; in iproc_gpio_probe() local 227 if (!of_property_read_u32(dn, "ngpios", &num_gpios)) in iproc_gpio_probe() 228 chip->gc.ngpio = num_gpios; in iproc_gpio_probe()
|
D | gpio-stmpe.c | 182 int num_banks = DIV_ROUND_UP(stmpe->num_gpios, 8); in stmpe_gpio_irq_sync_unlock() 376 int num_banks = DIV_ROUND_UP(stmpe->num_gpios, 8); in stmpe_gpio_irq() 459 if (stmpe->num_gpios > MAX_GPIOS) { in stmpe_gpio_probe() 473 stmpe_gpio->chip.ngpio = stmpe->num_gpios; in stmpe_gpio_probe()
|
D | gpio-brcmstb.c | 64 int num_gpios; member 133 if (hwirq >= priv->num_gpios) in brcmstb_gpio_to_irq() 401 for (offset = 0; offset < priv->num_gpios; offset++) { in brcmstb_gpio_remove() 458 irq_domain_add_linear(np, priv->num_gpios, in brcmstb_gpio_irq_setup() 790 priv->num_gpios = gpio_base - priv->gpio_base; in brcmstb_gpio_probe()
|
D | gpio-htc-egpio.c | 332 chip->ngpio = pdata->chip[i].num_gpios; in egpio_probe()
|
/kernel/linux/linux-5.10/drivers/iio/amplifiers/ |
D | hmc425a.c | 30 unsigned int num_gpios; member 177 .num_gpios = 6, 208 if (st->gpios->ndescs != st->chip_info->num_gpios) { in hmc425a_probe() 210 st->chip_info->num_gpios); in hmc425a_probe()
|
/kernel/linux/linux-5.10/drivers/i2c/muxes/ |
D | i2c-mux-ltc4306.c | 44 u8 num_gpios; member 59 .num_gpios = 2, 156 if (!data->chip->num_gpios) in ltc4306_gpio_init() 161 data->gpiochip.ngpio = data->chip->num_gpios; in ltc4306_gpio_init()
|
/kernel/linux/linux-5.10/drivers/mfd/ |
D | stmpe.c | 271 int numregs = DIV_ROUND_UP(stmpe->num_gpios * af_bits, 8); in stmpe_set_altfunc() 425 .num_gpios = 8, 437 .num_gpios = 8, 586 .num_gpios = 8, 601 .num_gpios = 6, 657 .num_gpios = 16, 821 .num_gpios = 16, 930 .num_gpios = 18, 1036 .num_gpios = 24, 1050 .num_gpios = 24, [all …]
|
D | stmpe.h | 67 int num_gpios; member
|
D | htc-i2cpld.c | 421 gpio_chip->ngpio = plat_chip_data->num_gpios; in htcpld_register_chip_gpio() 433 gpio_chip->ngpio = plat_chip_data->num_gpios; in htcpld_register_chip_gpio()
|
/kernel/linux/linux-5.10/arch/arm/mach-omap1/ |
D | board-htcherald.c | 319 .num_gpios = 8, 326 .num_gpios = 8, 333 .num_gpios = 8, 342 .num_gpios = 8,
|
/kernel/linux/linux-5.10/include/linux/ |
D | htcpld.h | 8 unsigned int num_gpios; member
|
/kernel/linux/linux-5.10/include/linux/platform_data/ |
D | gpio-htc-egpio.h | 24 int num_gpios; member
|
/kernel/linux/linux-5.10/include/linux/mfd/ |
D | stmpe.h | 136 int num_gpios; member
|
/kernel/linux/linux-5.10/arch/arm/mach-sa1100/ |
D | h3xxx.c | 144 .num_gpios = 16,
|
/kernel/linux/linux-5.10/arch/arm/mach-pxa/ |
D | magician.c | 205 .num_gpios = 24, 215 .num_gpios = 24,
|
D | hx4700.c | 335 .num_gpios = 8,
|