Home
last modified time | relevance | path

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

/linux-6.1.9/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.c41 struct regulator *vdd_reg; member
321 ret = regulator_get_voltage(data->vdd_reg); in mcp4725_read_raw()
424 data->vdd_reg = devm_regulator_get(&client->dev, "vdd"); in mcp4725_probe()
425 if (IS_ERR(data->vdd_reg)) in mcp4725_probe()
426 return PTR_ERR(data->vdd_reg); in mcp4725_probe()
428 err = regulator_enable(data->vdd_reg); in mcp4725_probe()
484 regulator_disable(data->vdd_reg); in mcp4725_probe()
498 regulator_disable(data->vdd_reg); in mcp4725_remove()
/linux-6.1.9/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.1.9/drivers/opp/
Dti-opp-supply.c282 struct regulator *vdd_reg = regulators[0]; in ti_opp_config_regulators() local
307 ret = _opp_set_voltage(dev, new_supply_vdd, vdd_uv, vdd_reg, in ti_opp_config_regulators()
320 ret = _opp_set_voltage(dev, new_supply_vdd, vdd_uv, vdd_reg, in ti_opp_config_regulators()
339 ret = _opp_set_voltage(dev, old_supply_vdd, 0, vdd_reg, in ti_opp_config_regulators()
/linux-6.1.9/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.1.9/drivers/iio/accel/
Dmma8452.c112 struct regulator *vdd_reg; member
1577 data->vdd_reg = devm_regulator_get(&client->dev, "vdd"); in mma8452_probe()
1578 if (IS_ERR(data->vdd_reg)) in mma8452_probe()
1579 return dev_err_probe(&client->dev, PTR_ERR(data->vdd_reg), in mma8452_probe()
1587 ret = regulator_enable(data->vdd_reg); in mma8452_probe()
1733 regulator_disable(data->vdd_reg); in mma8452_probe()
1753 regulator_disable(data->vdd_reg); in mma8452_remove()
1777 ret = regulator_disable(data->vdd_reg); in mma8452_runtime_suspend()
1792 ret = regulator_enable(data->vdd_reg); in mma8452_runtime_resume()
1801 regulator_disable(data->vdd_reg); in mma8452_runtime_resume()
[all …]
Dfxls8962af-core.c162 struct regulator *vdd_reg; member
1058 regulator_disable(data->vdd_reg); in fxls8962af_regulator_disable()
1174 data->vdd_reg = devm_regulator_get(dev, "vdd"); in fxls8962af_core_probe()
1175 if (IS_ERR(data->vdd_reg)) in fxls8962af_core_probe()
1176 return dev_err_probe(dev, PTR_ERR(data->vdd_reg), in fxls8962af_core_probe()
1179 ret = regulator_enable(data->vdd_reg); in fxls8962af_core_probe()
/linux-6.1.9/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.h404 struct regulator *vdd_reg; member
/linux-6.1.9/Documentation/devicetree/bindings/iio/light/
Ddynaimage,al3010.yaml42 vdd-supply = <&vdd_reg>;
Ddynaimage,al3320a.yaml42 vdd-supply = <&vdd_reg>;