Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/input/touchscreen/
Dgoodix.c49 struct gpio_desc *gpiod_int; member
500 error = gpiod_direction_output(ts->gpiod_int, 0); in goodix_int_sync()
506 error = gpiod_direction_input(ts->gpiod_int); in goodix_int_sync()
530 error = gpiod_direction_output(ts->gpiod_int, ts->client->addr == 0x14); in goodix_reset()
597 ts->gpiod_int = gpiod; in goodix_get_gpio_config()
883 if (ts->gpiod_int && ts->gpiod_rst) { in goodix_ts_probe()
906 if (ts->gpiod_int && ts->gpiod_rst) { in goodix_ts_probe()
937 if (ts->gpiod_int && ts->gpiod_rst) in goodix_ts_remove()
950 if (!ts->gpiod_int || !ts->gpiod_rst) { in goodix_suspend()
961 error = gpiod_direction_output(ts->gpiod_int, 0); in goodix_suspend()
[all …]
/Linux-v5.4/drivers/iio/proximity/
Dsx9500.c879 struct gpio_desc *gpiod_int; in sx9500_gpio_probe() local
893 gpiod_int = devm_gpiod_get(dev, "interrupt", GPIOD_IN); in sx9500_gpio_probe()
894 if (IS_ERR(gpiod_int)) in sx9500_gpio_probe()
897 client->irq = gpiod_to_irq(gpiod_int); in sx9500_gpio_probe()