Home
last modified time | relevance | path

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

/openbmc/linux/drivers/input/touchscreen/
H A Dhimax_hx83112b.c53 struct gpio_desc *gpiod_rst; member
87 gpiod_set_value_cansleep(ts->gpiod_rst, 1); in himax_reset()
91 gpiod_set_value_cansleep(ts->gpiod_rst, 0); in himax_reset()
293 ts->gpiod_rst = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in himax_probe()
294 error = PTR_ERR_OR_ZERO(ts->gpiod_rst); in himax_probe()
H A Dsurface3_spi.c30 struct gpio_desc *gpiod_rst[2]; member
211 gpiod_set_value(data->gpiod_rst[0], on); in surface3_spi_power()
212 gpiod_set_value(data->gpiod_rst[1], on); in surface3_spi_power()
237 data->gpiod_rst[i] = gpiod; in surface3_spi_get_gpio_config()
H A Dgoodix.c754 error = gpiod_direction_output(ts->gpiod_rst, 0); in goodix_reset_no_int_sync()
767 error = gpiod_direction_output(ts->gpiod_rst, 1); in goodix_reset_no_int_sync()
779 error = gpiod_direction_input(ts->gpiod_rst); in goodix_reset_no_int_sync()
1001 ts->gpiod_rst = gpiod; in goodix_get_gpio_config()
1013 if (!ts->gpiod_int || !ts->gpiod_rst) in goodix_get_gpio_config()
1017 if (!ts->gpiod_rst) in goodix_get_gpio_config()
1021 if (ts->gpiod_int && ts->gpiod_rst) { in goodix_get_gpio_config()
H A Dgoodix.h88 struct gpio_desc *gpiod_rst; member
/openbmc/linux/drivers/iio/proximity/
H A 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()