Lines Matching full:frequency

35  * @freq_table: frequency table used to keep track of available frequencies.
39 * frequency.
75 * @property: type of query (frequency, level, max level)
79 * 2. translate frequency to cooling state
80 * 3. translate cooling state to frequency
108 if (freq == pos->frequency) in clock_cooling_get_property()
111 /* get the frequency order */ in clock_cooling_get_property()
113 descend = freq > pos->frequency; in clock_cooling_get_property()
115 freq = pos->frequency; in clock_cooling_get_property()
119 /* No valid cpu frequency entry */ in clock_cooling_get_property()
138 if (freq == pos->frequency) in clock_cooling_get_property()
141 /* now we have a valid frequency entry */ in clock_cooling_get_property()
142 freq = pos->frequency; in clock_cooling_get_property()
145 /* get level by frequency */ in clock_cooling_get_property()
150 /* get frequency by level */ in clock_cooling_get_property()
163 * @freq: the frequency of interest
186 * clock_cooling_get_frequency - get the absolute value of frequency from level.
190 * This function matches cooling level with frequency. Based on a cooling level
191 * of frequency, equals cooling state of cpu cooling device, it will return
192 * the corresponding frequency.
195 * Return: 0 on error, the corresponding frequency otherwise.
212 * clock_cooling_apply - function to apply frequency clipping.
213 * @ccdev: clock_cooling_device pointer containing frequency clipping data.
218 * higher than the corresponding frequency based on the requested cooling_state.
367 * the referred device. The ordered frequency table is used to control