Home
last modified time | relevance | path

Searched refs:vdd_reg (Results 1 – 9 of 9) sorted by relevance

/drivers/iio/dac/
Dad7303.c42 struct regulator *vdd_reg; member
107 ret = regulator_get_voltage(st->vdd_reg); in ad7303_get_vref()
219 st->vdd_reg = devm_regulator_get(&spi->dev, "Vdd"); in ad7303_probe()
220 if (IS_ERR(st->vdd_reg)) in ad7303_probe()
221 return PTR_ERR(st->vdd_reg); in ad7303_probe()
223 ret = regulator_enable(st->vdd_reg); in ad7303_probe()
259 regulator_disable(st->vdd_reg); in ad7303_probe()
272 regulator_disable(st->vdd_reg); in ad7303_remove()
Dmcp4725.c41 struct regulator *vdd_reg; member
332 ret = regulator_get_voltage(data->vdd_reg); in mcp4725_read_raw()
435 data->vdd_reg = devm_regulator_get(&client->dev, "vdd"); in mcp4725_probe()
436 if (IS_ERR(data->vdd_reg)) in mcp4725_probe()
437 return PTR_ERR(data->vdd_reg); in mcp4725_probe()
439 err = regulator_enable(data->vdd_reg); in mcp4725_probe()
495 regulator_disable(data->vdd_reg); in mcp4725_probe()
509 regulator_disable(data->vdd_reg); in mcp4725_remove()
/drivers/iio/magnetometer/
Dmag3110.c57 struct regulator *vdd_reg; member
483 data->vdd_reg = devm_regulator_get(&client->dev, "vdd"); in mag3110_probe()
484 if (IS_ERR(data->vdd_reg)) in mag3110_probe()
485 return dev_err_probe(&client->dev, PTR_ERR(data->vdd_reg), in mag3110_probe()
493 ret = regulator_enable(data->vdd_reg); in mag3110_probe()
555 regulator_disable(data->vdd_reg); in mag3110_probe()
569 regulator_disable(data->vdd_reg); in mag3110_remove()
592 ret = regulator_disable(data->vdd_reg); in mag3110_suspend()
607 ret = regulator_enable(data->vdd_reg); in mag3110_resume()
616 regulator_disable(data->vdd_reg); in mag3110_resume()
/drivers/opp/
Dti-opp-supply.c285 struct regulator *vdd_reg = data->regulators[0]; in ti_opp_supply_set_opp() local
298 ret = _opp_set_voltage(dev, new_supply_vdd, vdd_uv, vdd_reg, in ti_opp_supply_set_opp()
325 ret = _opp_set_voltage(dev, new_supply_vdd, vdd_uv, vdd_reg, in ti_opp_supply_set_opp()
345 ret = _opp_set_voltage(dev, old_supply_vdd, 0, vdd_reg, in ti_opp_supply_set_opp()
/drivers/clk/tegra/
Dclk-dfll.c269 struct regulator *vdd_reg; member
689 val = regulator_list_hardware_vsel(td->vdd_reg, in dfll_load_i2c_lut()
1592 n_voltages = regulator_count_voltages(td->vdd_reg); in find_vdd_map_entry_exact()
1594 reg_uV = regulator_list_voltage(td->vdd_reg, i); in find_vdd_map_entry_exact()
1620 n_voltages = regulator_count_voltages(td->vdd_reg); in find_vdd_map_entry_min()
1622 reg_uV = regulator_list_voltage(td->vdd_reg, i); in find_vdd_map_entry_min()
1757 regulator_list_voltage(td->vdd_reg, in dfll_build_i2c_lut()
1827 regmap = regulator_get_regmap(td->vdd_reg); in dfll_fetch_i2c_params()
1833 ret = regulator_get_hardware_vsel_register(td->vdd_reg, in dfll_fetch_i2c_params()
1981 td->vdd_reg = devm_regulator_get(td->dev, "vdd-cpu"); in tegra_dfll_register()
[all …]
/drivers/iio/accel/
Dmma8452.c111 struct regulator *vdd_reg; member
1555 data->vdd_reg = devm_regulator_get(&client->dev, "vdd"); in mma8452_probe()
1556 if (IS_ERR(data->vdd_reg)) in mma8452_probe()
1557 return dev_err_probe(&client->dev, PTR_ERR(data->vdd_reg), in mma8452_probe()
1565 ret = regulator_enable(data->vdd_reg); in mma8452_probe()
1711 regulator_disable(data->vdd_reg); in mma8452_probe()
1731 regulator_disable(data->vdd_reg); in mma8452_remove()
1757 ret = regulator_disable(data->vdd_reg); in mma8452_runtime_suspend()
1772 ret = regulator_enable(data->vdd_reg); in mma8452_runtime_resume()
1781 regulator_disable(data->vdd_reg); in mma8452_runtime_resume()
[all …]
Dfxls8962af-core.c147 struct regulator *vdd_reg; member
762 regulator_disable(data->vdd_reg); in fxls8962af_regulator_disable()
877 data->vdd_reg = devm_regulator_get(dev, "vdd"); in fxls8962af_core_probe()
878 if (IS_ERR(data->vdd_reg)) in fxls8962af_core_probe()
879 return dev_err_probe(dev, PTR_ERR(data->vdd_reg), in fxls8962af_core_probe()
882 ret = regulator_enable(data->vdd_reg); in fxls8962af_core_probe()
/drivers/net/ethernet/micrel/
Dks8851_common.c1150 ks->vdd_reg = devm_regulator_get(dev, "vdd"); in ks8851_probe_common()
1151 if (IS_ERR(ks->vdd_reg)) { in ks8851_probe_common()
1152 ret = PTR_ERR(ks->vdd_reg); in ks8851_probe_common()
1156 ret = regulator_enable(ks->vdd_reg); in ks8851_probe_common()
1242 regulator_disable(ks->vdd_reg); in ks8851_probe_common()
1262 regulator_disable(priv->vdd_reg); in ks8851_remove_common()
Dks8851.h407 struct regulator *vdd_reg; member