Searched refs:vref_n (Results 1 – 1 of 1) sorted by relevance
45 struct regulator *vref_n; member251 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 …]