HomeSort by: relevance | last modified time | path
    Searched refs:fbin (Results 1 - 14 of 14) sorted by relevancy

  /src/sys/external/isc/atheros_hal/dist/
ah_eeprom_v14.c 232 fbin2freq(uint8_t fbin, HAL_BOOL is2GHz)
236 * an fbin and as a frequency - do not convert
238 if (fbin == AR5416_BCHAN_UNUSED)
239 return fbin;
240 return (uint16_t)((is2GHz) ? (2300 + fbin) : (4800 + 5 * fbin));
ah_eeprom_v4k.c 215 fbin2freq(uint8_t fbin, HAL_BOOL is2GHz)
219 * an fbin and as a frequency - do not convert
221 if (fbin == AR5416_BCHAN_UNUSED)
222 return fbin;
223 return (uint16_t)((is2GHz) ? (2300 + fbin) : (4800 + 5 * fbin));
ah_eeprom_v3.c 46 fbin2freq(HAL_EEPROM *ee, uint16_t fbin)
48 if (fbin == CHANNEL_UNUSED) /* reserved value, don't convert */
49 return fbin;
51 (fbin > 62 ? 5100 + 10*62 + 5*(fbin-62) : 5100 + 10*fbin) :
52 4800 + 5*fbin;
56 fbin2freq_2p4(HAL_EEPROM *ee, uint16_t fbin)
58 if (fbin == CHANNEL_UNUSED) /* reserved value, don't convert */
59 return fbin;
    [all...]
  /src/sys/dev/ic/
arn9287.c 272 uint8_t fbin; local in function:ar9287_get_pdadcs
281 fbin = athn_chan2fbin(c);
282 athn_get_pier_ival(fbin, pierfreq, npiers, &lo, &hi);
284 lopier.fbin = pierfreq[lo];
285 hipier.fbin = pierfreq[hi];
292 ar5008_get_pdadcs(sc, fbin, &lopier, &hipier, nxpdgains,
313 uint8_t fbin; local in function:ar9287_olpc_get_pdgain
322 fbin = athn_chan2fbin(c);
323 athn_get_pier_ival(fbin, pierfreq, npiers, &lo, &hi);
325 *pwr = athn_interpolate(fbin,
    [all...]
arn5416.c 363 uint8_t fbin, pwroff; local in function:ar5416_get_pdadcs
377 fbin = athn_chan2fbin(c);
378 athn_get_pier_ival(fbin, pierfreq, npiers, &lo, &hi);
380 lopier.fbin = pierfreq[lo];
381 hipier.fbin = pierfreq[hi];
388 ar5008_get_pdadcs(sc, fbin, &lopier, &hipier, nxpdgains,
914 uint8_t fbin, bias; local in function:ar9160_rw_addac
923 fbin = athn_chan2fbin(c);
927 if ((modal->xpaBiasLvlFreq[i] & 0xff) < fbin)
arn9380.c 837 uint8_t fbin; local in function:ar9380_get_correction
851 fbin = athn_chan2fbin(c);
852 athn_get_pier_ival(fbin, pierfreq, npiers, &lo, &hi);
854 *corr = athn_interpolate(fbin,
857 *temp = athn_interpolate(fbin,
arn9285.c 714 uint8_t fbin; local in function:ar9285_get_pdadcs
722 fbin = athn_chan2fbin(c);
723 athn_get_pier_ival(fbin, pierfreq, npiers, &lo, &hi);
725 lopier.fbin = pierfreq[lo];
726 hipier.fbin = pierfreq[hi];
733 ar5008_get_pdadcs(sc, fbin, &lopier, &hipier, nxpdgains,
arn9280.c 422 uint8_t fbin, pcdac, pwr, idx; local in function:ar9280_olpc_get_pdadcs
438 fbin = athn_chan2fbin(c);
439 athn_get_pier_ival(fbin, pierfreq, npiers, &lo, &hi);
453 "fbin=%d lo=%d hi=%d pwr=%d pcdac=%d txgain=%d\n",
454 fbin, lo, hi, pwr, pcdac, idx);
arn5008.c 2522 ar5008_get_pdadcs(struct athn_softc *sc, uint8_t fbin,
2580 vpd[j] = athn_interpolate(fbin,
2581 lopier->fbin, lovpd, hipier->fbin, hivpd);
2636 uint8_t fbin; local in function:ar5008_get_lg_tpow
2640 fbin = athn_chan2fbin(c);
2643 tgt[i].bChannel > fbin)
2655 tpow[i] = athn_interpolate(fbin,
2668 uint8_t fbin; local in function:ar5008_get_ht_tpow
2672 fbin = athn_chan2fbin(c)
    [all...]
arn9003.c 3307 uint8_t fbin; local in function:ar9003_get_lg_tpow
3311 fbin = athn_chan2fbin(c);
3313 delta = fbin - fbins[i];
3315 if (delta >= 0 && (lo == -1 || delta < fbin - fbins[lo]))
3318 if (delta <= 0 && (hi == -1 || delta > fbin - fbins[hi]))
3327 tpow[i] = athn_interpolate(fbin,
3339 uint8_t fbin; local in function:ar9003_get_ht_tpow
3343 fbin = athn_chan2fbin(c);
3345 delta = fbin - fbins[i];
3347 if (delta >= 0 && (lo == -1 || delta < fbin - fbins[lo])
    [all...]
athnvar.h 195 uint8_t fbin; member in struct:athn_pier
athn.c 1697 athn_get_pier_ival(uint8_t fbin, const uint8_t *pierfreq, int npiers,
1704 pierfreq[i] > fbin)
  /src/sys/external/isc/atheros_hal/dist/ar5416/
ar9285_reset.c 505 fbin2freq(uint8_t fbin)
509 * an fbin and as a frequency - do not convert
511 if (fbin == AR5416_BCHAN_UNUSED) {
512 return fbin;
515 return (uint16_t)(2300 + fbin);
ar5416_reset.c 1644 fbin2freq(uint8_t fbin, HAL_BOOL is2GHz)
1648 * an fbin and as a frequency - do not convert
1650 if (fbin == AR5416_BCHAN_UNUSED) {
1651 return fbin;
1654 return (uint16_t)((is2GHz) ? (2300 + fbin) : (4800 + 5 * fbin));

Completed in 26 milliseconds