/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar9002/ |
H A D | ar9285.c | 44 int16_t nf; local 46 nf = MS(OS_REG_READ(ah, AR_PHY_CCA), AR9280_PHY_MINCCA_PWR); 47 if (nf & 0x100) 48 nf = 0 - ((nf ^ 0x1ff) + 1); 50 "NF calibrated [ctl] [chain 0] is %d\n", nf); 51 nfarray[0] = nf; 54 nf = MS(OS_REG_READ(ah, AR_PHY_EXT_CCA), AR9280_PHY_EXT_MINCCA_PWR); 55 if (nf & 0x100) 56 nf [all...] |
H A D | ar9280.c | 291 int16_t nf; local 293 nf = MS(OS_REG_READ(ah, AR_PHY_CCA), AR9280_PHY_MINCCA_PWR); 294 if (nf & 0x100) 295 nf = 0 - ((nf ^ 0x1ff) + 1); 297 "NF calibrated [ctl] [chain 0] is %d\n", nf); 298 nfarray[0] = nf; 300 nf = MS(OS_REG_READ(ah, AR_PHY_CH1_CCA), AR9280_PHY_CH1_MINCCA_PWR); 301 if (nf & 0x100) 302 nf [all...] |
H A D | ar9287.c | 297 int16_t nf; local 299 nf = MS(OS_REG_READ(ah, AR_PHY_CCA), AR9280_PHY_MINCCA_PWR); 300 if (nf & 0x100) 301 nf = 0 - ((nf ^ 0x1ff) + 1); 303 "NF calibrated [ctl] [chain 0] is %d\n", nf); 304 nfarray[0] = nf; 306 nf = MS(OS_REG_READ(ah, AR_PHY_CH1_CCA), AR9280_PHY_CH1_MINCCA_PWR); 307 if (nf & 0x100) 308 nf [all...] |
/haiku-fatelf/src/bin/pcmcia-cs/ |
H A D | pack_cis.h | 36 extern int nf;
|
H A D | pack_cis.c | 55 int nf = 0; variable 363 b[1] = 5*nf + 1; 364 b[2] = nf; 365 b[5*nf+3] = CISTPL_END; 366 b[5*nf+4] = 0; 368 pos = 5*nf+5; 369 for (i = 0; i < nf; i++) { 391 if (nf > 0) {
|
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/ |
H A D | ar2133.c | 411 int16_t nf; local 414 * Blank nf array - some chips may only 422 nf = MS(OS_REG_READ(ah, AR_PHY_CH2_CCA), AR_PHY_CH2_MINCCA_PWR); 423 if (nf & 0x100) 424 nf = 0 - ((nf ^ 0x1ff) + 1); 426 "NF calibrated [ctl] [chain 2] is %d\n", nf); 427 nfarray[2] = nf; 429 nf = MS(OS_REG_READ(ah, AR_PHY_CH2_EXT_CCA), AR_PHY_CH2_EXT_MINCCA_PWR); 430 if (nf [all...] |
H A D | ar5416_cal.c | 41 static void ar5416SanitizeNF(struct ath_hal *ah, int16_t *nf); 652 * here, the baseband nf cal will just be capped by our present 656 "nf to load: AR_PHY_AGC_CONTROL=0x%x\n", 743 ar5416SanitizeNF(struct ath_hal *ah, int16_t *nf) argument 755 if (!nf[i]) 758 if (nf[i] > limit->max) { 761 i, nf[i], limit->max); 762 nf[i] = limit->max; 763 } else if (nf[i] < limit->min) { 766 i, nf[ 782 int16_t nf, nfThresh; local [all...] |
/haiku-fatelf/src/bin/gawk/ |
H A D | field.c | 355 register long nf = parse_high_water; local 366 nf = 0; 368 return nf; 376 && nf < up_to) { 391 (*set)(++nf, field, (long)(scan - field), n); 392 up_to = nf; 397 (*set)(++nf, field, 402 (*set)(++nf, field, 0L, n); 404 if (nf != up_to && scan < end) { 405 (*set)(++nf, sca 430 register long nf = parse_high_water; local 497 register long nf = parse_high_water; local 561 register long nf = parse_high_water; local 610 register long nf = parse_high_water; local 686 register long nf = parse_high_water; local [all...] |
/haiku-fatelf/src/libs/compat/freebsd_wlan/net80211/ |
H A D | ieee80211_monitor.c | 63 int rssi, int nf); 127 monitor_input(struct ieee80211_node *ni, struct mbuf *m, int rssi, int nf) argument
|
H A D | ieee80211_adhoc.c | 286 adhoc_input(struct ieee80211_node *ni, struct mbuf *m, int rssi, int nf) argument 407 ni->ni_noise = nf; 636 vap->iv_recv_mgmt(ni, m, subtype, rssi, nf); 681 int subtype, int rssi, int nf) 726 ieee80211_add_scan(vap, &scan, wh, subtype, rssi, nf); 750 ni->ni_noise = nf; 869 int subtype, int rssi, int nf) 880 adhoc_recv_mgmt(ni, m0, subtype, rssi, nf); 680 adhoc_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m0, int subtype, int rssi, int nf) argument 868 ahdemo_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m0, int subtype, int rssi, int nf) argument
|
H A D | ieee80211_wds.c | 105 int8_t rssi, nf; local 114 ic->ic_node_getsignal(ni, &rssi, &nf); 118 ieee80211_input(ni, m, rssi, nf); 407 wds_input(struct ieee80211_node *ni, struct mbuf *m, int rssi, int nf) argument 490 ni->ni_noise = nf; 718 vap->iv_recv_mgmt(ni, m, subtype, rssi, nf); 745 int subtype, int rssi, int nf) 744 wds_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m0, int subtype, int rssi, int nf) argument
|
H A D | ieee80211_tdma.c | 116 int subtype, int rssi, int nf); 121 const u_int8_t *ie, int rssi, int nf, const struct ieee80211_frame *wh); 319 int subtype, int rssi, int nf) 382 (void) tdma_process_params(ni, scan.tdma, rssi, nf, wh); 390 ts->tdma_recv_mgmt(ni, m0, subtype, rssi, nf); 513 int rssi, int nf, const struct ieee80211_frame *wh) 318 tdma_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m0, int subtype, int rssi, int nf) argument 512 tdma_process_params(struct ieee80211_node *ni, const u_int8_t *ie, int rssi, int nf, const struct ieee80211_frame *wh) argument
|
H A D | ieee80211_proto.h | 81 uint8_t nf; /* global NF */ member in struct:ieee80211_rx_stats 87 #define ieee80211_input(ni, m, rssi, nf) \ 88 ((ni)->ni_vap->iv_input(ni, m, rssi, nf))
|
H A D | ieee80211_sta.c | 72 int subtype, int rssi, int nf); 513 sta_input(struct ieee80211_node *ni, struct mbuf *m, int rssi, int nf) argument 586 ni->ni_noise = nf; 886 vap->iv_recv_mgmt(ni, m, subtype, rssi, nf); 914 int rssi, int nf, uint16_t seq, uint16_t status) 943 uint8_t *frm, uint8_t *efrm, int rssi, int nf, 1250 int subtype, int rssi, int nf) 1400 subtype, rssi, nf); 1429 ieee80211_add_scan(vap, &scan, wh, subtype, rssi, nf); 1464 sta_auth_shared(ni, wh, frm + 6, efrm, rssi, nf, 913 sta_auth_open(struct ieee80211_node *ni, struct ieee80211_frame *wh, int rssi, int nf, uint16_t seq, uint16_t status) argument 942 sta_auth_shared(struct ieee80211_node *ni, struct ieee80211_frame *wh, uint8_t *frm, uint8_t *efrm, int rssi, int nf, uint16_t seq, uint16_t status) argument 1249 sta_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m0, int subtype, int rssi, int nf) argument [all...] |
H A D | ieee80211_hostap.c | 70 int rssi, int nf); 74 int subtype, int rssi, int nf); 473 hostap_input(struct ieee80211_node *ni, struct mbuf *m, int rssi, int nf) argument 567 ni->ni_noise = nf; 891 vap->iv_recv_mgmt(ni, m, subtype, rssi, nf); 918 int rssi, int nf, uint16_t seq, uint16_t status) 996 uint8_t *frm, uint8_t *efrm, int rssi, int nf, 1098 ni->ni_noise = nf; 1679 int subtype, int rssi, int nf) 1734 ieee80211_add_scan(vap, &scan, wh, subtype, rssi, nf); 917 hostap_auth_open(struct ieee80211_node *ni, struct ieee80211_frame *wh, int rssi, int nf, uint16_t seq, uint16_t status) argument 995 hostap_auth_shared(struct ieee80211_node *ni, struct ieee80211_frame *wh, uint8_t *frm, uint8_t *efrm, int rssi, int nf, uint16_t seq, uint16_t status) argument 1678 hostap_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m0, int subtype, int rssi, int nf) argument [all...] |
/haiku-fatelf/src/add-ons/translators/exr/openexr/ilmimf/ |
H A D | ImfHuf.cpp | 306 int nf = 0; local 314 fHeap[nf] = &frq[i]; 315 nf++; 328 fHeap[nf] = &frq[*iM]; 329 nf++; 359 make_heap (&fHeap[0], &fHeap[nf], FHeapCompare()); 364 while (nf > 1) 373 pop_heap (&fHeap[0], &fHeap[nf], FHeapCompare()); 374 --nf; 377 pop_heap (&fHeap[0], &fHeap[nf], FHeapCompar [all...] |
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5210/ |
H A D | ar5210_misc.c | 382 uint32_t nf; local 384 nf = (OS_REG_READ(ah, AR_PHY_BASE + (25 << 2)) >> 19) & 0x1ff; 385 if (nf & 0x100) 386 nf = 0 - ((nf ^ 0x1ff) + 1); 388 OS_REG_READ(ah, AR_TSF_L32) ^ nf);
|
H A D | ar5210_reset.c | 936 int16_t nf; local 938 nf = (OS_REG_READ(ah, AR_PHY(25)) >> 19) & 0x1ff; 939 if (nf & 0x100) 940 nf = 0 - ((nf ^ 0x1ff) + 1); 941 return nf; 954 int32_t nf, nfLoops; local 973 nf = 0; 974 /* Keep checking until the floor is below the threshold or the nf is done */ 975 for (nfLoops = 0; ((nfLoops < 21) && (nf > NORMAL_NF_THRES [all...] |
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5211/ |
H A D | ar5211_reset.c | 826 int16_t nf; local 828 nf = (OS_REG_READ(ah, AR_PHY(25)) >> 19) & 0x1ff; 829 if (nf & 0x100) 830 nf = 0 - ((nf ^ 0x1ff) + 1); 831 return nf; 925 int16_t nf, nfThresh; local 933 nf = ar5211GetNoiseFloor(ah); 934 if (nf > nfThresh) { 937 __func__, nf, nfThres 967 int16_t nf, nfThresh; local [all...] |
H A D | ar5211_misc.c | 379 uint32_t nf; local 381 nf = (OS_REG_READ(ah, AR_PHY(25)) >> 19) & 0x1ff; 382 if (nf & 0x100) 383 nf = 0 - ((nf ^ 0x1ff) + 1); 385 OS_REG_READ(ah, AR_TSF_L32) ^ nf);
|
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5212/ |
H A D | ar5212_reset.c | 1154 int16_t nf = (OS_REG_READ(ah, AR_PHY(25)) >> 19) & 0x1ff; local 1155 if (nf & 0x100) 1156 nf = 0 - ((nf ^ 0x1ff) + 1); 1157 return nf; 1209 updateNFHistBuff(struct ar5212NfCalHist *h, int16_t nf) argument 1211 h->nfCalBuffer[h->currIndex] = nf; 1229 int16_t nf = sort[j]; local 1231 sort[j-1] = nf; 1247 int16_t nf, nfThres local [all...] |
H A D | ar5212_misc.c | 332 uint32_t nf; local 334 nf = (OS_REG_READ(ah, AR_PHY(25)) >> 19) & 0x1ff; 335 if (nf & 0x100) 336 nf = 0 - ((nf ^ 0x1ff) + 1); 338 OS_REG_READ(ah, AR_TSF_L32) ^ nf);
|
/haiku-fatelf/src/libs/edit/ |
H A D | map.c | 1388 int nf = el->el_map.nfunc + 1; local 1393 if ((p = el_realloc(el->el_map.func, nf * sizeof(el_func_t))) == NULL) 1396 if ((p = el_realloc(el->el_map.help, nf * sizeof(el_bindings_t))) 1401 nf = el->el_map.nfunc; 1402 el->el_map.func[nf] = func; 1404 el->el_map.help[nf].name = name; 1405 el->el_map.help[nf].func = nf; 1406 el->el_map.help[nf].description = help;
|
/haiku-fatelf/src/apps/bsnow/ |
H A D | SnowView.cpp | 561 int nf = _this->fNumFlakes; local 564 snooze(INTERVAL/(10*(nf?nf:1))); 570 for (int i = 0; !drawThisOne && i < nf; i++) {
|
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ |
H A D | ah.c | 909 * If nf cal hasn't finished, channel noise floor should be 0 1032 int16_t nf; local 1039 nf = c->rawNoiseFloor + NOISE_FLOOR[mode] + 1042 if (nf < lowest5) { 1043 lowest5 = nf; 1048 if (nf < lowest2) { 1049 lowest2 = nf; 1064 HALDEBUG(ah, HAL_DEBUG_NFCAL, "%u raw nf %d adjust %d\n",
|