Home
last modified time | relevance | path

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

/openbmc/linux/drivers/input/touchscreen/
H A Dads7846.c140 struct gpio_desc *gpio_pendown; member
223 return gpiod_get_value(ts->gpio_pendown); in get_pendown_state()
998 ts->gpio_pendown = gpiod_get(&spi->dev, "pendown", GPIOD_IN); in ads7846_setup_pendown()
999 if (IS_ERR(ts->gpio_pendown)) { in ads7846_setup_pendown()
1001 return PTR_ERR(ts->gpio_pendown); in ads7846_setup_pendown()
1004 gpiod_set_debounce(ts->gpio_pendown, in ads7846_setup_pendown()