Lines Matching refs:gpio_int_idx
106 int gpio_int_idx;
766 if (ts->gpio_int_idx == -1) {
767 ts->gpio_int_idx = ts->gpio_count;
770 ts->gpio_int_idx = -2;
797 ts->gpio_int_idx = -1;
807 if (ts->gpio_count == 2 && ts->gpio_int_idx == 0) {
810 } else if (ts->gpio_count == 2 && ts->gpio_int_idx == 1) {
813 } else if (ts->gpio_count == 1 && ts->gpio_int_idx == -1 &&
819 } else if (is_byt() && ts->gpio_count == 2 && ts->gpio_int_idx == -1) {
823 } else if (ts->gpio_count == 1 && ts->gpio_int_idx == 0) {
843 dev_warn(dev, "Unexpected ACPI resources: gpio_count %d, gpio_int_idx %d\n",
844 ts->gpio_count, ts->gpio_int_idx);