Lines Matching refs:max
226 unsigned long *max) in sysfs_get_freq_hardware_limits() argument
228 if ((!min) || (!max)) in sysfs_get_freq_hardware_limits()
235 *max = sysfs_cpufreq_get_one_value(cpu, CPUINFO_MAX_FREQ); in sysfs_get_freq_hardware_limits()
236 if (!*max) in sysfs_get_freq_hardware_limits()
261 policy->max = sysfs_cpufreq_get_one_value(cpu, SCALING_MAX_FREQ); in sysfs_get_freq_policy()
262 if ((!policy->min) || (!policy->max)) { in sysfs_get_freq_policy()
586 char max[SYSFS_PATH_MAX]; in sysfs_set_freq_policy() local
595 if (policy->max < policy->min) in sysfs_set_freq_policy()
602 snprintf(max, SYSFS_PATH_MAX, "%lu", policy->max); in sysfs_set_freq_policy()
605 write_max_first = (old_min && (policy->max < old_min) ? 0 : 1); in sysfs_set_freq_policy()
609 max, strlen(max)); in sysfs_set_freq_policy()
621 max, strlen(max)); in sysfs_set_freq_policy()