Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/adc/
H A Dad7606.c424 st->gpio_standby = devm_gpiod_get_optional(dev, "standby", in ad7606_request_gpios()
426 if (IS_ERR(st->gpio_standby)) in ad7606_request_gpios()
427 return PTR_ERR(st->gpio_standby); in ad7606_request_gpios()
666 if (st->gpio_standby) { in ad7606_suspend()
668 gpiod_set_value(st->gpio_standby, 1); in ad7606_suspend()
679 if (st->gpio_standby) { in ad7606_resume()
681 gpiod_set_value(st->gpio_standby, 1); in ad7606_resume()
H A Dad7606.h110 struct gpio_desc *gpio_standby; member