Home
last modified time | relevance | path

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

/openbmc/linux/drivers/soc/tegra/
H A Dregulators-tegra20.c145 int core_uV; in tegra20_core_rtc_update() local
179 core_uV = regulator_get_voltage_rdev(core_rdev); in tegra20_core_rtc_update()
180 if (core_uV < 0) in tegra20_core_rtc_update()
181 return core_uV; in tegra20_core_rtc_update()
187 if (cpu_uV + 120000 > core_uV) in tegra20_core_rtc_update()
189 core_uV, cpu_uV + 120000); in tegra20_core_rtc_update()
199 if (abs(core_uV - rtc_uV) > 170000) in tegra20_core_rtc_update()
201 core_uV, rtc_uV); in tegra20_core_rtc_update()
210 if (core_uV < core_min_uV) { in tegra20_core_rtc_update()
218 if (core_uV == core_target_uV) in tegra20_core_rtc_update()
[all …]
H A Dregulators-tegra30.c179 int core_uV; in tegra30_voltage_update() local
226 core_uV = regulator_get_voltage_rdev(core_rdev); in tegra30_voltage_update()
227 if (core_uV < 0) in tegra30_voltage_update()
228 return core_uV; in tegra30_voltage_update()
286 if (core_min_limited_uV > core_uV) { in tegra30_voltage_update()
288 core_uV, core_min_limited_uV, cpu_uV); in tegra30_voltage_update()
292 while (cpu_uV != cpu_min_uV || core_uV != core_min_uV) { in tegra30_voltage_update()
297 cpu_target_uV = max(core_uV - max_spread, cpu_target_uV); in tegra30_voltage_update()
318 if (core_uV < core_target_uV) { in tegra30_voltage_update()
325 if (core_uV == core_target_uV) in tegra30_voltage_update()
[all …]