Home
last modified time | relevance | path

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

/drivers/input/touchscreen/
Dsurface3_spi.c30 struct gpio_desc *gpiod_rst[2]; member
213 gpiod_set_value(data->gpiod_rst[0], on); in surface3_spi_power()
214 gpiod_set_value(data->gpiod_rst[1], on); in surface3_spi_power()
246 data->gpiod_rst[i] = gpiod; in surface3_spi_get_gpio_config()
Dgoodix.c104 struct gpio_desc *gpiod_rst; member
689 error = gpiod_direction_output(ts->gpiod_rst, 0); in goodix_reset()
702 error = gpiod_direction_output(ts->gpiod_rst, 1); in goodix_reset()
709 error = gpiod_direction_input(ts->gpiod_rst); in goodix_reset()
919 ts->gpiod_rst = gpiod; in goodix_get_gpio_config()
931 if (!ts->gpiod_int || !ts->gpiod_rst) in goodix_get_gpio_config()
935 if (!ts->gpiod_rst) in goodix_get_gpio_config()
939 if (ts->gpiod_int && ts->gpiod_rst) { in goodix_get_gpio_config()
/drivers/iio/proximity/
Dsx9500.c84 struct gpio_desc *gpiod_rst; member
829 if (data->gpiod_rst) { in sx9500_init_device()
830 gpiod_set_value_cansleep(data->gpiod_rst, 0); in sx9500_init_device()
832 gpiod_set_value_cansleep(data->gpiod_rst, 1); in sx9500_init_device()
897 data->gpiod_rst = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in sx9500_gpio_probe()
898 if (IS_ERR(data->gpiod_rst)) { in sx9500_gpio_probe()
900 data->gpiod_rst = NULL; in sx9500_gpio_probe()