Lines Matching refs:policy
76 and/or policy is restored by a call to
94 *policy as argument. What to do now?
100 policy->cpuinfo.min_freq _and_
101 policy->cpuinfo.max_freq - the minimum and maximum frequency
104 policy->cpuinfo.transition_latency the time it takes on this CPU to
109 policy->cur The current operating frequency of
111 policy->min,
112 policy->max,
113 policy->policy and, if necessary,
114 policy->governor must contain the "default policy" for
121 For setting some of these values (cpuinfo.min[max]_freq, policy->min[max]), the
127 routine must initialize policy->cpus with mask of all possible cpus (Online +
129 policy->related_cpus and will reset policy->cpus to carry only online cpus.
135 When the user decides a new policy (consisting of
136 "policy,governor,min,max") shall be set, this policy must be validated
139 cpufreq_verify_within_limits(struct cpufreq_policy *policy, unsigned
144 range) is within policy->min and policy->max. If necessary, increase
145 policy->max first, and only if this is no solution, decrease policy->min.
162 The target_index call has two arguments: struct cpufreq_policy *policy,
168 It should always restore to earlier frequency (i.e. policy->restore_freq) in
173 The target call has three arguments: struct cpufreq_policy *policy,
180 - policy->min <= new_freq <= policy->max (THIS MUST BE VALID!!!)
193 The setpolicy call only takes a struct cpufreq_policy *policy as
195 in-chipset dynamic frequency switching to policy->min, the upper limit
196 to policy->max, and -if supported- select a performance-oriented
197 setting when policy->policy is CPUFREQ_POLICY_PERFORMANCE, and a
216 NOTE: ->target_index() should restore to policy->restore_freq in case of
234 By calling cpufreq_frequency_table_cpuinfo(struct cpufreq_policy *policy,
237 policy->min and policy->max are set to the same values. This is
240 int cpufreq_frequency_table_verify(struct cpufreq_policy *policy,
242 assures that at least one valid frequency is within policy->min and
243 policy->max, and all other criteria are met. This is helpful for the
246 int cpufreq_frequency_table_target(struct cpufreq_policy *policy,