Searched refs:vdd_reg (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.6/drivers/iio/dac/ |
D | ad7303.c | 42 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()
|
D | mcp4725.c | 41 struct regulator *vdd_reg; member 333 ret = regulator_get_voltage(data->vdd_reg); in mcp4725_read_raw() 436 data->vdd_reg = devm_regulator_get(&client->dev, "vdd"); in mcp4725_probe() 437 if (IS_ERR(data->vdd_reg)) in mcp4725_probe() 438 return PTR_ERR(data->vdd_reg); in mcp4725_probe() 440 err = regulator_enable(data->vdd_reg); in mcp4725_probe() 496 regulator_disable(data->vdd_reg); in mcp4725_probe() 510 regulator_disable(data->vdd_reg); in mcp4725_remove()
|
D | mcp4728.c | 87 struct regulator *vdd_reg; member 422 ret = regulator_get_voltage(data->vdd_reg); in mcp4728_init_scales_avail() 553 data->vdd_reg = devm_regulator_get(&client->dev, "vdd"); in mcp4728_probe() 554 if (IS_ERR(data->vdd_reg)) in mcp4728_probe() 555 return PTR_ERR(data->vdd_reg); in mcp4728_probe() 557 err = regulator_enable(data->vdd_reg); in mcp4728_probe() 562 data->vdd_reg); in mcp4728_probe()
|
/Linux-v6.6/drivers/iio/magnetometer/ |
D | mag3110.c | 57 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-v6.6/drivers/opp/ |
D | ti-opp-supply.c | 282 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-v6.6/drivers/clk/tegra/ |
D | clk-dfll.c | 269 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-v6.6/drivers/iio/accel/ |
D | mma8452.c | 112 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 …]
|
/Linux-v6.6/drivers/net/ethernet/micrel/ |
D | ks8851_common.c | 1150 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()
|
D | ks8851.h | 404 struct regulator *vdd_reg; member
|