Lines Matching refs:mpu_reg
40 static struct regulator *mpu_reg; variable
62 if (mpu_reg) { in omap_target()
72 volt_old = regulator_get_voltage(mpu_reg); in omap_target()
80 if (mpu_reg && (new_freq > old_freq)) { in omap_target()
81 r = regulator_set_voltage(mpu_reg, volt - tol, volt + tol); in omap_target()
92 if (mpu_reg && (new_freq < old_freq)) { in omap_target()
93 r = regulator_set_voltage(mpu_reg, volt - tol, volt + tol); in omap_target()
165 mpu_reg = regulator_get(mpu_dev, "vcc"); in omap_cpufreq_probe()
166 if (IS_ERR(mpu_reg)) { in omap_cpufreq_probe()
168 mpu_reg = NULL; in omap_cpufreq_probe()
174 if (regulator_get_voltage(mpu_reg) < 0) { in omap_cpufreq_probe()
177 regulator_put(mpu_reg); in omap_cpufreq_probe()
178 mpu_reg = NULL; in omap_cpufreq_probe()