Lines Matching refs:target_freq
322 unsigned int target_freq,
327 unsigned int target_freq);
336 unsigned int target_freq);
595 unsigned int target_freq);
597 unsigned int target_freq,
600 unsigned int target_freq,
603 unsigned int target_freq);
752 unsigned int target_freq,
767 unsigned int target_freq)
777 if (freq >= target_freq)
788 unsigned int target_freq)
798 if (freq == target_freq)
801 if (freq > target_freq) {
806 /* No freq found above target_freq */
818 unsigned int target_freq)
820 target_freq = clamp_val(target_freq, policy->min, policy->max);
823 return cpufreq_table_find_index_al(policy, target_freq);
825 return cpufreq_table_find_index_dl(policy, target_freq);
830 unsigned int target_freq)
840 if (freq == target_freq)
843 if (freq < target_freq) {
848 /* No freq found below target_freq */
860 unsigned int target_freq)
870 if (freq <= target_freq)
881 unsigned int target_freq)
883 target_freq = clamp_val(target_freq, policy->min, policy->max);
886 return cpufreq_table_find_index_ah(policy, target_freq);
888 return cpufreq_table_find_index_dh(policy, target_freq);
893 unsigned int target_freq)
903 if (freq == target_freq)
906 if (freq < target_freq) {
911 /* No freq found below target_freq */
916 if (target_freq - table[best].frequency > freq - target_freq)
927 unsigned int target_freq)
937 if (freq == target_freq)
940 if (freq > target_freq) {
945 /* No freq found above target_freq */
950 if (table[best].frequency - target_freq > target_freq - freq)
961 unsigned int target_freq)
963 target_freq = clamp_val(target_freq, policy->min, policy->max);
966 return cpufreq_table_find_index_ac(policy, target_freq);
968 return cpufreq_table_find_index_dc(policy, target_freq);
972 unsigned int target_freq,
976 return cpufreq_table_index_unsorted(policy, target_freq,
981 return cpufreq_table_find_index_l(policy, target_freq);
983 return cpufreq_table_find_index_h(policy, target_freq);
985 return cpufreq_table_find_index_c(policy, target_freq);