Home
last modified time | relevance | path

Searched refs:gpio_count (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/arch/mips/lantiq/xway/
Dvmmc.c28 int gpio_count; in vmmc_probe() local
35 gpio_count = of_gpio_count(pdev->dev.of_node); in vmmc_probe()
36 while (gpio_count > 0) { in vmmc_probe()
39 --gpio_count, &flags); in vmmc_probe()
/Linux-v5.4/drivers/hsi/clients/
Dnokia-modem.c76 int gpio_count, gpio_name_count, i, err; in nokia_modem_gpio_probe() local
78 gpio_count = of_gpio_count(np); in nokia_modem_gpio_probe()
80 if (gpio_count < 0) { in nokia_modem_gpio_probe()
81 dev_err(dev, "missing gpios: %d\n", gpio_count); in nokia_modem_gpio_probe()
82 return gpio_count; in nokia_modem_gpio_probe()
87 if (gpio_count != gpio_name_count) { in nokia_modem_gpio_probe()
92 modem->gpios = devm_kcalloc(dev, gpio_count, sizeof(*modem->gpios), in nokia_modem_gpio_probe()
97 modem->gpio_amount = gpio_count; in nokia_modem_gpio_probe()
99 for (i = 0; i < gpio_count; i++) { in nokia_modem_gpio_probe()
/Linux-v5.4/include/linux/spi/
Dtle62x0.h11 unsigned int gpio_count; member
/Linux-v5.4/drivers/spi/
Dspi-tle62x0.c257 st->nr_gpio = pdata->gpio_count; in tle62x0_probe()
268 for (ptr = 0; ptr < pdata->gpio_count; ptr++) { in tle62x0_probe()
/Linux-v5.4/drivers/bluetooth/
Dhci_bcm.c97 int gpio_count; member
878 dev->gpio_int_idx = dev->gpio_count; in bcm_resource()
881 dev->gpio_count++; in bcm_resource()
1088 if (dev->gpio_count != (dev->irq ? 2 : 3)) in bcm_acpi_probe()
1090 dev->gpio_count); in bcm_acpi_probe()