Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iio/dac/
Dad7303.c42 struct regulator *vdd_reg; member
107 ret = regulator_get_voltage(st->vdd_reg); in ad7303_get_vref()
223 st->vdd_reg = devm_regulator_get(&spi->dev, "Vdd"); in ad7303_probe()
224 if (IS_ERR(st->vdd_reg)) in ad7303_probe()
225 return PTR_ERR(st->vdd_reg); in ad7303_probe()
227 ret = regulator_enable(st->vdd_reg); in ad7303_probe()
231 ret = devm_add_action_or_reset(&spi->dev, ad7303_reg_disable, st->vdd_reg); in ad7303_probe()
Dmcp4725.c46 struct regulator *vdd_reg; member
338 ret = regulator_get_voltage(data->vdd_reg); in mcp4725_read_raw()
439 data->vdd_reg = devm_regulator_get(&client->dev, "vdd"); in mcp4725_probe()
440 if (IS_ERR(data->vdd_reg)) in mcp4725_probe()
441 return PTR_ERR(data->vdd_reg); in mcp4725_probe()
443 err = regulator_enable(data->vdd_reg); in mcp4725_probe()
499 regulator_disable(data->vdd_reg); in mcp4725_probe()
513 regulator_disable(data->vdd_reg); in mcp4725_remove()
/linux-6.12.1/drivers/iio/magnetometer/
Dmag3110.c57 struct regulator *vdd_reg; member
485 data->vdd_reg = devm_regulator_get(&client->dev, "vdd"); in mag3110_probe()
486 if (IS_ERR(data->vdd_reg)) in mag3110_probe()
487 return dev_err_probe(&client->dev, PTR_ERR(data->vdd_reg), in mag3110_probe()
495 ret = regulator_enable(data->vdd_reg); in mag3110_probe()
557 regulator_disable(data->vdd_reg); in mag3110_probe()
571 regulator_disable(data->vdd_reg); in mag3110_remove()
591 ret = regulator_disable(data->vdd_reg); in mag3110_suspend()
606 ret = regulator_enable(data->vdd_reg); in mag3110_resume()
615 regulator_disable(data->vdd_reg); in mag3110_resume()
/linux-6.12.1/drivers/opp/
Dti-opp-supply.c283 struct regulator *vdd_reg = regulators[0]; in ti_opp_config_regulators() local
308 ret = _opp_set_voltage(dev, new_supply_vdd, vdd_uv, vdd_reg, in ti_opp_config_regulators()
321 ret = _opp_set_voltage(dev, new_supply_vdd, vdd_uv, vdd_reg, in ti_opp_config_regulators()
340 ret = _opp_set_voltage(dev, old_supply_vdd, 0, vdd_reg, in ti_opp_config_regulators()
/linux-6.12.1/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 …]
/linux-6.12.1/drivers/iio/accel/
Dmma8452.c112 struct regulator *vdd_reg; member
1571 data->vdd_reg = devm_regulator_get(&client->dev, "vdd"); in mma8452_probe()
1572 if (IS_ERR(data->vdd_reg)) in mma8452_probe()
1573 return dev_err_probe(&client->dev, PTR_ERR(data->vdd_reg), in mma8452_probe()
1581 ret = regulator_enable(data->vdd_reg); in mma8452_probe()
1727 regulator_disable(data->vdd_reg); in mma8452_probe()
1747 regulator_disable(data->vdd_reg); in mma8452_remove()
1771 ret = regulator_disable(data->vdd_reg); in mma8452_runtime_suspend()
1786 ret = regulator_enable(data->vdd_reg); in mma8452_runtime_resume()
1795 regulator_disable(data->vdd_reg); in mma8452_runtime_resume()
[all …]
/linux-6.12.1/drivers/net/ethernet/micrel/
Dks8851_common.c1132 ks->vdd_reg = devm_regulator_get(dev, "vdd"); in ks8851_probe_common()
1133 if (IS_ERR(ks->vdd_reg)) { in ks8851_probe_common()
1134 ret = PTR_ERR(ks->vdd_reg); in ks8851_probe_common()
1138 ret = regulator_enable(ks->vdd_reg); in ks8851_probe_common()
1224 regulator_disable(ks->vdd_reg); in ks8851_probe_common()
1244 regulator_disable(priv->vdd_reg); in ks8851_remove_common()
Dks8851.h406 struct regulator *vdd_reg; member