Lines Matching refs:setspeed
35 unsigned int *setspeed = policy->governor_data; in cpufreq_set() local
43 *setspeed = freq; in cpufreq_set()
58 unsigned int *setspeed; in cpufreq_userspace_policy_init() local
60 setspeed = kzalloc(sizeof(*setspeed), GFP_KERNEL); in cpufreq_userspace_policy_init()
61 if (!setspeed) in cpufreq_userspace_policy_init()
64 policy->governor_data = setspeed; in cpufreq_userspace_policy_init()
78 unsigned int *setspeed = policy->governor_data; in cpufreq_userspace_policy_start() local
85 *setspeed = policy->cur; in cpufreq_userspace_policy_start()
92 unsigned int *setspeed = policy->governor_data; in cpufreq_userspace_policy_stop() local
98 *setspeed = 0; in cpufreq_userspace_policy_stop()
104 unsigned int *setspeed = policy->governor_data; in cpufreq_userspace_policy_limits() local
109 policy->cpu, policy->min, policy->max, policy->cur, *setspeed); in cpufreq_userspace_policy_limits()
111 if (policy->max < *setspeed) in cpufreq_userspace_policy_limits()
113 else if (policy->min > *setspeed) in cpufreq_userspace_policy_limits()
116 __cpufreq_driver_target(policy, *setspeed, CPUFREQ_RELATION_L); in cpufreq_userspace_policy_limits()