Home
last modified time | relevance | path

Searched refs:gpio_int_idx (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/input/touchscreen/
H A Dgoodix.c835 if (ts->gpio_int_idx == -1) { in goodix_resource()
836 ts->gpio_int_idx = ts->gpio_count; in goodix_resource()
839 ts->gpio_int_idx = -2; in goodix_resource()
863 ts->gpio_int_idx = -1; in goodix_add_acpi_gpio_mappings()
879 if (soc_intel_is_cht() && ts->gpio_count == 2 && ts->gpio_int_idx != -1) { in goodix_add_acpi_gpio_mappings()
888 if ((ts->gpio_count == 2 || ts->gpio_count == 3) && ts->gpio_int_idx == 0) { in goodix_add_acpi_gpio_mappings()
891 } else if (ts->gpio_count == 2 && ts->gpio_int_idx == 1) { in goodix_add_acpi_gpio_mappings()
894 } else if (ts->gpio_count == 1 && ts->gpio_int_idx == -1 && in goodix_add_acpi_gpio_mappings()
900 } else if (soc_intel_is_byt() && ts->gpio_count == 2 && ts->gpio_int_idx == -1) { in goodix_add_acpi_gpio_mappings()
904 } else if (ts->gpio_count == 1 && ts->gpio_int_idx == 0) { in goodix_add_acpi_gpio_mappings()
[all …]
H A Dgoodix.h90 int gpio_int_idx; member
/openbmc/linux/drivers/bluetooth/
H A Dhci_bcm.c128 int gpio_int_idx; member
979 dev->gpio_int_idx = dev->gpio_count; in bcm_resource()
1185 dev->gpio_int_idx = -1; in bcm_acpi_probe()
1205 else if (dev->gpio_int_idx == 0) in bcm_acpi_probe()
1207 else if (dev->gpio_int_idx == 2) in bcm_acpi_probe()
1211 dev->gpio_int_idx); in bcm_acpi_probe()