/freebsd/sys/dev/ath/ath_hal/ar9002/ |
H A D | ar9285.c | 44 int16_t nf; in ar9285GetNoiseFloor() local 46 nf = MS(OS_REG_READ(ah, AR_PHY_CCA), AR9280_PHY_MINCCA_PWR); in ar9285GetNoiseFloor() 47 if (nf & 0x100) in ar9285GetNoiseFloor() 48 nf = 0 - ((nf ^ 0x1ff) + 1); in ar9285GetNoiseFloor() 50 "NF calibrated [ctl] [chain 0] is %d\n", nf); in ar9285GetNoiseFloor() 51 nfarray[0] = nf; in ar9285GetNoiseFloor() 53 nf = MS(OS_REG_READ(ah, AR_PHY_EXT_CCA), AR9280_PHY_EXT_MINCCA_PWR); in ar9285GetNoiseFloor() 54 if (nf & 0x100) in ar9285GetNoiseFloor() 55 nf = 0 - ((nf ^ 0x1ff) + 1); in ar9285GetNoiseFloor() 57 "NF calibrated [ext] [chain 0] is %d\n", nf); in ar9285GetNoiseFloor() [all …]
|
H A D | ar9280.c | 355 int16_t nf; in ar9280GetNoiseFloor() local 358 if (nf & 0x100) in ar9280GetNoiseFloor() 359 nf = 0 - ((nf ^ 0x1ff) + 1); in ar9280GetNoiseFloor() 362 nfarray[0] = nf; in ar9280GetNoiseFloor() 365 if (nf & 0x100) in ar9280GetNoiseFloor() 366 nf = 0 - ((nf ^ 0x1ff) + 1); in ar9280GetNoiseFloor() 369 nfarray[1] = nf; in ar9280GetNoiseFloor() 372 if (nf & 0x100) in ar9280GetNoiseFloor() 373 nf = 0 - ((nf ^ 0x1ff) + 1); in ar9280GetNoiseFloor() 379 if (nf & 0x100) in ar9280GetNoiseFloor() [all …]
|
H A D | ar9287.c | 297 int16_t nf; in ar9287GetNoiseFloor() local 300 if (nf & 0x100) in ar9287GetNoiseFloor() 301 nf = 0 - ((nf ^ 0x1ff) + 1); in ar9287GetNoiseFloor() 304 nfarray[0] = nf; in ar9287GetNoiseFloor() 307 if (nf & 0x100) in ar9287GetNoiseFloor() 308 nf = 0 - ((nf ^ 0x1ff) + 1); in ar9287GetNoiseFloor() 311 nfarray[1] = nf; in ar9287GetNoiseFloor() 314 if (nf & 0x100) in ar9287GetNoiseFloor() 315 nf = 0 - ((nf ^ 0x1ff) + 1); in ar9287GetNoiseFloor() 321 if (nf & 0x100) in ar9287GetNoiseFloor() [all …]
|
/freebsd/contrib/netbsd-tests/lib/libc/regex/ |
H A D | split.c | 217 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() 239 int nf; member 310 int nf; in regress() local 320 if (nf != tests[n].nf) { in regress() 322 tests[n].str, tests[n].seps, nf, tests[n].nf); in regress() [all …]
|
/freebsd/lib/libc/regex/grot/ |
H A D | split.c | 186 int nf; in dosplit() local 188 nf = split(string, fields, NF, seps); in dosplit() 189 print(nf, NF, fields); in dosplit() 193 print(int nf, int nfp, char *fields[]) in print() argument 198 bound = (nf > nfp) ? nfp : nf; in print() 199 printf("%d:\t", nf); in print() 208 int nf; member 279 int nf; in regress() local 289 if (nf != tests[n].nf) { in regress() 291 tests[n].str, tests[n].seps, nf, tests[n].nf); in regress() [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5416/ |
H A D | ar2133.c | 440 int16_t nf; in ar2133GetNoiseFloor() local 452 if (nf & 0x100) in ar2133GetNoiseFloor() 453 nf = 0 - ((nf ^ 0x1ff) + 1); in ar2133GetNoiseFloor() 459 if (nf & 0x100) in ar2133GetNoiseFloor() 460 nf = 0 - ((nf ^ 0x1ff) + 1); in ar2133GetNoiseFloor() 468 if (nf & 0x100) in ar2133GetNoiseFloor() 469 nf = 0 - ((nf ^ 0x1ff) + 1); in ar2133GetNoiseFloor() 475 if (nf & 0x100) in ar2133GetNoiseFloor() 476 nf = 0 - ((nf ^ 0x1ff) + 1); in ar2133GetNoiseFloor() 484 nf = 0 - ((nf ^ 0x1ff) + 1); in ar2133GetNoiseFloor() [all …]
|
H A D | ar5416_cal.c | 762 if (!nf[i]) in ar5416SanitizeNF() 765 if (nf[i] > limit->max) { in ar5416SanitizeNF() 788 int16_t nf, nfThresh; in ar5416GetNf() local 795 nf = 0; in ar5416GetNf() 804 nf = nfarray[0]; in ar5416GetNf() 807 if (nf > nfThresh) { in ar5416GetNf() 811 nf, nfThresh); in ar5416GetNf() 818 nf = 0; in ar5416GetNf() 822 nf = 0; in ar5416GetNf() 833 ichan->rawNoiseFloor = nf; in ar5416GetNf() [all …]
|
/freebsd/usr.bin/mail/ |
H A D | edit.c | 132 FILE *nf = NULL; in run_editor() local 152 (void)putc(t, nf); in run_editor() 155 (void)putc(t, nf); in run_editor() 156 (void)fflush(nf); in run_editor() 161 if (ferror(nf)) { in run_editor() 162 (void)Fclose(nf); in run_editor() 165 nf = NULL; in run_editor() 168 if (Fclose(nf) < 0) { in run_editor() 171 nf = NULL; in run_editor() 174 nf = NULL; in run_editor() [all …]
|
H A D | collect.c | 537 FILE *nf = run_editor(fp, (off_t)-1, c, 0); in mesedit() local 539 if (nf != NULL) { in mesedit() 540 (void)fseeko(nf, (off_t)0, SEEK_END); in mesedit() 541 collf = nf; in mesedit() 556 FILE *nf; in mespipe() local 564 (nf = Fdopen(fd, "w+")) == NULL) { in mespipe() 577 (void)Fclose(nf); in mespipe() 580 if (fsize(nf) == 0) { in mespipe() 582 (void)Fclose(nf); in mespipe() 588 (void)fseeko(nf, (off_t)0, SEEK_END); in mespipe() [all …]
|
/freebsd/contrib/file/src/ |
H A D | is_csv.c | 94 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/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | IntrinsicsRISCV.td | 1013 [ImmArg<ArgIndex<!add(nf, 3)>>, NoCapture<ArgIndex<nf>>, 1044 [ImmArg<ArgIndex<!add(nf, 3)>>, NoCapture<ArgIndex<nf>>]>, 1687 defm vlseg # nf : RISCVUSSegLoad<nf>; 1688 defm vlseg # nf # ff : RISCVUSSegLoadFF<nf>; 1689 defm vlsseg # nf : RISCVSSegLoad<nf>; 1690 defm vloxseg # nf : RISCVISegLoad<nf>; 1691 defm vluxseg # nf : RISCVISegLoad<nf>; 1692 defm vsseg # nf : RISCVUSSegStore<nf>; 1693 defm vssseg # nf : RISCVSSegStore<nf>; 1694 defm vsoxseg # nf : RISCVISegStore<nf>; [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVInstrInfoV.td | 244 class VLSEGSchedMC<int nf, int eew> : VLSEGSched<nf, eew, "WorstCase", 251 class VSSEGSchedMC<int nf, int eew> : VSSEGSched<nf, eew, "WorstCase", 258 class VLSEGFFSchedMC<int nf, int eew> : VLSEGFFSched<nf, eew, "WorstCase", 266 class VLSSEGSchedMC<int nf, int eew> : VLSSEGSched<nf, eew, "WorstCase", 274 class VSSSEGSchedMC<int nf, int eew> : VSSSEGSched<nf, eew, "WorstCase", 381 // vs<nf>r.v vd, (rs1) 1715 foreach nf=2-8 in { 1730 VStridedSegmentLoad<!add(nf, -1), w, "vlsseg"#nf#"e"#eew#".v">, 1733 VStridedSegmentStore<!add(nf, -1), w, "vssseg"#nf#"e"#eew#".v">, 1758 foreach nf=2-8 in { [all …]
|
H A D | RISCVInstrFormatsV.td | 205 class RVInstVLU<bits<3> nf, bit mew, RISCVLSUMOP lumop, 213 let Inst{31-29} = nf; 227 class RVInstVLS<bits<3> nf, bit mew, bits<3> width, 235 let Inst{31-29} = nf; 249 class RVInstVLX<bits<3> nf, bit mew, RISCVMOP mop, bits<3> width, 257 let Inst{31-29} = nf; 271 class RVInstVSU<bits<3> nf, bit mew, RISCVLSUMOP sumop, 279 let Inst{31-29} = nf; 292 class RVInstVSS<bits<3> nf, bit mew, bits<3> width, 300 let Inst{31-29} = nf; [all …]
|
/freebsd/contrib/netbsd-tests/sbin/fsck_ffs/ |
H A D | t_enable_quotas.sh | 47 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/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_spectral.c | 590 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 620 nf = AH9300(ah)->nfp->nominal; in ar9300_get_ext_chan_nf() 622 if (nf & 0x100) { in ar9300_get_ext_chan_nf() 623 nf = (0 - ((nf ^ 0x1ff) + 1)); in ar9300_get_ext_chan_nf() [all …]
|
/freebsd/contrib/nvi/ex/ |
H A D | ex_shell.c | 151 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/usr.sbin/bluetooth/btpand/ |
H A D | bnep.c | 409 int i, nf, rsp; in bnep_recv_filter_net_type_set() local 426 nf = len / 4; in bnep_recv_filter_net_type_set() 427 pf = malloc(nf * sizeof(pfilter_t)); in bnep_recv_filter_net_type_set() 433 log_debug("nf = %d", nf); in bnep_recv_filter_net_type_set() 435 for (i = 0; i < nf; i++) { in bnep_recv_filter_net_type_set() 454 chan->npfilter = nf; in bnep_recv_filter_net_type_set() 492 int i, nf, rsp; in bnep_recv_filter_multi_addr_set() local 509 nf = len / (ETHER_ADDR_LEN * 2); in bnep_recv_filter_multi_addr_set() 516 log_debug("nf = %d", nf); in bnep_recv_filter_multi_addr_set() 518 for (i = 0; i < nf; i++) { in bnep_recv_filter_multi_addr_set() [all …]
|
/freebsd/contrib/expat/tests/ |
H A D | runtests.c | 82 int i, nf; in main() local 112 nf = srunner_ntests_failed(sr); in main() 115 return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE; in main()
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | riscv_vector.td | 738 IRName = op # nf, 740 NF = nf, 799 IRName = op # nf, 801 NF = nf, 854 NF = nf, 929 NF = nf, 991 NF = nf, 1042 NF = nf, 1103 NF = nf, 2347 let NF = nf in { [all …]
|
/freebsd/sys/dev/ath/ |
H A D | if_ath_rx.c | 623 sc->sc_rx_th.wr_antnoise = nf; in ath_rx_tap() 624 sc->sc_rx_th.wr_antsignal = nf + rs->rs_rssi; in ath_rx_tap() 772 ath_rx_tap(sc, m, rs, rstamp, nf); in ath_rx_pkt() 774 ath_rx_tap_vendor(sc, m, rs, rstamp, nf); in ath_rx_pkt() 885 ath_rx_tap(sc, m, rs, rstamp, nf); in ath_rx_pkt() 887 ath_rx_tap_vendor(sc, m, rs, rstamp, nf); in ath_rx_pkt() 943 rxs.c_nf = nf; in ath_rx_pkt() 954 rxs.c_nf_ctl[i] = nf; in ath_rx_pkt() 955 rxs.c_nf_ext[i] = nf; in ath_rx_pkt() 1085 int16_t nf; in ath_rx_proc() local [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5210/ |
H A D | ar5210_reset.c | 938 int16_t nf; in ar5210GetNoiseFloor() local 940 nf = (OS_REG_READ(ah, AR_PHY(25)) >> 19) & 0x1ff; in ar5210GetNoiseFloor() 941 if (nf & 0x100) in ar5210GetNoiseFloor() 942 nf = 0 - ((nf ^ 0x1ff) + 1); in ar5210GetNoiseFloor() 943 return nf; in ar5210GetNoiseFloor() 956 int32_t nf, nfLoops; in ar5210CalNoiseFloor() local 975 nf = 0; in ar5210CalNoiseFloor() 979 nf = ar5210GetNoiseFloor(ah); in ar5210CalNoiseFloor() 982 if (nf > NORMAL_NF_THRESH) { in ar5210CalNoiseFloor() 984 __func__, nf); in ar5210CalNoiseFloor() [all …]
|
/freebsd/tests/sys/netinet6/frag6/ |
H A D | frag6_05.sh | 49 nf=`jexec ${jname} sysctl -n net.inet6.ip6.frag6_nfragpackets` 50 case ${nf} in 52 *) atf_fail "VNET frag6_nfragpackets not 0 but: ${nf}" ;; 54 nf=`sysctl -n net.inet6.ip6.frag6_nfrags` 55 case ${nf} in 57 *) atf_fail "Global frag6_nfrags not 0 but: ${nf}" ;; 243 case ${nf} in 245 *) atf_fail "VNET frag6_nfragpackets not 0 but: ${nf}" ;; 247 nf=`sysctl -n net.inet6.ip6.frag6_nfrags` 248 case ${nf} in [all …]
|
H A D | frag6_04.sh | 54 nf=`jexec ${jname} sysctl -n net.inet6.ip6.frag6_nfragpackets` 55 case ${nf} in 57 *) atf_fail "VNET frag6_nfragpackets not 0 but: ${nf}" ;; 59 nf=`sysctl -n net.inet6.ip6.frag6_nfrags` 60 case ${nf} in 62 *) atf_fail "Global frag6_nfrags not 0 but: ${nf}" ;;
|
H A D | frag6_11.sh | 54 nf=`jexec ${jname} sysctl -n net.inet6.ip6.frag6_nfragpackets` 55 case ${nf} in 57 *) atf_fail "VNET frag6_nfragpackets not 0 but: ${nf}" ;; 59 nf=`sysctl -n net.inet6.ip6.frag6_nfrags` 60 case ${nf} in 62 *) atf_fail "Global frag6_nfrags not 0 but: ${nf}" ;;
|
/freebsd/contrib/netbsd-tests/sbin/newfs/ |
H A D | t_enable_quotas.sh | 46 fsck_ffs -nf -F ${IMG} 56 fsck_ffs -nf -F ${IMG}
|