Home
last modified time | relevance | path

Searched refs:regulator_get_voltage (Results 1 – 25 of 85) sorted by relevance

1234

/linux/drivers/gpu/drm/nouveau/nvkm/subdev/volt/
H A Dgk20a.c98 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()
/linux/drivers/cpufreq/
H A Domap-cpufreq.c69 volt_old = regulator_get_voltage(mpu_reg); in omap_target()
170 if (regulator_get_voltage(mpu_reg) < 0) { in omap_cpufreq_probe()
H A Dmediatek-cpufreq.c87 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()
479 info->vproc_on_boot = regulator_get_voltage(info->proc_reg); in mtk_cpu_dvfs_info_init()
/linux/drivers/iio/dac/
H A Dad8801.c
H A Dad7303.c105 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 Dmcp4725.c338 ret = regulator_get_voltage(data->vdd_reg); in mcp4725_read_raw()
340 ret = regulator_get_voltage(data->vref_reg); in mcp4725_read_raw()
H A Dmax5522.c89 ret = regulator_get_voltage(state->vrefin_reg); in max5522_read_raw()
/linux/drivers/mmc/core/
H A Dregulator.c83 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()
/linux/drivers/devfreq/
H A Dmtk-cci-devfreq.c52 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()
156 pre_voltage = regulator_get_voltage(drv->proc_reg); in mtk_ccifreq_target()
/linux/drivers/iio/adc/
H A Dti-adc12138.c248 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 Dti-ads1100.c138 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 Dmax11100.c88 vref_uv = regulator_get_voltage(state->vref_reg); in max11100_read_raw()
H A Dsd_adc_modulator.c131 ret = regulator_get_voltage(vref); in iio_sd_mod_probe()
H A Dmax11205.c53 reg_mv = regulator_get_voltage(st->vref); in max11205_read_raw()
H A Dmax1241.c94 vref_uV = regulator_get_voltage(adc->vref); in max1241_read_raw()
H A Dti-ads8344.c118 *value = regulator_get_voltage(adc->reg); in ads8344_read_raw()
H A Dti-adc128s052.c78 ret = regulator_get_voltage(adc->reg); in adc128_read_raw()
H A Dlpc18xx_adc.c104 *val = regulator_get_voltage(adc->vref) / 1000; in lpc18xx_adc_read_raw()
H A Dti-adc081c.c63 err = regulator_get_voltage(adc->ref); in adc081c_read_raw()
H A Dlpc32xx_adc.c91 *val = regulator_get_voltage(st->vref) / 1000; in lpc32xx_read_raw()
H A Dmax1118.c127 vref_uV = regulator_get_voltage(adc->reg); in max1118_get_vref_mV()
H A Dti-adc161s626.c148 ret = regulator_get_voltage(data->ref); in ti_adc_read_raw()
/linux/drivers/input/misc/
H A Dtwl6040-vibra.c151 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()
/linux/include/linux/regulator/
H A Dconsumer.h231 int regulator_get_voltage(struct regulator *regulator);
502 static inline int regulator_get_voltage(struct regulator *regulator) in regulator_get_voltage() function
/linux/drivers/hwmon/
H A Dads7828.c130 vref_uv = regulator_get_voltage(reg); in ads7828_probe()

1234