Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/iio/adc/
Dti-adc12138.c46 struct regulator *vref_n; member
253 if (!IS_ERR(adc->vref_n)) { in adc12138_read_raw()
254 ret = regulator_get_voltage(adc->vref_n); in adc12138_read_raw()
266 if (!IS_ERR(adc->vref_n)) { in adc12138_read_raw()
267 *value = regulator_get_voltage(adc->vref_n); in adc12138_read_raw()
447 adc->vref_n = devm_regulator_get_optional(&spi->dev, "vref-n"); in adc12138_probe()
448 if (IS_ERR(adc->vref_n)) { in adc12138_probe()
453 ret = PTR_ERR(adc->vref_n); in adc12138_probe()
471 if (!IS_ERR(adc->vref_n)) { in adc12138_probe()
472 ret = regulator_enable(adc->vref_n); in adc12138_probe()
[all …]