Home
last modified time | relevance | path

Searched refs:attn_gpio (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/input/touchscreen/
H A Deeti_ts.c29 struct gpio_desc *attn_gpio; member
101 if (eeti->attn_gpio && in eeti_ts_isr()
102 !gpiod_get_value_cansleep(eeti->attn_gpio)) { in eeti_ts_isr()
110 } while (eeti->running && eeti->attn_gpio); in eeti_ts_isr()
128 if (eeti->attn_gpio && gpiod_get_value_cansleep(eeti->attn_gpio)) in eeti_ts_start()
205 eeti->attn_gpio = devm_gpiod_get_optional(dev, "attn", GPIOD_IN); in eeti_ts_probe()
206 if (IS_ERR(eeti->attn_gpio)) in eeti_ts_probe()
207 return PTR_ERR(eeti->attn_gpio); in eeti_ts_probe()
H A Dsis_i2c.c98 struct gpio_desc *attn_gpio; member
282 } while (ts->attn_gpio && gpiod_get_value_cansleep(ts->attn_gpio)); in sis_ts_irq_handler()
311 ts->attn_gpio = devm_gpiod_get_optional(&client->dev, in sis_ts_probe()
313 if (IS_ERR(ts->attn_gpio)) in sis_ts_probe()
314 return dev_err_probe(&client->dev, PTR_ERR(ts->attn_gpio), in sis_ts_probe()