Lines Matching refs:to

15    Clock scaling allows you to change the clock speed of the CPUs on the
16 fly. This is a nice method to save battery power, because the lower
37 So, you just got a brand-new CPU / chipset with datasheets and want to
54 cpufreq_driver.init - A pointer to the per-CPU initialization
57 cpufreq_driver.verify - A pointer to a "verification" function.
65 cpufreq_driver.exit - A pointer to a per-CPU cleanup
69 cpufreq_driver.stop_cpu - A pointer to a per-CPU stop function
73 cpufreq_driver.resume - A pointer to a per-CPU resume function
76 and/or policy is restored by a call to
79 cpufreq_driver.attr - A pointer to a NULL-terminated list of
80 "struct freq_attr" which allow to
81 export values to sysfs.
84 and target_intermediate Used to switch to stable frequency while
94 *policy as argument. What to do now?
104 policy->cpuinfo.transition_latency the time it takes on this CPU to
129 policy->related_cpus and will reset policy->cpus to carry only online cpus.
143 You need to make sure that at least one valid frequency (or operating
152 only allow the CPU to be set to one frequency. For these, you use the
168 It should always restore to earlier frequency (i.e. policy->restore_freq) in
169 case of errors, even if we switched to intermediate frequency earlier.
179 - keep close to "target_freq"
181 - if relation==CPUFREQ_REL_L, try to select a new_freq higher than or equal
183 - if relation==CPUFREQ_REL_H, try to select a new_freq lower than or equal
194 argument. You need to set the lower limit of the in-processor or
195 in-chipset dynamic frequency switching to policy->min, the upper limit
196 to policy->max, and -if supported- select a performance-oriented
206 get_intermediate should return a stable intermediate frequency platform wants to
207 switch to, and target_intermediate() should set CPU to to that frequency, before
208 jumping to the frequency corresponding to 'index'. Core will take care of
209 sending notifications and driver doesn't have to handle them in
212 Drivers can return '0' from get_intermediate() in case they don't wish to switch
213 to intermediate frequency for some target frequency. In that case core will
216 NOTE: ->target_index() should restore to policy->restore_freq in case of
223 As most cpufreq processors only allow for being set to a few specific
227 "driver_data" you want to use, and the corresponding frequency in
228 "frequency". At the end of the table, you need to add a
229 cpufreq_frequency_table entry with frequency set to CPUFREQ_TABLE_END. And
230 if you want to skip one entry in the table, set the frequency to
231 CPUFREQ_ENTRY_INVALID. The entries don't need to be in ascending
237 policy->min and policy->max are set to the same values. This is
253 stage. Just pass the values to this function, and the unsigned int
255 the frequency the CPU shall be set to.
265 "table" - the cpufreq_frequency_table * you want to iterate over.