Home
last modified time | relevance | path

Searched refs:nf (Results 1 – 25 of 195) sorted by relevance

12345678

/freebsd-12-stable/sys/dev/ath/ath_hal/ar9002/
Dar9285.c46 int16_t nf; in ar9285GetNoiseFloor() local
48 nf = MS(OS_REG_READ(ah, AR_PHY_CCA), AR9280_PHY_MINCCA_PWR); in ar9285GetNoiseFloor()
49 if (nf & 0x100) in ar9285GetNoiseFloor()
50 nf = 0 - ((nf ^ 0x1ff) + 1); in ar9285GetNoiseFloor()
52 "NF calibrated [ctl] [chain 0] is %d\n", nf); in ar9285GetNoiseFloor()
53 nfarray[0] = nf; in ar9285GetNoiseFloor()
55 nf = MS(OS_REG_READ(ah, AR_PHY_EXT_CCA), AR9280_PHY_EXT_MINCCA_PWR); in ar9285GetNoiseFloor()
56 if (nf & 0x100) in ar9285GetNoiseFloor()
57 nf = 0 - ((nf ^ 0x1ff) + 1); in ar9285GetNoiseFloor()
59 "NF calibrated [ext] [chain 0] is %d\n", nf); in ar9285GetNoiseFloor()
[all …]
Dar9287.c299 int16_t nf; in ar9287GetNoiseFloor() local
301 nf = MS(OS_REG_READ(ah, AR_PHY_CCA), AR9280_PHY_MINCCA_PWR); in ar9287GetNoiseFloor()
302 if (nf & 0x100) in ar9287GetNoiseFloor()
303 nf = 0 - ((nf ^ 0x1ff) + 1); in ar9287GetNoiseFloor()
305 "NF calibrated [ctl] [chain 0] is %d\n", nf); in ar9287GetNoiseFloor()
306 nfarray[0] = nf; in ar9287GetNoiseFloor()
308 nf = MS(OS_REG_READ(ah, AR_PHY_CH1_CCA), AR9280_PHY_CH1_MINCCA_PWR); in ar9287GetNoiseFloor()
309 if (nf & 0x100) in ar9287GetNoiseFloor()
310 nf = 0 - ((nf ^ 0x1ff) + 1); in ar9287GetNoiseFloor()
312 "NF calibrated [ctl] [chain 1] is %d\n", nf); in ar9287GetNoiseFloor()
[all …]
Dar9280.c357 int16_t nf; in ar9280GetNoiseFloor() local
359 nf = MS(OS_REG_READ(ah, AR_PHY_CCA), AR9280_PHY_MINCCA_PWR); in ar9280GetNoiseFloor()
360 if (nf & 0x100) in ar9280GetNoiseFloor()
361 nf = 0 - ((nf ^ 0x1ff) + 1); in ar9280GetNoiseFloor()
363 "NF calibrated [ctl] [chain 0] is %d\n", nf); in ar9280GetNoiseFloor()
364 nfarray[0] = nf; in ar9280GetNoiseFloor()
366 nf = MS(OS_REG_READ(ah, AR_PHY_CH1_CCA), AR9280_PHY_CH1_MINCCA_PWR); in ar9280GetNoiseFloor()
367 if (nf & 0x100) in ar9280GetNoiseFloor()
368 nf = 0 - ((nf ^ 0x1ff) + 1); in ar9280GetNoiseFloor()
370 "NF calibrated [ctl] [chain 1] is %d\n", nf); in ar9280GetNoiseFloor()
[all …]
/freebsd-12-stable/sys/dev/ath/ath_hal/ar5416/
Dar2133.c442 int16_t nf; in ar2133GetNoiseFloor() local
453 nf = MS(OS_REG_READ(ah, AR_PHY_CH2_CCA), AR_PHY_CH2_MINCCA_PWR); in ar2133GetNoiseFloor()
454 if (nf & 0x100) in ar2133GetNoiseFloor()
455 nf = 0 - ((nf ^ 0x1ff) + 1); in ar2133GetNoiseFloor()
457 "NF calibrated [ctl] [chain 2] is %d\n", nf); in ar2133GetNoiseFloor()
458 nfarray[2] = nf; in ar2133GetNoiseFloor()
460 nf = MS(OS_REG_READ(ah, AR_PHY_CH2_EXT_CCA), AR_PHY_CH2_EXT_MINCCA_PWR); in ar2133GetNoiseFloor()
461 if (nf & 0x100) in ar2133GetNoiseFloor()
462 nf = 0 - ((nf ^ 0x1ff) + 1); in ar2133GetNoiseFloor()
464 "NF calibrated [ext] [chain 2] is %d\n", nf); in ar2133GetNoiseFloor()
[all …]
Dar5416_cal.c43 static void ar5416SanitizeNF(struct ath_hal *ah, int16_t *nf);
752 ar5416SanitizeNF(struct ath_hal *ah, int16_t *nf) in ar5416SanitizeNF() argument
764 if (!nf[i]) in ar5416SanitizeNF()
767 if (nf[i] > limit->max) { in ar5416SanitizeNF()
770 i, nf[i], limit->max); in ar5416SanitizeNF()
771 nf[i] = limit->max; in ar5416SanitizeNF()
772 } else if (nf[i] < limit->min) { in ar5416SanitizeNF()
775 i, nf[i], limit->min); in ar5416SanitizeNF()
776 nf[i] = limit->nominal; in ar5416SanitizeNF()
790 int16_t nf, nfThresh; in ar5416GetNf() local
[all …]
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/regex/
Dsplit.c217 int nf; in dosplit() local
219 nf = split(string, fields, NF, seps); in dosplit()
220 print(nf, NF, fields); in dosplit()
224 print(int nf, int nfp, char *fields) in print() argument
229 bound = (nf > nfp) ? nfp : nf; in print()
230 printf("%d:\t", nf); in print()
232 printf("\"%s\"%s", fields[fn], (fn+1 < nf) ? ", " : "\n"); in print()
239 int nf; member
310 int nf; in regress() local
318 nf = split(buf, fields, RNF, tests[n].seps); in regress()
[all …]
/freebsd-12-stable/lib/libc/regex/grot/
Dsplit.c189 int nf; in dosplit() local
191 nf = split(string, fields, NF, seps); in dosplit()
192 print(nf, NF, fields); in dosplit()
196 print(int nf, int nfp, char *fields[]) in print() argument
201 bound = (nf > nfp) ? nfp : nf; in print()
202 printf("%d:\t", nf); in print()
204 printf("\"%s\"%s", fields[fn], (fn+1 < nf) ? ", " : "\n"); in print()
211 int nf; member
282 int nf; in regress() local
290 nf = split(buf, fields, RNF, tests[n].seps); in regress()
[all …]
/freebsd-12-stable/usr.bin/mail/
Dedit.c140 FILE *nf = NULL; in run_editor() local
149 (nf = Fdopen(t, "w")) == NULL) { in run_editor()
160 (void)putc(t, nf); in run_editor()
163 (void)putc(t, nf); in run_editor()
164 (void)fflush(nf); in run_editor()
165 if (fstat(fileno(nf), &statb) < 0) in run_editor()
169 if (ferror(nf)) { in run_editor()
170 (void)Fclose(nf); in run_editor()
173 nf = NULL; in run_editor()
176 if (Fclose(nf) < 0) { in run_editor()
[all …]
Dcollect.c545 FILE *nf = run_editor(fp, (off_t)-1, c, 0); in mesedit() local
547 if (nf != NULL) { in mesedit()
548 (void)fseeko(nf, (off_t)0, SEEK_END); in mesedit()
549 collf = nf; in mesedit()
564 FILE *nf; in mespipe() local
572 (nf = Fdopen(fd, "w+")) == NULL) { in mespipe()
584 0, fileno(fp), fileno(nf), "-c", cmd, NULL) < 0) { in mespipe()
585 (void)Fclose(nf); in mespipe()
588 if (fsize(nf) == 0) { in mespipe()
590 (void)Fclose(nf); in mespipe()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
DIntrinsicsRISCV.td640 class RISCVUSSegLoad<int nf>
642 !add(nf, -1))),
647 class RISCVUSSegLoadMask<int nf>
649 !add(nf, -1))),
650 !listconcat(!listsplat(LLVMMatchType<0>, nf),
654 [NoCapture<ArgIndex<nf>>, IntrReadMem]>, RISCVVIntrinsic;
661 class RISCVUSSegLoadFF<int nf>
663 !add(nf, -1)), [llvm_anyint_ty]),
671 class RISCVUSSegLoadFFMask<int nf>
673 !add(nf, -1)), [llvm_anyint_ty]),
[all …]
/freebsd-12-stable/contrib/file/src/
Dis_csv.c94 size_t nf = 0, tf = 0, nl = 0; in csv_parse() local
103 nf++; in csv_parse()
106 DPRINTF("%zu %zu %zu\n", nl, nf, tf); in csv_parse()
110 return tf != 0 && tf == nf; in csv_parse()
114 if (nf == 0) in csv_parse()
117 tf = nf; in csv_parse()
118 } else if (tf != nf) { in csv_parse()
122 nf = 0; in csv_parse()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
DRISCVInstrInfoV.td148 // vl<nf>r.v vd, (rs1)
149 class VWholeLoad<bits<3> nf, RISCVWidth width, string opcodestr, RegisterClass VRC>
150 : RVInstVLU<nf, width.Value{3}, LUMOPUnitStrideWholeReg,
159 class VUnitStrideSegmentLoad<bits<3> nf, RISCVLSUMOP lumop,
161 : RVInstVLU<nf, width.Value{3}, lumop, width.Value{2-0},
166 class VStridedSegmentLoad<bits<3> nf, RISCVWidth width, string opcodestr>
167 : RVInstVLS<nf, width.Value{3}, width.Value{2-0},
173 class VIndexedSegmentLoad<bits<3> nf, RISCVMOP mop, RISCVWidth width,
175 : RVInstVLX<nf, width.Value{3}, mop, width.Value{2-0},
209 // vs<nf>r.v vd, (rs1)
[all …]
DRISCVInstrFormatsV.td217 class RVInstVLU<bits<3> nf, bit mew, RISCVLSUMOP lumop,
225 let Inst{31-29} = nf;
239 class RVInstVLS<bits<3> nf, bit mew, bits<3> width,
247 let Inst{31-29} = nf;
261 class RVInstVLX<bits<3> nf, bit mew, RISCVMOP mop, bits<3> width,
269 let Inst{31-29} = nf;
283 class RVInstVSU<bits<3> nf, bit mew, RISCVLSUMOP sumop,
291 let Inst{31-29} = nf;
304 class RVInstVSS<bits<3> nf, bit mew, bits<3> width,
312 let Inst{31-29} = nf;
[all …]
DRISCVRegisterInfo.td375 class SubRegSet<list<SubRegIndex> LIn, int start, int nf, int lmul> {
380 !if(!lt(i, nf),
385 class IndexSet<int index, int nf, int lmul> {
396 !sub(!add(32, !mul(index, lmul)), !mul(nf, lmul)))
400 class VRegList<list<dag> LIn, int start, int nf, int lmul, bit NoV0> {
402 !if(!ge(start, nf),
408 !tail(IndexSet<start, nf, lmul>.R),
409 [!head(IndexSet<start, nf, lmul>.R)]),
415 !size(!tail(IndexSet<start, nf, lmul>.R)),
416 !size([!head(IndexSet<start, nf, lmul>.R)]))))],
[all …]
/freebsd-12-stable/contrib/netbsd-tests/sbin/fsck_ffs/
Dt_enable_quotas.sh47 fsck_ffs -nf -F ${IMG}
53 atf_check -s exit:0 -o "match:1 files, 1 used" fsck_ffs -nf -F ${IMG}
67 atf_check -s exit:0 -o "match:3 files" fsck_ffs -nf -F ${IMG}
79 atf_check -s exit:0 -o "match:3 files" fsck_ffs -nf -F ${IMG}
104 atf_check -s exit:0 -o "match:3 files" fsck_ffs -nf -F ${IMG}
/freebsd-12-stable/sys/contrib/dev/ath/ath_hal/ar9300/
Dar9300_spectral.c590 int16_t nf; in ar9300_get_ctl_chan_nf() local
597 nf = MS(OS_REG_READ(ah, AR_PHY_CCA_0), AR_PHY_MINCCA_PWR); in ar9300_get_ctl_chan_nf()
600 nf = AH9300(ah)->nfp->nominal; in ar9300_get_ctl_chan_nf()
602 if (nf & 0x100) { in ar9300_get_ctl_chan_nf()
603 nf = (0 - ((nf ^ 0x1ff) + 1)); in ar9300_get_ctl_chan_nf()
605 return nf; in ar9300_get_ctl_chan_nf()
610 int16_t nf; in ar9300_get_ext_chan_nf() local
617 nf = MS(OS_REG_READ(ah, AR_PHY_EXT_CCA), AR_PHY_EXT_MINCCA_PWR); in ar9300_get_ext_chan_nf()
620 nf = AH9300(ah)->nfp->nominal; in ar9300_get_ext_chan_nf()
622 if (nf & 0x100) { in ar9300_get_ext_chan_nf()
[all …]
/freebsd-12-stable/contrib/nvi/ex/
Dex_shell.c151 int nf, pstat; in proc_wait() local
172 p = msg_print(sp, cmd, &nf); in proc_wait()
178 if (nf) in proc_wait()
194 p = msg_print(sp, cmd, &nf); in proc_wait()
199 if (nf) in proc_wait()
/freebsd-12-stable/usr.sbin/bluetooth/btpand/
Dbnep.c410 int i, nf, rsp; in bnep_recv_filter_net_type_set() local
427 nf = len / 4; in bnep_recv_filter_net_type_set()
428 pf = malloc(nf * sizeof(pfilter_t)); in bnep_recv_filter_net_type_set()
434 log_debug("nf = %d", nf); in bnep_recv_filter_net_type_set()
436 for (i = 0; i < nf; i++) { in bnep_recv_filter_net_type_set()
455 chan->npfilter = nf; in bnep_recv_filter_net_type_set()
493 int i, nf, rsp; in bnep_recv_filter_multi_addr_set() local
510 nf = len / (ETHER_ADDR_LEN * 2); in bnep_recv_filter_multi_addr_set()
511 mf = malloc(nf * sizeof(mfilter_t)); in bnep_recv_filter_multi_addr_set()
517 log_debug("nf = %d", nf); in bnep_recv_filter_multi_addr_set()
[all …]
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Basic/
Driscv_vector.td779 class PVString<int nf, bit signed> {
781 !cond(!eq(nf, 2): !if(signed, "PvPv", "PUvPUv"),
782 !eq(nf, 3): !if(signed, "PvPvPv", "PUvPUvPUv"),
783 !eq(nf, 4): !if(signed, "PvPvPvPv", "PUvPUvPUvPUv"),
784 !eq(nf, 5): !if(signed, "PvPvPvPvPv", "PUvPUvPUvPUvPUv"),
785 !eq(nf, 6): !if(signed, "PvPvPvPvPvPv", "PUvPUvPUvPUvPUvPUv"),
786 !eq(nf, 7): !if(signed, "PvPvPvPvPvPvPv", "PUvPUvPUvPUvPUvPUvPUv"),
787 !eq(nf, 8): !if(signed, "PvPvPvPvPvPvPvPv", "PUvPUvPUvPUvPUvPUvPUvPUv"));
799 foreach nf = NFList in {
800 let Name = op # nf # "e" # eew # "_v",
[all …]
/freebsd-12-stable/sys/dev/ath/
Dif_ath_rx.c337 int subtype, const struct ieee80211_rx_stats *rxs, int rssi, int nf) in ath_recv_mgmt() argument
363 ATH_VAP(vap)->av_recv_mgmt(ni, m, subtype, rxs, rssi, nf); in ath_recv_mgmt()
512 const struct ath_rx_status *rs, u_int64_t tsf, int16_t nf) in ath_rx_tap_vendor() argument
577 const struct ath_rx_status *rs, u_int64_t tsf, int16_t nf) in ath_rx_tap() argument
624 sc->sc_rx_th.wr_antnoise = nf; in ath_rx_tap()
625 sc->sc_rx_th.wr_antsignal = nf + rs->rs_rssi; in ath_rx_tap()
659 uint64_t tsf, int nf, HAL_RX_QUEUE qtype, struct ath_buf *bf, in ath_rx_pkt() argument
770 ath_rx_tap(sc, m, rs, rstamp, nf); in ath_rx_pkt()
772 ath_rx_tap_vendor(sc, m, rs, rstamp, nf); in ath_rx_pkt()
883 ath_rx_tap(sc, m, rs, rstamp, nf); in ath_rx_pkt()
[all …]
/freebsd-12-stable/sys/dev/ath/ath_hal/ar5210/
Dar5210_reset.c940 int16_t nf; in ar5210GetNoiseFloor() local
942 nf = (OS_REG_READ(ah, AR_PHY(25)) >> 19) & 0x1ff; in ar5210GetNoiseFloor()
943 if (nf & 0x100) in ar5210GetNoiseFloor()
944 nf = 0 - ((nf ^ 0x1ff) + 1); in ar5210GetNoiseFloor()
945 return nf; in ar5210GetNoiseFloor()
958 int32_t nf, nfLoops; in ar5210CalNoiseFloor() local
977 nf = 0; in ar5210CalNoiseFloor()
979 for (nfLoops = 0; ((nfLoops < 21) && (nf > NORMAL_NF_THRESH)); nfLoops++) { in ar5210CalNoiseFloor()
981 nf = ar5210GetNoiseFloor(ah); in ar5210CalNoiseFloor()
984 if (nf > NORMAL_NF_THRESH) { in ar5210CalNoiseFloor()
[all …]
/freebsd-12-stable/tests/sys/netinet6/frag6/
Dfrag6_05.sh50 nf=`jexec ${jname} sysctl -n net.inet6.ip6.frag6_nfragpackets`
51 case ${nf} in
53 *) atf_fail "VNET frag6_nfragpackets not 0 but: ${nf}" ;;
55 nf=`sysctl -n net.inet6.ip6.frag6_nfrags`
56 case ${nf} in
58 *) atf_fail "Global frag6_nfrags not 0 but: ${nf}" ;;
243 nf=`jexec ${jname} sysctl -n net.inet6.ip6.frag6_nfragpackets`
244 case ${nf} in
246 *) atf_fail "VNET frag6_nfragpackets not 0 but: ${nf}" ;;
248 nf=`sysctl -n net.inet6.ip6.frag6_nfrags`
[all …]
Dfrag6_04.sh55 nf=`jexec ${jname} sysctl -n net.inet6.ip6.frag6_nfragpackets`
56 case ${nf} in
58 *) atf_fail "VNET frag6_nfragpackets not 0 but: ${nf}" ;;
60 nf=`sysctl -n net.inet6.ip6.frag6_nfrags`
61 case ${nf} in
63 *) atf_fail "Global frag6_nfrags not 0 but: ${nf}" ;;
Dfrag6_02.sh55 nf=`jexec ${jname} sysctl -n net.inet6.ip6.frag6_nfragpackets`
56 case ${nf} in
58 *) atf_fail "VNET frag6_nfragpackets not 0 but: ${nf}" ;;
60 nf=`sysctl -n net.inet6.ip6.frag6_nfrags`
61 case ${nf} in
63 *) atf_fail "Global frag6_nfrags not 0 but: ${nf}" ;;
Dfrag6_07.sh50 nf=`jexec ${jname} sysctl -n net.inet6.ip6.frag6_nfragpackets`
51 case ${nf} in
53 *) atf_fail "VNET frag6_nfragpackets not 0 but: ${nf}" ;;
55 nf=`sysctl -n net.inet6.ip6.frag6_nfrags`
56 case ${nf} in
58 *) atf_fail "Global frag6_nfrags not 0 but: ${nf}" ;;

12345678