Lines Matching full:frequency
24 2. Frequency Table Helpers
62 frequency while changing CPU frequency.
64 .get - Returns current frequency of the CPU.
66 .bios_limit - Returns HW/BIOS max frequency limitations for the CPU.
103 |policy->cpuinfo.max_freq | the minimum and maximum frequency |
112 |policy->cur | The current operating frequency of |
132 frequency table helpers might be helpful. See the section 2 for more information
144 See section 2 for details on frequency table helpers.
146 You need to make sure that at least one valid frequency (or operating
154 Most cpufreq drivers or even most cpu frequency scaling algorithms
155 only allow the CPU frequency to be set to predefined fixed values. For
159 Some cpufreq capable processors switch the frequency between certain
167 and ``unsigned int`` index (into the exposed frequency table).
169 The CPUfreq driver must set the new frequency when called here. The
170 actual frequency must be determined by freq_table[index].frequency.
172 It should always restore to earlier frequency (i.e. policy->restore_freq) in
173 case of errors, even if we switched to intermediate frequency earlier.
180 The CPUfreq driver must set the new frequency when called here. The
181 actual frequency must be determined using the following rules:
190 Here again the frequency table helper might assist you - see section 2
196 This function is used for frequency switching from scheduler's context.
210 in-chipset dynamic frequency switching to policy->min, the upper limit
221 get_intermediate should return a stable intermediate frequency platform wants to
222 switch to, and target_intermediate() should set CPU to that frequency, before
223 jumping to the frequency corresponding to 'index'. Core will take care of
228 to intermediate frequency for some target frequency. In that case core will
235 2. Frequency Table Helpers
239 frequencies, a "frequency table" with some functions might assist in
240 some work of the processor driver. Such a "frequency table" consists of
242 values in "driver_data", the corresponding frequency in "frequency" and
244 cpufreq_frequency_table entry with frequency set to CPUFREQ_TABLE_END.
245 And if you want to skip one entry in the table, set the frequency to
254 frequency is within policy->min and policy->max, and all other criteria
257 cpufreq_frequency_table_target() is the corresponding frequency table
259 and this function returns the of the frequency table entry which
260 contains the frequency the CPU shall be set to.
264 cpufreq_for_each_entry(pos, table) - iterates over all entries of frequency
278 pos->frequency = ...