Lines Matching refs:frequency

713     /* interpolate to get target power for given frequency */
749 /* interpolate to get target power for given frequency */
785 /* interpolate to get target power for given frequency */
811 /* interpolate to get target power for given frequency */
1158 ar9300_noise_floor_cal_or_power_get(struct ath_hal *ah, int32_t frequency,
1179 is_2ghz = (frequency < 4000);
1202 * at the desired frequency.
1205 nf_use = interpolate(frequency, fx, nf, nnf);
2142 ar9300_calibration_apply(struct ath_hal *ah, int frequency)
2167 mode = (frequency >= 4000);
2175 * identify best lower and higher frequency calibration measurement
2183 fdiff = frequency - pfrequency;
2185 * this measurement is higher than our desired frequency
2190 fdiff > (frequency - hfrequency[ichain]))
2193 * new best higher frequency measurement
2203 fdiff < (frequency - lfrequency[ichain]))
2206 * new best lower frequency measurement
2221 __func__, ichain, frequency,
2231 } else if (frequency - lfrequency[ichain] < 1000) {
2232 /* the low frequency is good */
2233 if (hfrequency[ichain] - frequency < 1000) {
2235 * The high frequency is good too -
2239 mult = frequency - lfrequency[ichain];
2265 } else if (hfrequency[ichain] - frequency < 1000) {
2289 ah, frequency, correction, voltage, temperature);
2291 "%s: for frequency=%d, calibration correction = %d %d %d\n",
2292 __func__, frequency, correction[0], correction[1], correction[2]);
2298 ar9300_power_control_override(struct ath_hal *ah, int frequency,
2340 if (frequency < 4000) {
2350 temp_slope=interpolate(frequency,f,t,8);
2362 temp_slope = interpolate(frequency, f, t, 3);
2382 temp_slope = interpolate(frequency, f, t, 3);
2383 temp_slope_1=interpolate(frequency, f, t1,3);
2384 temp_slope_2=interpolate(frequency, f, t2,3);
2396 if(frequency < 4000) {
4557 * To regulation the frequency accuracy.