Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/iio/dac/
H A Dad8801.c26 struct regulator *vrefh_reg; member
125 state->vrefh_reg = devm_regulator_get(&spi->dev, "vrefh"); in ad8801_probe()
126 if (IS_ERR(state->vrefh_reg)) { in ad8801_probe()
128 return PTR_ERR(state->vrefh_reg); in ad8801_probe()
131 ret = regulator_enable(state->vrefh_reg); in ad8801_probe()
138 ret = regulator_get_voltage(state->vrefh_reg); in ad8801_probe()
193 regulator_disable(state->vrefh_reg); in ad8801_probe()
205 regulator_disable(state->vrefh_reg); in ad8801_remove()
/kernel/linux/linux-6.6/drivers/iio/dac/
H A Dad8801.c26 struct regulator *vrefh_reg; member
125 state->vrefh_reg = devm_regulator_get(&spi->dev, "vrefh"); in ad8801_probe()
126 if (IS_ERR(state->vrefh_reg)) in ad8801_probe()
127 return dev_err_probe(&spi->dev, PTR_ERR(state->vrefh_reg), in ad8801_probe()
130 ret = regulator_enable(state->vrefh_reg); in ad8801_probe()
137 ret = regulator_get_voltage(state->vrefh_reg); in ad8801_probe()
192 regulator_disable(state->vrefh_reg); in ad8801_probe()
204 regulator_disable(state->vrefh_reg); in ad8801_remove()

Completed in 1 milliseconds