Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/iio/dac/
Dad7303.c44 struct regulator *vdd_reg; member
109 ret = regulator_get_voltage(st->vdd_reg); in ad7303_get_vref()
221 st->vdd_reg = devm_regulator_get(&spi->dev, "Vdd"); in ad7303_probe()
222 if (IS_ERR(st->vdd_reg)) in ad7303_probe()
223 return PTR_ERR(st->vdd_reg); in ad7303_probe()
225 ret = regulator_enable(st->vdd_reg); in ad7303_probe()
261 regulator_disable(st->vdd_reg); in ad7303_probe()
274 regulator_disable(st->vdd_reg); in ad7303_remove()
Dmcp4725.c41 struct regulator *vdd_reg; member
320 ret = regulator_get_voltage(data->vdd_reg); in mcp4725_read_raw()
423 data->vdd_reg = devm_regulator_get(&client->dev, "vdd"); in mcp4725_probe()
424 if (IS_ERR(data->vdd_reg)) in mcp4725_probe()
425 return PTR_ERR(data->vdd_reg); in mcp4725_probe()
427 err = regulator_enable(data->vdd_reg); in mcp4725_probe()
483 regulator_disable(data->vdd_reg); in mcp4725_probe()
497 regulator_disable(data->vdd_reg); in mcp4725_remove()
/Linux-v5.10/drivers/iio/magnetometer/
Dmag3110.c57 struct regulator *vdd_reg; member
478 data->vdd_reg = devm_regulator_get(&client->dev, "vdd"); in mag3110_probe()
479 if (IS_ERR(data->vdd_reg)) in mag3110_probe()
480 return dev_err_probe(&client->dev, PTR_ERR(data->vdd_reg), in mag3110_probe()
488 ret = regulator_enable(data->vdd_reg); in mag3110_probe()
550 regulator_disable(data->vdd_reg); in mag3110_probe()
564 regulator_disable(data->vdd_reg); in mag3110_remove()
587 ret = regulator_disable(data->vdd_reg); in mag3110_suspend()
602 ret = regulator_enable(data->vdd_reg); in mag3110_resume()
611 regulator_disable(data->vdd_reg); in mag3110_resume()
/Linux-v5.10/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()
/Linux-v5.10/drivers/clk/tegra/
Dclk-dfll.c269 struct regulator *vdd_reg; member
688 val = regulator_list_hardware_vsel(td->vdd_reg, in dfll_load_i2c_lut()
1587 n_voltages = regulator_count_voltages(td->vdd_reg); in find_vdd_map_entry_exact()
1589 reg_uV = regulator_list_voltage(td->vdd_reg, i); in find_vdd_map_entry_exact()
1615 n_voltages = regulator_count_voltages(td->vdd_reg); in find_vdd_map_entry_min()
1617 reg_uV = regulator_list_voltage(td->vdd_reg, i); in find_vdd_map_entry_min()
1752 regulator_list_voltage(td->vdd_reg, in dfll_build_i2c_lut()
1822 regmap = regulator_get_regmap(td->vdd_reg); in dfll_fetch_i2c_params()
1828 ret = regulator_get_hardware_vsel_register(td->vdd_reg, in dfll_fetch_i2c_params()
1970 td->vdd_reg = devm_regulator_get(td->dev, "vdd-cpu"); in tegra_dfll_register()
[all …]
/Linux-v5.10/drivers/iio/accel/
Dmma8452.c111 struct regulator *vdd_reg; member
1545 data->vdd_reg = devm_regulator_get(&client->dev, "vdd"); in mma8452_probe()
1546 if (IS_ERR(data->vdd_reg)) in mma8452_probe()
1547 return dev_err_probe(&client->dev, PTR_ERR(data->vdd_reg), in mma8452_probe()
1555 ret = regulator_enable(data->vdd_reg); in mma8452_probe()
1701 regulator_disable(data->vdd_reg); in mma8452_probe()
1722 regulator_disable(data->vdd_reg); in mma8452_remove()
1748 ret = regulator_disable(data->vdd_reg); in mma8452_runtime_suspend()
1763 ret = regulator_enable(data->vdd_reg); in mma8452_runtime_resume()
1772 regulator_disable(data->vdd_reg); in mma8452_runtime_resume()
[all …]
/Linux-v5.10/drivers/net/ethernet/micrel/
Dks8851_common.c1086 ks->vdd_reg = devm_regulator_get(dev, "vdd"); in ks8851_probe_common()
1087 if (IS_ERR(ks->vdd_reg)) { in ks8851_probe_common()
1088 ret = PTR_ERR(ks->vdd_reg); in ks8851_probe_common()
1092 ret = regulator_enable(ks->vdd_reg); in ks8851_probe_common()
1172 regulator_disable(ks->vdd_reg); in ks8851_probe_common()
1189 regulator_disable(priv->vdd_reg); in ks8851_remove_common()
Dks8851.h403 struct regulator *vdd_reg; member