Lines Matching refs:max_duration
133 static int max_duration = 255; variable
134 module_param(max_duration, int, 0444);
228 for (i = max_duration; i > 0; i--) { in gx_validate_speed()
340 cpufreq_verify_within_limits(policy, (stock_freq / max_duration), in cpufreq_gx_verify()
351 tmp_freq += stock_freq / max_duration; in cpufreq_gx_verify()
357 tmp_freq -= stock_freq / max_duration; in cpufreq_gx_verify()
361 cpufreq_verify_within_limits(policy, (stock_freq / max_duration), in cpufreq_gx_verify()
385 tmp_freq += stock_freq / max_duration; in cpufreq_gx_target()
389 tmp_freq -= stock_freq / max_duration; in cpufreq_gx_target()
420 if (max_duration < POLICY_MIN_DIV) in cpufreq_gx_cpu_init()
421 policy->min = maxfreq / max_duration; in cpufreq_gx_cpu_init()
425 policy->cpuinfo.min_freq = maxfreq / max_duration; in cpufreq_gx_cpu_init()
456 if (max_duration > 0xff) in cpufreq_gx_init()
457 max_duration = 0xff; in cpufreq_gx_init()