Searched refs:reg_vdd (Results 1 – 6 of 6) sorted by relevance
86 struct regulator *reg_vdd; member353 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()
112 struct regulator *reg_vdd; member704 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()
28 static const char reg_vdd[] = "Vdd"; variable141 lis3_dev.regulators[0].supply = reg_vdd; in lis3lv02d_i2c_probe()
119 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() local2879 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 …]
610 struct regulator *reg_vdd; member
95 vdd-supply = <®_vdd>;
Completed in 22 milliseconds