Home
last modified time | relevance | path

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

/linux/drivers/soc/tegra/
H A Dregulators-tegra30.c174 int core_target_uV; in tegra30_voltage_update() local
316 core_target_uV = max(core_min_limited_uV, core_min_uV); in tegra30_voltage_update()
318 if (core_uV < core_target_uV) { in tegra30_voltage_update()
319 core_target_uV = min(core_target_uV, core_uV + core_max_step); in tegra30_voltage_update()
320 core_target_uV = min(core_target_uV, cpu_uV + max_spread); in tegra30_voltage_update()
322 core_target_uV = max(core_target_uV, core_uV - core_max_step); in tegra30_voltage_update()
325 if (core_uV == core_target_uV) in tegra30_voltage_update()
329 core_target_uV, in tegra30_voltage_update()
335 core_uV = core_target_uV; in tegra30_voltage_update()
H A Dregulators-tegra20.c142 int core_target_uV; in tegra20_core_rtc_update() local
211 core_target_uV = min(core_uV + max_spread, core_min_uV); in tegra20_core_rtc_update()
212 core_target_uV = min(rtc_uV + max_spread, core_target_uV); in tegra20_core_rtc_update()
214 core_target_uV = max(core_uV - max_spread, core_min_uV); in tegra20_core_rtc_update()
215 core_target_uV = max(rtc_uV - max_spread, core_target_uV); in tegra20_core_rtc_update()
218 if (core_uV == core_target_uV) in tegra20_core_rtc_update()
222 core_target_uV, in tegra20_core_rtc_update()
228 core_uV = core_target_uV; in tegra20_core_rtc_update()