Searched refs:nr_gpios (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/regulator/ |
D | gpio-regulator.c | 37 int nr_gpios; member 77 for (ptr = 0; ptr < data->nr_gpios; ptr++) { in gpio_regulator_set_voltage() 114 for (ptr = 0; ptr < data->nr_gpios; ptr++) { in gpio_regulator_set_current_limit() 289 drvdata->nr_gpios = config->ngpios; in gpio_regulator_probe() 323 for (ptr = 0; ptr < drvdata->nr_gpios; ptr++) { in gpio_regulator_probe()
|
/linux-6.12.1/drivers/gpio/ |
D | gpio-aspeed-sgpio.c | 539 u32 nr_gpios, sgpio_freq, sgpio_clk_div, gpio_cnt_regval, pin_mask; in aspeed_sgpio_probe() local 561 rc = device_property_read_u32(&pdev->dev, "ngpios", &nr_gpios); in aspeed_sgpio_probe() 565 } else if (nr_gpios % 8) { in aspeed_sgpio_probe() 567 nr_gpios); in aspeed_sgpio_probe() 602 gpio_cnt_regval = ((nr_gpios / 8) << ASPEED_SGPIO_PINS_SHIFT) & pin_mask; in aspeed_sgpio_probe() 609 gpio->chip.ngpio = nr_gpios * 2; in aspeed_sgpio_probe()
|
D | gpio-pxa.c | 588 int nr_gpios; in pxa_gpio_probe_dt() local 594 nr_gpios = gpio_id->gpio_nums; in pxa_gpio_probe_dt() 595 pxa_last_gpio = nr_gpios - 1; in pxa_gpio_probe_dt() 597 irq_base = devm_irq_alloc_descs(&pdev->dev, -1, 0, nr_gpios, 0); in pxa_gpio_probe_dt()
|
D | gpio-aspeed.c | 40 unsigned int nr_gpios; member 1134 { .nr_gpios = 220, .props = ast2400_bank_props, }; 1146 { .nr_gpios = 232, .props = ast2500_bank_props, }; 1162 { .nr_gpios = 208, .props = ast2600_bank_props, }; 1209 gpio->chip.ngpio = gpio->config->nr_gpios; in aspeed_gpio_probe()
|