Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/iio/dac/
Dad8801.c27 struct regulator *vrefl_reg; member
147 state->vrefl_reg = devm_regulator_get(&spi->dev, "vrefl"); in ad8801_probe()
148 if (IS_ERR(state->vrefl_reg)) { in ad8801_probe()
150 ret = PTR_ERR(state->vrefl_reg); in ad8801_probe()
154 ret = regulator_enable(state->vrefl_reg); in ad8801_probe()
161 ret = regulator_get_voltage(state->vrefl_reg); in ad8801_probe()
170 state->vrefl_reg = NULL; in ad8801_probe()
190 if (state->vrefl_reg) in ad8801_probe()
191 regulator_disable(state->vrefl_reg); in ad8801_probe()
203 if (state->vrefl_reg) in ad8801_remove()
[all …]