Home
last modified time | relevance | path

Searched refs:vddarm (Results 1 – 2 of 2) sorted by relevance

/drivers/cpufreq/
Ds3c64xx-cpufreq.c19 static struct regulator *vddarm; variable
63 if (vddarm && new_freq > old_freq) { in s3c64xx_cpufreq_set_target()
64 ret = regulator_set_voltage(vddarm, in s3c64xx_cpufreq_set_target()
83 if (vddarm && new_freq < old_freq) { in s3c64xx_cpufreq_set_target()
84 ret = regulator_set_voltage(vddarm, in s3c64xx_cpufreq_set_target()
111 count = regulator_count_voltages(vddarm); in s3c64xx_cpufreq_config_regulator()
124 v = regulator_list_voltage(vddarm, i); in s3c64xx_cpufreq_config_regulator()
158 vddarm = regulator_get(NULL, "vddarm"); in s3c64xx_cpufreq_driver_init()
159 if (IS_ERR(vddarm)) { in s3c64xx_cpufreq_driver_init()
160 pr_err("Failed to obtain VDDARM: %ld\n", PTR_ERR(vddarm)); in s3c64xx_cpufreq_driver_init()
[all …]
Ds3c2416-cpufreq.c31 struct regulator *vddarm; member
140 if (s3c_freq->vddarm) { in s3c2416_cpufreq_enter_dvs()
145 ret = regulator_set_voltage(s3c_freq->vddarm, in s3c2416_cpufreq_enter_dvs()
173 if (s3c_freq->vddarm) { in s3c2416_cpufreq_leave_dvs()
178 ret = regulator_set_voltage(s3c_freq->vddarm, in s3c2416_cpufreq_leave_dvs()
269 count = regulator_count_voltages(s3c_freq->vddarm); in s3c2416_cpufreq_cfg_regulator()
284 v = regulator_list_voltage(s3c_freq->vddarm, i); in s3c2416_cpufreq_cfg_regulator()
422 s3c_freq->vddarm = regulator_get(NULL, "vddarm"); in s3c2416_cpufreq_driver_init()
423 if (IS_ERR(s3c_freq->vddarm)) { in s3c2416_cpufreq_driver_init()
424 ret = PTR_ERR(s3c_freq->vddarm); in s3c2416_cpufreq_driver_init()