vref_n             45 drivers/iio/adc/ti-adc12138.c 	struct regulator *vref_n;
vref_n            245 drivers/iio/adc/ti-adc12138.c 		if (!IS_ERR(adc->vref_n)) {
vref_n            246 drivers/iio/adc/ti-adc12138.c 			ret = regulator_get_voltage(adc->vref_n);
vref_n            258 drivers/iio/adc/ti-adc12138.c 		if (!IS_ERR(adc->vref_n)) {
vref_n            259 drivers/iio/adc/ti-adc12138.c 			*value = regulator_get_voltage(adc->vref_n);
vref_n            441 drivers/iio/adc/ti-adc12138.c 	adc->vref_n = devm_regulator_get_optional(&spi->dev, "vref-n");
vref_n            442 drivers/iio/adc/ti-adc12138.c 	if (IS_ERR(adc->vref_n)) {
vref_n            447 drivers/iio/adc/ti-adc12138.c 		ret = PTR_ERR(adc->vref_n);
vref_n            465 drivers/iio/adc/ti-adc12138.c 	if (!IS_ERR(adc->vref_n)) {
vref_n            466 drivers/iio/adc/ti-adc12138.c 		ret = regulator_enable(adc->vref_n);
vref_n            490 drivers/iio/adc/ti-adc12138.c 	if (!IS_ERR(adc->vref_n))
vref_n            491 drivers/iio/adc/ti-adc12138.c 		regulator_disable(adc->vref_n);
vref_n            507 drivers/iio/adc/ti-adc12138.c 	if (!IS_ERR(adc->vref_n))
vref_n            508 drivers/iio/adc/ti-adc12138.c 		regulator_disable(adc->vref_n);