Home
last modified time | relevance | path

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

/linux/drivers/iio/adc/
H A Dad4000.c218 struct gpio_desc *cnv_gpio; member
320 gpiod_set_value_cansleep(st->cnv_gpio, 1); in ad4000_convert_and_acquire()
322 gpiod_set_value_cansleep(st->cnv_gpio, 0); in ad4000_convert_and_acquire()
575 st->cnv_gpio = devm_gpiod_get_optional(dev, "cnv", GPIOD_OUT_HIGH); in ad4000_probe()
576 if (IS_ERR(st->cnv_gpio)) in ad4000_probe()
577 return dev_err_probe(dev, PTR_ERR(st->cnv_gpio), in ad4000_probe()
H A Dad4695.c978 struct gpio_desc *cnv_gpio; in ad4695_probe() local
983 cnv_gpio = devm_gpiod_get_optional(dev, "cnv", GPIOD_OUT_LOW); in ad4695_probe()
984 if (IS_ERR(cnv_gpio)) in ad4695_probe()
985 return dev_err_probe(dev, PTR_ERR(cnv_gpio), in ad4695_probe()
989 if (cnv_gpio) in ad4695_probe()