Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/iio/adc/
Dad7606.c447 st->gpio_standby = devm_gpiod_get_optional(dev, "standby", in ad7606_request_gpios()
449 if (IS_ERR(st->gpio_standby)) in ad7606_request_gpios()
450 return PTR_ERR(st->gpio_standby); in ad7606_request_gpios()
705 if (st->gpio_standby) { in ad7606_suspend()
707 gpiod_set_value(st->gpio_standby, 0); in ad7606_suspend()
718 if (st->gpio_standby) { in ad7606_resume()
720 gpiod_set_value(st->gpio_standby, 1); in ad7606_resume()
Dad7606.h112 struct gpio_desc *gpio_standby; member