/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/volt/ |
H A D | gk20a.c | 98 uv = regulator_get_voltage(volt->vdd); in gk20a_volt_vid_get() 122 int prev_uv = regulator_get_voltage(volt->vdd); in gk20a_volt_set_id() 156 uv = regulator_get_voltage(tdev->vdd); in gk20a_volt_ctor()
|
/openbmc/linux/drivers/cpufreq/ |
H A D | omap-cpufreq.c | 72 volt_old = regulator_get_voltage(mpu_reg); in omap_target() 174 if (regulator_get_voltage(mpu_reg) < 0) { in omap_cpufreq_probe()
|
H A D | mediatek-cpufreq.c | 87 pre_vproc = regulator_get_voltage(proc_reg); in mtk_cpufreq_voltage_tracking() 94 pre_vsram = regulator_get_voltage(sram_reg); in mtk_cpufreq_voltage_tracking() 219 pre_vproc = regulator_get_voltage(info->proc_reg); in mtk_cpufreq_set_target() 477 info->vproc_on_boot = regulator_get_voltage(info->proc_reg); in mtk_cpu_dvfs_info_init()
|
/openbmc/linux/drivers/mmc/core/ |
H A D | regulator.c | 83 vdd_uV = regulator_get_voltage(supply); in mmc_regulator_get_ocrmask() 155 current_uV = regulator_get_voltage(regulator); in mmc_regulator_set_voltage_if_supported()
|
/openbmc/linux/drivers/iio/dac/ |
H A D | ad8801.c | 137 ret = regulator_get_voltage(state->vrefh_reg); in ad8801_probe() 160 ret = regulator_get_voltage(state->vrefl_reg); in ad8801_probe()
|
H A D | dpot-dac.c | 70 tmp *= regulator_get_voltage(dac->vref) / 1000; in dpot_dac_read_raw() 84 *val *= regulator_get_voltage(dac->vref) / 1000; in dpot_dac_read_raw()
|
H A D | ad7303.c | 105 return regulator_get_voltage(st->vref_reg); in ad7303_get_vref() 107 ret = regulator_get_voltage(st->vdd_reg); in ad7303_get_vref()
|
H A D | ad5624r_spi.c | 238 ret = regulator_get_voltage(st->reg); in ad5624r_probe() 253 ret = regulator_get_voltage(st->reg); in ad5624r_probe()
|
H A D | ad5791.c | 359 ret = regulator_get_voltage(st->reg_vdd); in ad5791_probe() 372 ret = regulator_get_voltage(st->reg_vss); in ad5791_probe()
|
H A D | mcp4725.c | 333 ret = regulator_get_voltage(data->vdd_reg); in mcp4725_read_raw() 335 ret = regulator_get_voltage(data->vref_reg); in mcp4725_read_raw()
|
H A D | lpc18xx_dac.c | 64 *val = regulator_get_voltage(dac->vref) / 1000; in lpc18xx_dac_read_raw()
|
H A D | max5522.c | 89 ret = regulator_get_voltage(state->vrefin_reg); in max5522_read_raw()
|
H A D | mcp4922.c | 147 ret = regulator_get_voltage(state->vref_reg); in mcp4922_probe()
|
/openbmc/linux/drivers/devfreq/ |
H A D | mtk-cci-devfreq.c | 52 pre_voltage = regulator_get_voltage(drv->proc_reg); in mtk_ccifreq_set_voltage() 58 pre_vsram = regulator_get_voltage(drv->sram_reg); in mtk_ccifreq_set_voltage() 155 pre_voltage = regulator_get_voltage(drv->proc_reg); in mtk_ccifreq_target()
|
/openbmc/linux/drivers/iio/adc/ |
H A D | ti-adc12138.c | 248 ret = regulator_get_voltage(adc->vref_p); in adc12138_read_raw() 254 ret = regulator_get_voltage(adc->vref_n); in adc12138_read_raw() 267 *value = regulator_get_voltage(adc->vref_n); in adc12138_read_raw()
|
H A D | ti-ads1100.c | 138 microvolts = regulator_get_voltage(data->reg_vdd); in ads1100_set_scale() 172 return regulator_get_voltage(data->reg_vdd) / (MICRO / MILLI); in ads1100_get_vdd_millivolts()
|
H A D | max11100.c | 88 vref_uv = regulator_get_voltage(state->vref_reg); in max11100_read_raw()
|
H A D | max11205.c | 53 reg_mv = regulator_get_voltage(st->vref); in max11205_read_raw()
|
H A D | max1241.c | 94 vref_uV = regulator_get_voltage(adc->vref); in max1241_read_raw()
|
H A D | ti-ads8344.c | 118 *value = regulator_get_voltage(adc->reg); in ads8344_read_raw()
|
H A D | stm32-adc-core.c | 541 ret = regulator_get_voltage(priv->vdda); in stm32_adc_core_hw_start() 649 ret = regulator_get_voltage(priv->vdd); in stm32_adc_core_switches_probe() 776 ret = regulator_get_voltage(priv->vref); in stm32_adc_probe()
|
H A D | lpc32xx_adc.c | 91 *val = regulator_get_voltage(st->vref) / 1000; in lpc32xx_read_raw()
|
H A D | lpc18xx_adc.c | 104 *val = regulator_get_voltage(adc->vref) / 1000; in lpc18xx_adc_read_raw()
|
/openbmc/linux/drivers/input/misc/ |
H A D | twl6040-vibra.c | 151 volt = regulator_get_voltage(info->supplies[0].consumer) / 1000; in twl6040_vibra_set_effect() 157 volt = regulator_get_voltage(info->supplies[1].consumer) / 1000; in twl6040_vibra_set_effect()
|
/openbmc/linux/include/linux/regulator/ |
H A D | consumer.h | 277 int regulator_get_voltage(struct regulator *regulator); 542 static inline int regulator_get_voltage(struct regulator *regulator) in regulator_get_voltage() function
|