Lines Matching full:reg_vdd
74 * @reg_vdd: positive supply regulator
86 struct regulator *reg_vdd; member
354 st->reg_vdd = devm_regulator_get(&spi->dev, "vdd"); in ad5791_probe()
355 if (!IS_ERR(st->reg_vdd)) { in ad5791_probe()
356 ret = regulator_enable(st->reg_vdd); in ad5791_probe()
360 ret = regulator_get_voltage(st->reg_vdd); in ad5791_probe()
389 if (!IS_ERR(st->reg_vss) && !IS_ERR(st->reg_vdd)) { in ad5791_probe()
433 if (!IS_ERR(st->reg_vdd)) in ad5791_probe()
434 regulator_disable(st->reg_vdd); in ad5791_probe()
444 if (!IS_ERR(st->reg_vdd)) in ad5791_remove()
445 regulator_disable(st->reg_vdd); in ad5791_remove()