Home
last modified time | relevance | path

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

/linux/drivers/iio/dac/
A 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/drivers/input/touchscreen/
A 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()
798 ts->reg_vdd = devm_regulator_get_optional(&client->dev, "vdd"); in zforce_probe()
799 if (IS_ERR(ts->reg_vdd)) { in zforce_probe()
800 ret = PTR_ERR(ts->reg_vdd); in zforce_probe()
804 ret = regulator_enable(ts->reg_vdd); in zforce_probe()
821 if (!IS_ERR(ts->reg_vdd)) in zforce_probe()
822 regulator_disable(ts->reg_vdd); in zforce_probe()
/linux/drivers/misc/lis3lv02d/
A Dlis3lv02d_i2c.c28 static const char reg_vdd[] = "Vdd"; variable
141 lis3_dev.regulators[0].supply = reg_vdd; in lis3lv02d_i2c_probe()
/linux/drivers/net/can/spi/mcp251xfd/
A Dmcp251xfd-core.c119 if (!priv->reg_vdd) in mcp251xfd_vdd_enable()
122 return regulator_enable(priv->reg_vdd); in mcp251xfd_vdd_enable()
127 if (!priv->reg_vdd) in mcp251xfd_vdd_disable()
130 return regulator_disable(priv->reg_vdd); in mcp251xfd_vdd_disable()
2864 struct regulator *reg_vdd, *reg_xceiver; in mcp251xfd_probe() local
2879 reg_vdd = devm_regulator_get_optional(&spi->dev, "vdd"); in mcp251xfd_probe()
2880 if (PTR_ERR(reg_vdd) == -ENODEV) in mcp251xfd_probe()
2881 reg_vdd = NULL; in mcp251xfd_probe()
2882 else if (IS_ERR(reg_vdd)) in mcp251xfd_probe()
2883 return dev_err_probe(&spi->dev, PTR_ERR(reg_vdd), in mcp251xfd_probe()
[all …]
A Dmcp251xfd.h610 struct regulator *reg_vdd; member
/linux/Documentation/devicetree/bindings/media/i2c/
A Daptina,mt9p031.yaml95 vdd-supply = <&reg_vdd>;

Completed in 22 milliseconds