Home
last modified time | relevance | path

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

/openbmc/linux/drivers/soc/tegra/
H A Dregulators-tegra30.c30 int core_min_uV, cpu_min_uV; member
171 int cpu_min_uV, cpu_max_uV = INT_MAX; in tegra30_voltage_update() local
230 cpu_min_uV = core_min_uV - max_spread; in tegra30_voltage_update()
251 if (!tegra->cpu_min_uV) in tegra30_voltage_update()
252 tegra->cpu_min_uV = cpu_uV; in tegra30_voltage_update()
260 cpu_min_uV = max(cpu_uV, cpu_min_uV); in tegra30_voltage_update()
279 cpu_min_uV = max(cpu_min_uV, tegra->cpu_min_uV); in tegra30_voltage_update()
283 cpu_min_uV = clamp(tegra30_cpu_nominal_uV(), in tegra30_voltage_update()
284 cpu_min_uV, cpu_max_uV); in tegra30_voltage_update()
292 while (cpu_uV != cpu_min_uV || core_uV != core_min_uV) { in tegra30_voltage_update()
[all …]
H A Dregulators-tegra20.c31 int core_min_uV, cpu_min_uV; member
138 int cpu_uV, int cpu_min_uV) in tegra20_core_rtc_update() argument
276 int cpu_min_uV = 0; in tegra20_cpu_voltage_update() local
299 if (!tegra->cpu_min_uV) in tegra20_cpu_voltage_update()
300 tegra->cpu_min_uV = cpu_uV; in tegra20_cpu_voltage_update()
308 cpu_min_uV = cpu_uV; in tegra20_cpu_voltage_update()
312 cpu_min_uV = max(cpu_min_uV, tegra->cpu_min_uV); in tegra20_cpu_voltage_update()
317 cpu_min_uV, cpu_max_uV); in tegra20_cpu_voltage_update()
319 if (cpu_min_uV > cpu_uV) { in tegra20_cpu_voltage_update()
321 cpu_uV, cpu_min_uV); in tegra20_cpu_voltage_update()
[all …]