Home
last modified time | relevance | path

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

/drivers/iio/dac/
Dad7303.c42 struct regulator *vdd_reg; member
106 ret = regulator_get_voltage(st->vdd_reg); in ad7303_get_vref()
216 st->vdd_reg = devm_regulator_get(&spi->dev, "Vdd"); in ad7303_probe()
217 if (IS_ERR(st->vdd_reg)) in ad7303_probe()
218 return PTR_ERR(st->vdd_reg); in ad7303_probe()
220 ret = regulator_enable(st->vdd_reg); in ad7303_probe()
266 regulator_disable(st->vdd_reg); in ad7303_probe()
279 regulator_disable(st->vdd_reg); in ad7303_remove()
/drivers/clk/tegra/
Dclk-dfll.c271 struct regulator *vdd_reg; member
541 val = regulator_list_hardware_vsel(td->vdd_reg, in dfll_load_i2c_lut()
648 if (regulator_list_voltage(td->vdd_reg, td->i2c_lut[i]) == uv) in find_lut_index_for_rate()
1386 n_voltages = regulator_count_voltages(td->vdd_reg); in find_vdd_map_entry_exact()
1388 reg_uV = regulator_list_voltage(td->vdd_reg, i); in find_vdd_map_entry_exact()
1408 n_voltages = regulator_count_voltages(td->vdd_reg); in find_vdd_map_entry_min()
1410 reg_uV = regulator_list_voltage(td->vdd_reg, i); in find_vdd_map_entry_min()
1546 regmap = regulator_get_regmap(td->vdd_reg); in dfll_fetch_i2c_params()
1552 ret = regulator_get_hardware_vsel_register(td->vdd_reg, in dfll_fetch_i2c_params()
1633 td->vdd_reg = devm_regulator_get(td->dev, "vdd-cpu"); in tegra_dfll_register()
[all …]
/drivers/net/ethernet/micrel/
Dks8851.c139 struct regulator *vdd_reg; member
1457 ks->vdd_reg = devm_regulator_get(&spi->dev, "vdd"); in ks8851_probe()
1458 if (IS_ERR(ks->vdd_reg)) { in ks8851_probe()
1459 ret = PTR_ERR(ks->vdd_reg); in ks8851_probe()
1463 ret = regulator_enable(ks->vdd_reg); in ks8851_probe()
1573 regulator_disable(ks->vdd_reg); in ks8851_probe()
1593 regulator_disable(priv->vdd_reg); in ks8851_remove()