Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/input/touchscreen/
Dgoodix.c50 struct gpio_desc *gpiod_int; member
465 error = gpiod_direction_output(ts->gpiod_int, 0); in goodix_int_sync()
471 error = gpiod_direction_input(ts->gpiod_int); in goodix_int_sync()
495 error = gpiod_direction_output(ts->gpiod_int, ts->client->addr == 0x14); in goodix_reset()
544 ts->gpiod_int = gpiod; in goodix_get_gpio_config()
789 if (ts->gpiod_int && ts->gpiod_rst) { in goodix_ts_probe()
812 if (ts->gpiod_int && ts->gpiod_rst) { in goodix_ts_probe()
843 if (ts->gpiod_int && ts->gpiod_rst) in goodix_ts_remove()
856 if (!ts->gpiod_int || !ts->gpiod_rst) { in goodix_suspend()
867 error = gpiod_direction_output(ts->gpiod_int, 0); in goodix_suspend()
[all …]
/Linux-v4.19/drivers/iio/proximity/
Dsx9500.c882 struct gpio_desc *gpiod_int; in sx9500_gpio_probe() local
896 gpiod_int = devm_gpiod_get(dev, "interrupt", GPIOD_IN); in sx9500_gpio_probe()
897 if (IS_ERR(gpiod_int)) in sx9500_gpio_probe()
900 client->irq = gpiod_to_irq(gpiod_int); in sx9500_gpio_probe()