Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/iio/dac/
Dad5791.c85 struct regulator *reg_vdd; member
356 st->reg_vdd = devm_regulator_get(&spi->dev, "vdd"); in ad5791_probe()
357 if (!IS_ERR(st->reg_vdd)) { in ad5791_probe()
358 ret = regulator_enable(st->reg_vdd); in ad5791_probe()
362 ret = regulator_get_voltage(st->reg_vdd); in ad5791_probe()
385 if (!IS_ERR(st->reg_vss) && !IS_ERR(st->reg_vdd)) { in ad5791_probe()
430 if (!IS_ERR(st->reg_vdd)) in ad5791_probe()
431 regulator_disable(st->reg_vdd); in ad5791_probe()
441 if (!IS_ERR(st->reg_vdd)) in ad5791_remove()
442 regulator_disable(st->reg_vdd); in ad5791_remove()
/linux-4.19.296/drivers/misc/lis3lv02d/
Dlis3lv02d_i2c.c41 static const char reg_vdd[] = "Vdd"; variable
154 lis3_dev.regulators[0].supply = reg_vdd; in lis3lv02d_i2c_probe()