Home
last modified time | relevance | path

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

/Linux-v4.19/arch/mips/lantiq/xway/
Dvmmc.c30 int gpio_count; in vmmc_probe() local
37 gpio_count = of_gpio_count(pdev->dev.of_node); in vmmc_probe()
38 while (gpio_count > 0) { in vmmc_probe()
41 --gpio_count, &flags); in vmmc_probe()
/Linux-v4.19/drivers/hsi/clients/
Dnokia-modem.c89 int gpio_count, gpio_name_count, i, err; in nokia_modem_gpio_probe() local
91 gpio_count = of_gpio_count(np); in nokia_modem_gpio_probe()
93 if (gpio_count < 0) { in nokia_modem_gpio_probe()
94 dev_err(dev, "missing gpios: %d\n", gpio_count); in nokia_modem_gpio_probe()
95 return gpio_count; in nokia_modem_gpio_probe()
100 if (gpio_count != gpio_name_count) { in nokia_modem_gpio_probe()
105 modem->gpios = devm_kcalloc(dev, gpio_count, sizeof(*modem->gpios), in nokia_modem_gpio_probe()
110 modem->gpio_amount = gpio_count; in nokia_modem_gpio_probe()
112 for (i = 0; i < gpio_count; i++) { in nokia_modem_gpio_probe()
/Linux-v4.19/drivers/mtd/maps/
Dgpio-addr-flash.c46 size_t gpio_count; member
74 } while (++i < state->gpio_count); in gf_set_gpios()
228 state->gpio_count = gpios->end; in gpio_flash_probe()
240 state->map.size = state->win_size * (1 << state->gpio_count); in gpio_flash_probe()
261 } while (++i < state->gpio_count); in gpio_flash_probe()
267 for (i = 0; i < state->gpio_count; ++i) in gpio_flash_probe()
286 } while (++i < state->gpio_count); in gpio_flash_remove()
/Linux-v4.19/include/linux/spi/
Dtle62x0.h19 unsigned int gpio_count; member
/Linux-v4.19/drivers/spi/
Dspi-tle62x0.c260 st->nr_gpio = pdata->gpio_count; in tle62x0_probe()
271 for (ptr = 0; ptr < pdata->gpio_count; ptr++) { in tle62x0_probe()
/Linux-v4.19/drivers/bluetooth/
Dhci_bcm.c101 int gpio_count; member
822 dev->gpio_int_idx = dev->gpio_count; in bcm_resource()
825 dev->gpio_count++; in bcm_resource()
984 if (dev->gpio_count != (dev->irq ? 2 : 3)) in bcm_acpi_probe()
986 dev->gpio_count); in bcm_acpi_probe()
/Linux-v4.19/sound/soc/intel/boards/
Dbytcr_rt5651.c820 int gpio_count; member
832 data->gpio_int_idx = data->gpio_count; in snd_byt_rt5651_acpi_resource()
834 data->gpio_count++; in snd_byt_rt5651_acpi_resource()