Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/iio/adc/
H A Dad7816.c48 struct gpio_desc *convert_pin; member
80 gpiod_set_value(chip->convert_pin, 1); in ad7816_spi_read()
81 gpiod_set_value(chip->convert_pin, 0); in ad7816_spi_read()
83 gpiod_set_value(chip->convert_pin, 0); in ad7816_spi_read()
84 gpiod_set_value(chip->convert_pin, 1); in ad7816_spi_read()
377 chip->convert_pin = devm_gpiod_get(&spi_dev->dev, "convert", in ad7816_probe()
379 if (IS_ERR(chip->convert_pin)) { in ad7816_probe()
380 ret = PTR_ERR(chip->convert_pin); in ad7816_probe()