HomeSort by: relevance | last modified time | path
    Searched defs:nf (Results 1 - 25 of 44) sorted by relevancy

1 2

  /src/sys/external/isc/atheros_hal/dist/ar5416/
ar9285.c 34 int16_t nf; local in function:ar9285GetNoiseFloor
36 nf = MS(OS_REG_READ(ah, AR_PHY_CCA), AR9280_PHY_MINCCA_PWR);
37 if (nf & 0x100)
38 nf = 0 - ((nf ^ 0x1ff) + 1);
40 "NF calibrated [ctl] [chain 0] is %d\n", nf);
41 nfarray[0] = nf;
45 nf = MS(OS_REG_READ(ah, AR_PHY_EXT_CCA), AR9280_PHY_EXT_MINCCA_PWR);
46 if (nf & 0x100
    [all...]
ar2133.c 335 int16_t nf; local in function:ar2133GetNoiseFloor
339 nf = MS(OS_REG_READ(ah, AR_PHY_CH2_CCA), AR_PHY_CH2_MINCCA_PWR);
340 if (nf & 0x100)
341 nf = 0 - ((nf ^ 0x1ff) + 1);
343 "NF calibrated [ctl] [chain 2] is %d\n", nf);
344 nfarray[4] = nf;
346 nf = MS(OS_REG_READ(ah, AR_PHY_CH2_EXT_CCA), AR_PHY_CH2_EXT_MINCCA_PWR);
347 if (nf & 0x100
    [all...]
ar5416_cal.c 27 #include "ar5212/ar5212.h" /* for NF cal related declarations */
218 * Do NF calibration after DC offset and other CALs.
223 /* XXX this actually kicks off a NF calibration -adrian */
226 * Try to make sure the above NF cal completes, just so
230 HALDEBUG(ah, HAL_DEBUG_ANY, "%s: initial NF calibration did "
448 /* Do NF cal only at longer intervals */
451 * Get the value from the previous NF cal
457 * Load the NF from history buffer of the current channel.
458 * NF is slow time-variant, so it is OK to use a
463 /* start NF calibration, without updating BB NF register*
653 int16_t nf, nfThresh; local in function:ar5416GetNf
    [all...]
ar9280.c 271 int16_t nf; local in function:ar9280GetNoiseFloor
273 nf = MS(OS_REG_READ(ah, AR_PHY_CCA), AR9280_PHY_MINCCA_PWR);
274 if (nf & 0x100)
275 nf = 0 - ((nf ^ 0x1ff) + 1);
277 "NF calibrated [ctl] [chain 0] is %d\n", nf);
278 nfarray[0] = nf;
280 nf = MS(OS_REG_READ(ah, AR_PHY_CH1_CCA), AR9280_PHY_CH1_MINCCA_PWR);
281 if (nf & 0x100
    [all...]
  /src/sys/arch/i386/stand/efiboot/
devopen.c 160 const struct netboot_fstab *nf; local in function:devopen
197 nf = netboot_fstab_find(devname);
198 if (nf != NULL) {
206 memcpy(&file_system[n++], nf->ops,
253 nf = netboot_fstab_findn(fname, fsnamelen);
254 if (nf == NULL ||
262 memcpy(file_system, nf->ops, sizeof(struct fs_ops));
  /src/usr.bin/mail/
edit.c 61 FILE *nf = NULL; local in function:run_editor
80 if ((nf = Fdopen(t, "wef")) == NULL) {
88 (void)putc(t, nf);
91 (void)putc(t, nf);
92 (void)fflush(nf);
93 if (ferror(nf)) {
94 (void)Fclose(nf);
97 nf = NULL;
100 if (fstat(fileno(nf), &statb) < 0)
104 if (Fclose(nf) < 0)
    [all...]
collect.c 132 FILE *nf; local in function:mesedit
136 nf = run_editor(fp, (off_t)-1, c, 0);
137 if (nf != NULL) {
138 (void)fseek(nf, 0L, 2);
139 collf = nf;
155 FILE *nf; local in function:mespipe
168 (nf = Fdopen(fd, "wef+")) == NULL) {
182 NULL, fileno(fp), fileno(nf), "-c", cmd, NULL) < 0) {
183 (void)Fclose(nf);
186 if (fsize(nf) == 0)
    [all...]
  /src/sys/arch/sun3/sun3/
autoconf.c 187 struct prom_n2f *nf; local in function:cpu_rootconf
213 for (nf = prom_dev_table; nf->func; nf++)
214 if (!strcmp(nf->name, promname)) {
215 find = nf->func;
  /src/sys/arch/sun68k/sun68k/
autoconf.c 315 struct prom_n2f *nf; local in function:cpu_rootconf
344 for (nf = prom_dev_table; nf->func; nf++)
345 if (!strcmp(nf->name, promname)) {
346 find = nf->func;
  /src/tests/lib/libc/regex/
split.c 215 # define NF 5
216 char *fields[NF];
217 int nf; local in function:dosplit
219 nf = split(string, fields, NF, seps);
220 print(nf, NF, fields);
224 print(int nf, int nfp, char *fields)
229 bound = (nf > nfp) ? nfp : nf;
239 int nf; member in struct:__anon7b9878e50108
310 int nf; local in function:regress
    [all...]
main.c 171 int nf; local in function:regress
187 nf = split(inbuf, f, MAXF, "\t\t");
188 if (nf < 3) {
192 for (i = 0; i < nf; i++)
195 if (nf <= 3)
197 if (nf <= 4)
  /src/usr.sbin/btpand/
bnep.c 414 int i, nf, rsp; local in function:bnep_recv_filter_net_type_set
431 nf = len / 4;
432 if (nf > BNEP_MAX_NET_TYPE_FILTERS) {
436 pf = malloc(nf * sizeof(pfilter_t));
442 log_debug("nf = %d", nf);
444 for (i = 0; i < nf; i++) {
463 chan->npfilter = nf;
500 int i, nf, rsp; local in function:bnep_recv_filter_multi_addr_set
517 nf = len / (ETHER_ADDR_LEN * 2)
    [all...]
  /src/sys/dev/raidframe/
rf_pqdegdags.c 403 int nf = asmap->numDataFailed; local in function:RF_CREATE_DAG_FUNC_DECL
406 if (nf == 2)
409 if ((nf == 2) && (sum == (2 * sectorsPerSU))) {
414 if ((nf == asmap->numStripeUnitsAccessed) || (sum >= sectorsPerSU)) {
  /src/lib/libedit/
map.c 1406 size_t nf = el->el_map.nfunc + 1; local in function:map_addfunc
1411 if ((p = el_realloc(el->el_map.func, nf *
1415 if ((p = el_realloc(el->el_map.help, nf * sizeof(*el->el_map.help)))
1420 nf = (size_t)el->el_map.nfunc;
1421 el->el_map.func[nf] = func;
1423 el->el_map.help[nf].name = name;
1424 el->el_map.help[nf].func = (int)nf;
1425 el->el_map.help[nf].description = help;
  /src/games/rogue/
room.c 287 short i, j, nf = 0; local in function:party_objects
312 nf++;
315 return(nf);
  /src/sys/dev/ic/
rtwphy.c 195 int n = freq / 4, nf = (freq % 4) * 2; local in function:rtw_sa2400_tune
197 syna = __SHIFTIN(nf, SA2400_SYNA_NF_MASK) | __SHIFTIN(n, SA2400_SYNA_N_MASK);
  /src/sys/external/isc/atheros_hal/dist/ar5210/
ar5210_misc.c 382 uint32_t nf; local in function:ar5210GetRandomSeed
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);
ar5210_reset.c 531 /* AGC calibration (this was added to make the NF threshold check work) */
937 int16_t nf; local in function:ar5210GetNoiseFloor
939 nf = (OS_REG_READ(ah, AR_PHY(25)) >> 19) & 0x1ff;
940 if (nf & 0x100)
941 nf = 0 - ((nf ^ 0x1ff) + 1);
942 return nf;
955 int32_t nf, nfLoops; local in function:ar5210CalNoiseFloor
964 ath_hal_printf(ah, " -PHY NF Reg state: 0x%x\n",
974 nf = 0
    [all...]
  /src/lib/libc/gdtoa/
strtod.c 100 e, e1, esign, i, j, k, nd, nd0, nf, nz, nz0, sign; local in function:_int_strtod_l
197 for(nd = nf = 0; (c = *s) >= '0' && c <= '9'; nd++, s++)
222 nf += nz;
232 nf += nz;
296 if (match(&s,"nf")) {
332 e1 = e -= nf;
strtodg.c 334 int j, k, nbits, nd, nd0, nf, nz, nz0, rd, rvbits, rve, rve1, sign; local in function:strtodg
402 for(nd = nf = 0; (c = *s) >= '0' && c <= '9'; nd++, s++)
427 nf += nz;
437 nf += nz;
500 if (match(&s,"nf")) {
528 e1 = e -= nf;
  /src/sys/arch/arm/rockchip/
rk_cru_pll.c 117 const u_int nf = __SHIFTOUT(con1, RK3288_CLKF) + 1; local in function:rk_cru_pll_get_rate
119 const uint64_t tmp = (uint64_t)fref * nf / nr / no;
  /src/sys/external/isc/atheros_hal/dist/ar5211/
ar5211_misc.c 379 uint32_t nf; local in function:ar5211GetRandomSeed
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);
  /src/lib/libpuffs/
framebuf.c 808 size_t nf = 0; local in function:puffs__framev_addfd_ctrl
812 EV_SET(&kev[nf], fd, EVFILT_READ, EV_ADD|readenable, 0, 0, fio);
813 nf++;
815 EV_SET(&kev[nf], fd, EVFILT_WRITE,
817 nf++;
819 rv = kevent(pu->pu_kq, kev, nf, NULL, 0, NULL);
  /src/sys/external/isc/atheros_hal/dist/
ah.c 767 * If nf cal hasn't finished, channel noise floor should be 0
797 * a relative minimization of NF's based on the lowest NF found across a
810 * for statistically recorded NF/channel deviation.
816 int16_t nf; local in function:ath_hal_process_noisefloor
823 nf = c->rawNoiseFloor + NOISE_FLOOR[mode] +
826 if (nf < lowest5) {
827 lowest5 = nf;
832 if (nf < lowest2) {
833 lowest2 = nf;
    [all...]
  /src/sys/external/isc/atheros_hal/dist/ar5212/
ar5212_misc.c 329 uint32_t nf; local in function:ar5212GetRandomSeed
331 nf = (OS_REG_READ(ah, AR_PHY(25)) >> 19) & 0x1ff;
332 if (nf & 0x100)
333 nf = 0 - ((nf ^ 0x1ff) + 1);
335 OS_REG_READ(ah, AR_TSF_L32) ^ nf);
745 * Adjust NF based on statistical values for 5GHz frequencies.
1078 * Check whether there's an in-progress NF completion.
1080 * Returns AH_TRUE if there's a in-progress NF calibration, AH_FALSE
1092 * Wait for an in-progress NF calibration to complete
    [all...]

Completed in 30 milliseconds

1 2