max_state         180 drivers/acpi/processor_thermal.c 	int max_state = 0;
max_state         186 drivers/acpi/processor_thermal.c 	max_state += cpufreq_get_max_state(pr->id);
max_state         188 drivers/acpi/processor_thermal.c 		max_state += (pr->throttling.state_count -1);
max_state         190 drivers/acpi/processor_thermal.c 	return max_state;
max_state          18 drivers/cpufreq/cpufreq_stats.c 	unsigned int max_state;
max_state          37 drivers/cpufreq/cpufreq_stats.c 	unsigned int count = stats->max_state;
max_state         117 drivers/cpufreq/cpufreq_stats.c 					stats->trans_table[i*stats->max_state+j]);
max_state         147 drivers/cpufreq/cpufreq_stats.c 	for (index = 0; index < stats->max_state; index++)
max_state         201 drivers/cpufreq/cpufreq_stats.c 	stats->max_state = count;
max_state         247 drivers/cpufreq/cpufreq_stats.c 	stats->trans_table[old_index * stats->max_state + new_index]++;
max_state        1091 drivers/cpufreq/intel_pstate.c 	int max_state, turbo_max, freq, i, perf_pct;
max_state        1109 drivers/cpufreq/intel_pstate.c 			intel_pstate_get_hwp_max(i, &turbo_max, &max_state);
max_state        2045 drivers/cpufreq/intel_pstate.c 	int max_state, turbo_max;
max_state        2053 drivers/cpufreq/intel_pstate.c 		intel_pstate_get_hwp_max(cpu->cpu, &turbo_max, &max_state);
max_state        2055 drivers/cpufreq/intel_pstate.c 		max_state = global.no_turbo || global.turbo_disabled ?
max_state        2060 drivers/cpufreq/intel_pstate.c 	max_policy_perf = max_state * policy_max / max_freq;
max_state        2064 drivers/cpufreq/intel_pstate.c 		min_policy_perf = max_state * policy_min / max_freq;
max_state        2070 drivers/cpufreq/intel_pstate.c 		 cpu->cpu, max_state, min_policy_perf, max_policy_perf);
max_state        2377 drivers/cpufreq/intel_pstate.c 	int max_state, turbo_max, min_freq, max_freq, ret;
max_state        2404 drivers/cpufreq/intel_pstate.c 		intel_pstate_get_hwp_max(policy->cpu, &turbo_max, &max_state);
max_state         110 drivers/devfreq/devfreq.c 	for (lev = 0; lev < devfreq->profile->max_state; lev++)
max_state         129 drivers/devfreq/devfreq.c 	profile->max_state = count;
max_state         131 drivers/devfreq/devfreq.c 					profile->max_state,
max_state         135 drivers/devfreq/devfreq.c 		profile->max_state = 0;
max_state         139 drivers/devfreq/devfreq.c 	for (i = 0, freq = 0; i < profile->max_state; i++, freq++) {
max_state         143 drivers/devfreq/devfreq.c 			profile->max_state = 0;
max_state         187 drivers/devfreq/devfreq.c 				devfreq->profile->max_state) + lev]++;
max_state         652 drivers/devfreq/devfreq.c 	if (!devfreq->profile->max_state && !devfreq->profile->freq_table) {
max_state         689 drivers/devfreq/devfreq.c 				    devfreq->profile->max_state,
max_state         690 drivers/devfreq/devfreq.c 				    devfreq->profile->max_state),
max_state         699 drivers/devfreq/devfreq.c 			devfreq->profile->max_state,
max_state        1310 drivers/devfreq/devfreq.c 		if (freq_table[0] < freq_table[df->profile->max_state - 1])
max_state        1313 drivers/devfreq/devfreq.c 			value = freq_table[df->profile->max_state - 1];
max_state        1354 drivers/devfreq/devfreq.c 		if (freq_table[0] < freq_table[df->profile->max_state - 1])
max_state        1355 drivers/devfreq/devfreq.c 			value = freq_table[df->profile->max_state - 1];
max_state        1388 drivers/devfreq/devfreq.c 	for (i = 0; i < df->profile->max_state; i++)
max_state        1409 drivers/devfreq/devfreq.c 	unsigned int max_state = devfreq->profile->max_state;
max_state        1411 drivers/devfreq/devfreq.c 	if (max_state == 0)
max_state        1424 drivers/devfreq/devfreq.c 	for (i = 0; i < max_state; i++)
max_state        1430 drivers/devfreq/devfreq.c 	for (i = 0; i < max_state; i++) {
max_state        1439 drivers/devfreq/devfreq.c 		for (j = 0; j < max_state; j++)
max_state        1441 drivers/devfreq/devfreq.c 				devfreq->trans_table[(i * max_state) + j]);
max_state         299 drivers/devfreq/exynos-bus.c 	int ret, max_state;
max_state         415 drivers/devfreq/exynos-bus.c 	max_state = bus->devfreq->profile->max_state;
max_state         417 drivers/devfreq/exynos-bus.c 	max_freq = (bus->devfreq->profile->freq_table[max_state - 1] / 1000);
max_state          51 drivers/devfreq/governor_passive.c 		|| devfreq->profile->max_state <= 0)
max_state          71 drivers/devfreq/governor_passive.c 	for (i = 0; i < parent_devfreq->profile->max_state; i++)
max_state          75 drivers/devfreq/governor_passive.c 	if (i == parent_devfreq->profile->max_state) {
max_state          81 drivers/devfreq/governor_passive.c 	if (i < devfreq->profile->max_state) {
max_state          84 drivers/devfreq/governor_passive.c 		count = devfreq->profile->max_state;
max_state         176 drivers/hwmon/aspeed-pwm-tacho.c 	u8 max_state;
max_state         763 drivers/hwmon/aspeed-pwm-tacho.c 	*state = cdev->max_state;
max_state         785 drivers/hwmon/aspeed-pwm-tacho.c 	if (state > cdev->max_state)
max_state         820 drivers/hwmon/aspeed-pwm-tacho.c 	cdev->max_state = num_levels - 1;
max_state         187 drivers/hwmon/npcm750-pwm-fan.c 	u8 max_state;
max_state         783 drivers/hwmon/npcm750-pwm-fan.c 	*state = cdev->max_state;
max_state         806 drivers/hwmon/npcm750-pwm-fan.c 	if (state > cdev->max_state)
max_state         838 drivers/hwmon/npcm750-pwm-fan.c 	cdev->max_state = num_levels - 1;
max_state          56 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c 	int	max_state;
max_state          65 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c 		.max_state	= (4 * MLXSW_THERMAL_MAX_STATE) / 10,
max_state          73 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c 		.max_state	= MLXSW_THERMAL_MAX_STATE,
max_state          80 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c 		.max_state	= MLXSW_THERMAL_MAX_STATE,
max_state          86 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c 		.max_state	= MLXSW_THERMAL_MAX_STATE,
max_state         246 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c 						       trip->max_state,
max_state         434 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c 						       trip->max_state,
max_state          48 drivers/platform/x86/intel_menlow.c 				    unsigned long *max_state)
max_state          69 drivers/platform/x86/intel_menlow.c 	*max_state = value - 1;
max_state         105 drivers/platform/x86/intel_menlow.c 	unsigned long max_state;
max_state         107 drivers/platform/x86/intel_menlow.c 	if (memory_get_max_bandwidth(cdev, &max_state))
max_state         110 drivers/platform/x86/intel_menlow.c 	if (state > max_state)
max_state         106 drivers/soc/qcom/rpmpd.c 	unsigned int max_state;
max_state         113 drivers/soc/qcom/rpmpd.c 	unsigned int max_state;
max_state         139 drivers/soc/qcom/rpmpd.c 	.max_state = MAX_8996_RPMPD_STATE,
max_state         171 drivers/soc/qcom/rpmpd.c 	.max_state = RPM_SMD_LEVEL_BINNING,
max_state         197 drivers/soc/qcom/rpmpd.c 	.max_state = RPM_SMD_LEVEL_BINNING,
max_state         311 drivers/soc/qcom/rpmpd.c 	if (state > pd->max_state)
max_state         312 drivers/soc/qcom/rpmpd.c 		state = pd->max_state;
max_state         375 drivers/soc/qcom/rpmpd.c 		rpmpds[i]->max_state = desc->max_state;
max_state          52 drivers/thermal/fair_share.c 	unsigned long max_state;
max_state          54 drivers/thermal/fair_share.c 	cdev->ops->get_max_state(cdev, &max_state);
max_state          56 drivers/thermal/fair_share.c 	return (long)(percentage * level * max_state) / (100 * tz->trips);
max_state          41 drivers/thermal/intel/int340x_thermal/int3403_thermal.c 	unsigned long max_state;
max_state         128 drivers/thermal/intel/int340x_thermal/int3403_thermal.c 	*state = obj->max_state;
max_state         190 drivers/thermal/intel/int340x_thermal/int3403_thermal.c 	obj->max_state = p->package.count - 1;
max_state        1534 drivers/thermal/tegra/soctherm.c 				    unsigned long *max_state)
max_state        1536 drivers/thermal/tegra/soctherm.c 	*max_state = 1;
max_state         565 drivers/thermal/thermal_core.c 	unsigned long max_state;
max_state         571 drivers/thermal/thermal_core.c 	ret = cdev->ops->get_max_state(cdev, &max_state);
max_state         575 drivers/thermal/thermal_core.c 	return cdev->ops->state2power(cdev, tz, max_state, min_power);
max_state         691 drivers/thermal/thermal_core.c 	unsigned long max_state;
max_state         709 drivers/thermal/thermal_core.c 	ret = cdev->ops->get_max_state(cdev, &max_state);
max_state         715 drivers/thermal/thermal_core.c 	upper = upper == THERMAL_NO_LIMIT ? max_state : upper;
max_state         717 drivers/thermal/thermal_core.c 	if (lower > upper || upper > max_state)
max_state         727 drivers/thermal/thermal_sysfs.c static DEVICE_ATTR_RO(max_state);
max_state         106 include/linux/devfreq.h 	unsigned int max_state;
max_state          98 tools/thermal/tmon/sysfs.c 	sysfs_get_ulong(path, "max_state",  &cdi->max_state);
max_state         103 tools/thermal/tmon/sysfs.c 		cdi->type, cdi->max_state, cdi->cur_state, cdi->instance);
max_state         541 tools/thermal/tmon/sysfs.c 			if (ptdata.cdi[i].max_state < 10) {
max_state         546 tools/thermal/tmon/sysfs.c 			cdev_state = state * ptdata.cdi[i].max_state/100;
max_state          50 tools/thermal/tmon/tmon.h 	unsigned long max_state;
max_state         220 tools/thermal/tmon/tui.c 			ptdata.cdi[j].max_state);