Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/drivers/iio/dac/
Dad5791.c86 struct regulator *reg_vdd; member
353 st->reg_vdd = devm_regulator_get(&spi->dev, "vdd"); in ad5791_probe()
354 if (!IS_ERR(st->reg_vdd)) { in ad5791_probe()
355 ret = regulator_enable(st->reg_vdd); in ad5791_probe()
359 ret = regulator_get_voltage(st->reg_vdd); in ad5791_probe()
382 if (!IS_ERR(st->reg_vss) && !IS_ERR(st->reg_vdd)) { in ad5791_probe()
426 if (!IS_ERR(st->reg_vdd)) in ad5791_probe()
427 regulator_disable(st->reg_vdd); in ad5791_probe()
437 if (!IS_ERR(st->reg_vdd)) in ad5791_remove()
438 regulator_disable(st->reg_vdd); in ad5791_remove()
/Linux-v6.6/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-v6.6/drivers/input/touchscreen/
Dzforce_ts.c112 struct regulator *reg_vdd; member
704 if (!IS_ERR(ts->reg_vdd)) in zforce_reset()
705 regulator_disable(ts->reg_vdd); in zforce_reset()
797 ts->reg_vdd = devm_regulator_get_optional(&client->dev, "vdd"); in zforce_probe()
798 if (IS_ERR(ts->reg_vdd)) { in zforce_probe()
799 ret = PTR_ERR(ts->reg_vdd); in zforce_probe()
803 ret = regulator_enable(ts->reg_vdd); in zforce_probe()
820 if (!IS_ERR(ts->reg_vdd)) in zforce_probe()
821 regulator_disable(ts->reg_vdd); in zforce_probe()
/Linux-v6.6/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()
1996 struct regulator *reg_vdd, *reg_xceiver; in mcp251xfd_probe() local
2012 reg_vdd = devm_regulator_get_optional(&spi->dev, "vdd"); in mcp251xfd_probe()
2013 if (PTR_ERR(reg_vdd) == -ENODEV) in mcp251xfd_probe()
2014 reg_vdd = NULL; in mcp251xfd_probe()
2015 else if (IS_ERR(reg_vdd)) in mcp251xfd_probe()
2016 return dev_err_probe(&spi->dev, PTR_ERR(reg_vdd), in mcp251xfd_probe()
[all …]
Dmcp251xfd.h658 struct regulator *reg_vdd; member
/Linux-v6.6/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()