Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iio/adc/
Dti-ads1100.c47 struct regulator *reg_vdd; member
138 microvolts = regulator_get_voltage(data->reg_vdd); in ads1100_set_scale()
172 return regulator_get_voltage(data->reg_vdd) / (MICRO / MILLI); in ads1100_get_vdd_millivolts()
340 data->reg_vdd = devm_regulator_get(dev, "vdd"); in ads1100_probe()
341 if (IS_ERR(data->reg_vdd)) in ads1100_probe()
342 return dev_err_probe(dev, PTR_ERR(data->reg_vdd), in ads1100_probe()
345 ret = regulator_enable(data->reg_vdd); in ads1100_probe()
350 ret = devm_add_action_or_reset(dev, ads1100_reg_disable, data->reg_vdd); in ads1100_probe()
385 regulator_disable(data->reg_vdd); in ads1100_runtime_suspend()
395 ret = regulator_enable(data->reg_vdd); in ads1100_runtime_resume()
/linux-6.12.1/drivers/iio/dac/
Dad5791.c86 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()
/linux-6.12.1/drivers/gpu/drm/panel/
Dpanel-magnachip-d53e6ea8966.c59 struct regulator *reg_vdd; member
210 ret = regulator_enable(db->reg_vdd); in d53e6ea8966_prepare()
221 regulator_disable(db->reg_vdd); in d53e6ea8966_prepare()
281 regulator_disable(db->reg_vdd); in d53e6ea8966_unprepare()
385 db->reg_vdd = devm_regulator_get(dev, "vdd"); in d53e6ea8966_probe()
386 if (IS_ERR(db->reg_vdd)) in d53e6ea8966_probe()
387 return dev_err_probe(dev, PTR_ERR(db->reg_vdd), in d53e6ea8966_probe()
/linux-6.12.1/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-core.c142 if (!priv->reg_vdd) in mcp251xfd_vdd_enable()
145 return regulator_enable(priv->reg_vdd); in mcp251xfd_vdd_enable()
150 if (!priv->reg_vdd) in mcp251xfd_vdd_disable()
153 return regulator_disable(priv->reg_vdd); in mcp251xfd_vdd_disable()
2010 struct regulator *reg_vdd, *reg_xceiver; in mcp251xfd_probe() local
2026 reg_vdd = devm_regulator_get_optional(&spi->dev, "vdd"); in mcp251xfd_probe()
2027 if (PTR_ERR(reg_vdd) == -ENODEV) in mcp251xfd_probe()
2028 reg_vdd = NULL; in mcp251xfd_probe()
2029 else if (IS_ERR(reg_vdd)) in mcp251xfd_probe()
2030 return dev_err_probe(&spi->dev, PTR_ERR(reg_vdd), in mcp251xfd_probe()
[all …]
Dmcp251xfd.h668 struct regulator *reg_vdd; member
/linux-6.12.1/drivers/misc/lis3lv02d/
Dlis3lv02d_i2c.c28 static const char reg_vdd[] = "Vdd"; variable
140 lis3_dev.regulators[0].supply = reg_vdd; in lis3lv02d_i2c_probe()