Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/input/touchscreen/
Dgoodix.c51 struct gpio_desc *gpiod_rst; member
488 error = gpiod_direction_output(ts->gpiod_rst, 0); in goodix_reset()
501 error = gpiod_direction_output(ts->gpiod_rst, 1); in goodix_reset()
508 error = gpiod_direction_input(ts->gpiod_rst); in goodix_reset()
556 ts->gpiod_rst = 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()
899 if (!ts->gpiod_int || !ts->gpiod_rst) { in goodix_resume()
Dsurface3_spi.c34 struct gpio_desc *gpiod_rst[2]; member
217 gpiod_set_value(data->gpiod_rst[0], on); in surface3_spi_power()
218 gpiod_set_value(data->gpiod_rst[1], on); in surface3_spi_power()
250 data->gpiod_rst[i] = gpiod; in surface3_spi_get_gpio_config()
/Linux-v4.19/drivers/iio/proximity/
Dsx9500.c87 struct gpio_desc *gpiod_rst; member
835 if (data->gpiod_rst) { in sx9500_init_device()
836 gpiod_set_value_cansleep(data->gpiod_rst, 0); in sx9500_init_device()
838 gpiod_set_value_cansleep(data->gpiod_rst, 1); in sx9500_init_device()
903 data->gpiod_rst = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in sx9500_gpio_probe()
904 if (IS_ERR(data->gpiod_rst)) { in sx9500_gpio_probe()
906 data->gpiod_rst = NULL; in sx9500_gpio_probe()