Lines Matching defs:curfreq
244 int curfreq;
246 len = sizeof(curfreq);
247 if (sysctl(freq_mib, 4, &curfreq, &len, NULL, 0) != 0) {
250 curfreq = 0;
252 return (curfreq);
457 int freq, curfreq, initfreq, *freqs, i, j, *mwatts, numfreqs, load;
590 freq = initfreq = curfreq = get_freq();
591 i = get_freq_id(curfreq, freqs, numfreqs);
609 len = sizeof(curfreq);
610 if (sysctl(freq_mib, 4, &curfreq, &len, NULL, 0) != 0) {
614 if (curfreq < freqs[numfreqs - 1]) {
624 } else if (curfreq > freqs[0]) {
684 if ((curfreq = get_freq()) == 0)
686 i = get_freq_id(curfreq, freqs, numfreqs);
699 if (curfreq != freq) {
718 if (curfreq != freq) {
750 curfreq * load < freqs[get_freq_id(
766 curfreq * load < freqs[get_freq_id(
776 load, curfreq, i, freq);