Searched refs:gpio_count (Results 1 – 10 of 10) sorted by relevance
/linux-6.3-rc2/arch/mips/lantiq/xway/ |
A D | vmmc.c | 30 int gpio_count; in vmmc_probe() local 38 gpio_count = gpiod_count(&pdev->dev, NULL); in vmmc_probe() 39 while (gpio_count > 0) { in vmmc_probe() 41 NULL, --gpio_count, GPIOD_OUT_HIGH); in vmmc_probe() 46 gpio_count, error); in vmmc_probe()
|
/linux-6.3-rc2/drivers/hsi/clients/ |
A D | nokia-modem.c | 75 int gpio_count, gpio_name_count, i, err; in nokia_modem_gpio_probe() local 77 gpio_count = gpiod_count(dev, NULL); in nokia_modem_gpio_probe() 78 if (gpio_count < 0) { in nokia_modem_gpio_probe() 79 dev_err(dev, "missing gpios: %d\n", gpio_count); in nokia_modem_gpio_probe() 80 return gpio_count; in nokia_modem_gpio_probe() 85 if (gpio_count != gpio_name_count) { in nokia_modem_gpio_probe() 90 modem->gpios = devm_kcalloc(dev, gpio_count, sizeof(*modem->gpios), in nokia_modem_gpio_probe() 95 modem->gpio_amount = gpio_count; in nokia_modem_gpio_probe() 97 for (i = 0; i < gpio_count; i++) { in nokia_modem_gpio_probe()
|
/linux-6.3-rc2/drivers/input/rmi4/ |
A D | rmi_f3a.c | 25 u8 gpio_count; member 85 for (i = 0; i < f3a->gpio_count; i++) in rmi_f3a_attention() 132 int button_count = min_t(u8, f3a->gpio_count, TRACKSTICK_RANGE_END); in rmi_f3a_map_gpios() 159 input->keycodemax = f3a->gpio_count; in rmi_f3a_map_gpios() 181 f3a->gpio_count = buf & RMI_F3A_GPIO_COUNT; in rmi_f3a_initialize() 182 f3a->register_count = DIV_ROUND_UP(f3a->gpio_count, 8); in rmi_f3a_initialize()
|
/linux-6.3-rc2/include/linux/spi/ |
A D | tle62x0.h | 11 unsigned int gpio_count; member
|
/linux-6.3-rc2/drivers/input/touchscreen/ |
A D | goodix.c | 828 ts->gpio_int_idx = ts->gpio_count; in goodix_resource() 833 ts->gpio_count++; in goodix_resource() 835 ts->gpio_count++; in goodix_resource() 854 ts->gpio_count = 0; in goodix_add_acpi_gpio_mappings() 871 if (soc_intel_is_cht() && ts->gpio_count == 2 && ts->gpio_int_idx != -1) { in goodix_add_acpi_gpio_mappings() 879 if (ts->gpio_count == 2 && ts->gpio_int_idx == 0) { in goodix_add_acpi_gpio_mappings() 882 } else if (ts->gpio_count == 2 && ts->gpio_int_idx == 1) { in goodix_add_acpi_gpio_mappings() 885 } else if (ts->gpio_count == 1 && ts->gpio_int_idx == -1 && in goodix_add_acpi_gpio_mappings() 891 } else if (soc_intel_is_byt() && ts->gpio_count == 2 && ts->gpio_int_idx == -1) { in goodix_add_acpi_gpio_mappings() 897 ts->gpio_count, ts->gpio_int_idx); in goodix_add_acpi_gpio_mappings()
|
A D | goodix.h | 89 int gpio_count; member
|
/linux-6.3-rc2/sound/soc/codecs/ |
A D | tlv320adcx140.c | 921 int gpio_count = 0; in adcx140_configure_gpio() local 926 gpio_count = device_property_count_u32(adcx140->dev, in adcx140_configure_gpio() 928 if (gpio_count <= 0) in adcx140_configure_gpio() 931 if (gpio_count != ADCX140_NUM_GPIO_CFGS) in adcx140_configure_gpio() 935 gpio_outputs, gpio_count); in adcx140_configure_gpio()
|
/linux-6.3-rc2/drivers/spi/ |
A D | spi-tle62x0.c | 257 st->nr_gpio = pdata->gpio_count; in tle62x0_probe() 268 for (ptr = 0; ptr < pdata->gpio_count; ptr++) { in tle62x0_probe()
|
/linux-6.3-rc2/drivers/bluetooth/ |
A D | hci_bcm.c | 125 int gpio_count; member 957 dev->gpio_int_idx = dev->gpio_count; in bcm_resource() 960 dev->gpio_count++; in bcm_resource() 1192 if (dev->gpio_count != (dev->irq ? 2 : 3)) in bcm_acpi_probe() 1194 dev->gpio_count); in bcm_acpi_probe()
|
/linux-6.3-rc2/drivers/scsi/mpi3mr/mpi/ |
A D | mpi30_cnfg.h | 907 u8 gpio_count; member
|
Completed in 45 milliseconds