Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/iio/adc/
Dti-adc12138.c45 struct regulator *vref_n; member
251 if (!IS_ERR(adc->vref_n)) { in adc12138_read_raw()
252 ret = regulator_get_voltage(adc->vref_n); in adc12138_read_raw()
264 if (!IS_ERR(adc->vref_n)) { in adc12138_read_raw()
265 *value = regulator_get_voltage(adc->vref_n); in adc12138_read_raw()
445 adc->vref_n = devm_regulator_get_optional(&spi->dev, "vref-n"); in adc12138_probe()
446 if (IS_ERR(adc->vref_n)) { in adc12138_probe()
451 ret = PTR_ERR(adc->vref_n); in adc12138_probe()
469 if (!IS_ERR(adc->vref_n)) { in adc12138_probe()
470 ret = regulator_enable(adc->vref_n); in adc12138_probe()
[all …]