Searched refs:reg_vdd (Results 1 – 5 of 5) 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()
142 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()1990 struct regulator *reg_vdd, *reg_xceiver; in mcp251xfd_probe() local2006 reg_vdd = devm_regulator_get_optional(&spi->dev, "vdd"); in mcp251xfd_probe()2007 if (PTR_ERR(reg_vdd) == -ENODEV) in mcp251xfd_probe()2008 reg_vdd = NULL; in mcp251xfd_probe()2009 else if (IS_ERR(reg_vdd)) in mcp251xfd_probe()2010 return dev_err_probe(&spi->dev, PTR_ERR(reg_vdd), in mcp251xfd_probe()[all …]
652 struct regulator *reg_vdd; member
28 static const char reg_vdd[] = "Vdd"; variable141 lis3_dev.regulators[0].supply = reg_vdd; in lis3lv02d_i2c_probe()