Lines Matching refs:max_spread
92 int max_spread; in tegra20_core_rtc_max_spread() local
96 max_spread = core_rdev->constraints->max_spread[i - 1]; in tegra20_core_rtc_max_spread()
99 if (rdev == rtc_rdev && max_spread) in tegra20_core_rtc_max_spread()
100 return max_spread; in tegra20_core_rtc_max_spread()
117 int max_spread; in tegra20_core_rtc_update() local
127 max_spread = tegra20_core_rtc_max_spread(core_rdev, rtc_rdev); in tegra20_core_rtc_update()
171 rtc_min_uV = max(cpu_min_uV + 125000, core_min_uV - max_spread); in tegra20_core_rtc_update()
179 core_target_uV = min(core_uV + max_spread, core_min_uV); in tegra20_core_rtc_update()
180 core_target_uV = min(rtc_uV + max_spread, core_target_uV); in tegra20_core_rtc_update()
182 core_target_uV = max(core_uV - max_spread, core_min_uV); in tegra20_core_rtc_update()
183 core_target_uV = max(rtc_uV - max_spread, core_target_uV); in tegra20_core_rtc_update()
199 rtc_target_uV = min(rtc_uV + max_spread, rtc_min_uV); in tegra20_core_rtc_update()
200 rtc_target_uV = min(core_uV + max_spread, rtc_target_uV); in tegra20_core_rtc_update()
202 rtc_target_uV = max(rtc_uV - max_spread, rtc_min_uV); in tegra20_core_rtc_update()
203 rtc_target_uV = max(core_uV - max_spread, rtc_target_uV); in tegra20_core_rtc_update()