Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/iio/adc/
H A 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()
448 * Assume vref_n is 0V if an optional regulator is not in adc12138_probe()
451 ret = PTR_ERR(adc->vref_n); in adc12138_probe()
469 if (!IS_ERR(adc->vref_n)) { in adc12138_probe()
[all...]
/kernel/linux/linux-6.6/drivers/iio/adc/
H A 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()
450 * Assume vref_n is 0V if an optional regulator is not in adc12138_probe()
453 ret = PTR_ERR(adc->vref_n); in adc12138_probe()
471 if (!IS_ERR(adc->vref_n)) { in adc12138_probe()
[all...]

Completed in 2 milliseconds