/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 | ar9287.c | 297 int16_t nf; in ar9287GetNoiseFloor() local 299 nf = MS(OS_REG_READ(ah, AR_PHY_CCA), AR9280_PHY_MINCCA_PWR); in ar9287GetNoiseFloor() 300 if (nf & 0x100) in ar9287GetNoiseFloor() 301 nf = 0 - ((nf ^ 0x1ff) + 1); in ar9287GetNoiseFloor() 303 "NF calibrated [ctl] [chain 0] is %d\n", nf); in ar9287GetNoiseFloor() 304 nfarray[0] = nf; in ar9287GetNoiseFloor() 306 nf = MS(OS_REG_READ(ah, AR_PHY_CH1_CCA), AR9280_PHY_CH1_MINCCA_PWR); in ar9287GetNoiseFloor() 307 if (nf & 0x100) in ar9287GetNoiseFloor() 308 nf = 0 - ((nf ^ 0x1ff) + 1); in ar9287GetNoiseFloor() 310 "NF calibrated [ctl] [chain 1] is %d\n", nf); in ar9287GetNoiseFloor() [all …]
|
H A D | ar9280.c | 355 int16_t nf; in ar9280GetNoiseFloor() local 357 nf = MS(OS_REG_READ(ah, AR_PHY_CCA), AR9280_PHY_MINCCA_PWR); in ar9280GetNoiseFloor() 358 if (nf & 0x100) in ar9280GetNoiseFloor() 359 nf = 0 - ((nf ^ 0x1ff) + 1); in ar9280GetNoiseFloor() 361 "NF calibrated [ctl] [chain 0] is %d\n", nf); in ar9280GetNoiseFloor() 362 nfarray[0] = nf; in ar9280GetNoiseFloor() 364 nf = MS(OS_REG_READ(ah, AR_PHY_CH1_CCA), AR9280_PHY_CH1_MINCCA_PWR); in ar9280GetNoiseFloor() 365 if (nf & 0x100) in ar9280GetNoiseFloor() 366 nf = 0 - ((nf ^ 0x1ff) + 1); in ar9280GetNoiseFloor() 368 "NF calibrated [ctl] [chain 1] is %d\n", nf); in ar9280GetNoiseFloor() [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5416/ |
H A D | ar2133.c | 440 int16_t nf; in ar2133GetNoiseFloor() local 443 * Blank nf array - some chips may only in ar2133GetNoiseFloor() 451 nf = MS(OS_REG_READ(ah, AR_PHY_CH2_CCA), AR_PHY_CH2_MINCCA_PWR); in ar2133GetNoiseFloor() 452 if (nf & 0x100) in ar2133GetNoiseFloor() 453 nf = 0 - ((nf ^ 0x1ff) + 1); in ar2133GetNoiseFloor() 455 "NF calibrated [ctl] [chain 2] is %d\n", nf); in ar2133GetNoiseFloor() 456 nfarray[2] = nf; in ar2133GetNoiseFloor() 458 nf = MS(OS_REG_READ(ah, AR_PHY_CH2_EXT_CCA), AR_PHY_CH2_EXT_MINCCA_PWR); in ar2133GetNoiseFloor() 459 if (nf & 0x100) in ar2133GetNoiseFloor() 460 nf = 0 - ((nf ^ 0x1ff) + 1); in ar2133GetNoiseFloor() [all …]
|
H A D | ar5416_cal.c | 27 #include "ar5212/ar5212.h" /* for NF cal related declarations */ 41 static void ar5416SanitizeNF(struct ath_hal *ah, int16_t *nf); 264 * Do NF calibration after DC offset and other CALs. in ar5416InitCal() 493 /* Do NF cal only at longer intervals */ in ar5416PerCalibrationN() 504 * Get the value from the previous NF cal in ar5416PerCalibrationN() 509 /* NF calibration result isn't valid */ in ar5416PerCalibrationN() 510 HALDEBUG(ah, HAL_DEBUG_UNMASKABLE, "%s: NF calibration" in ar5416PerCalibrationN() 515 * NF calibration result is valid. in ar5416PerCalibrationN() 517 * Load the NF from history buffer of the current channel. in ar5416PerCalibrationN() 518 * NF is slow time-variant, so it is OK to use a in ar5416PerCalibrationN() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | IntrinsicsRISCV.td | 1010 class RISCVUSSegLoad<int nf> 1012 !add(nf, -1))), 1013 !listconcat(!listsplat(LLVMMatchType<0>, nf), 1015 [NoCapture<ArgIndex<nf>>, IntrReadMem, IntrArgMemOnly]>, 1017 let VLOperand = !add(nf, 1); 1021 class RISCVUSSegLoadMasked<int nf> 1023 !add(nf, -1))), 1024 !listconcat(!listsplat(LLVMMatchType<0>, nf), 1028 [ImmArg<ArgIndex<!add(nf, 3)>>, NoCapture<ArgIndex<nf>>, 1031 let VLOperand = !add(nf, 2); [all …]
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/misc/ |
H A D | tst.macroglob.ksh | 35 awk '{print $(NF-1),$NF}' | grep -v -E 'compat.\.' | sort 36 $dtrace -ln 'syscall:freebsd:$1*:entry' read | awk '{print $(NF-1),$NF}' | sort 37 $dtrace -ln 'syscall:freebsd:re$1*:entry' ad | awk '{print $(NF-1),$NF}' | sort 38 $dtrace -ln 'syscall:freebsd:$1l*:entry' read | awk '{print $(NF-1),$NF}' | sort 40 awk '{print $(NF-1),$NF}' | sort
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVInstrInfoV.td | 238 class VLSEGSched<int nf, int eew, string emul, bit forceMasked = 0> : SchedCommon< 239 [!cast<SchedWrite>("WriteVLSEG" #nf #"e" #eew #"_" #emul)], 242 class VLSEGSchedMC<int nf, int eew> : VLSEGSched<nf, eew, "WorstCase", 245 class VSSEGSched<int nf, int eew, string emul, bit forceMasked = 0> : SchedCommon< 246 [!cast<SchedWrite>("WriteVSSEG" # nf # "e" # eew # "_" # emul)], 249 class VSSEGSchedMC<int nf, int eew> : VSSEGSched<nf, eew, "WorstCase", 252 class VLSEGFFSched<int nf, int eew, string emul, bit forceMasked = 0> : SchedCommon< 253 [!cast<SchedWrite>("WriteVLSEGFF" # nf # "e" # eew # "_" # emul)], 256 class VLSEGFFSchedMC<int nf, int eew> : VLSEGFFSched<nf, eew, "WorstCase", 260 class VLSSEGSched<int nf, int eew, string emul, bit forceMasked = 0> : SchedCommon< [all …]
|
H A D | RISCVRegisterInfo.td | 139 int NF = 1; 141 let Size = !if(IsVRegClass, !mul(VLMul, NF, 64), 0); 145 let TSFlags{6-4} = !sub(NF, 1); 371 // The set of legal NF for LMUL = lmul. 372 // LMUL <= 1, NF = 2, 3, 4, 5, 6, 7, 8 373 // LMUL == 2, NF = 2, 3, 4 374 // LMUL == 4, NF = 2 375 // LMUL == 8, no legal NF 384 class SubRegSet<int nf, int lmul> { 389 !if(!lt(i, nf), [all …]
|
/freebsd/lib/libc/regex/grot/ |
H A D | split.c | 184 # define NF 5 in dosplit() macro 185 char *fields[NF]; in dosplit() 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() 201 printf("\"%s\"%s", fields[fn], (fn+1 < nf) ? ", " : "\n"); in print() 208 int nf; member [all …]
|
/freebsd/contrib/wpa/src/ap/ |
H A D | acs.c | 136 * ACS: 1: min_nf=-113 interference_factor=0.0802469 nf=-113 time=162 busy=0 rx=13 137 * ACS: 2: min_nf=-113 interference_factor=0.0745342 nf=-113 time=161 busy=0 rx=12 138 * ACS: 3: min_nf=-113 interference_factor=0.0679012 nf=-113 time=162 busy=0 rx=11 139 * ACS: 4: min_nf=-113 interference_factor=0.0310559 nf=-113 time=161 busy=0 rx=5 140 * ACS: 5: min_nf=-113 interference_factor=0.0248447 nf=-113 time=161 busy=0 rx=4 143 * ACS: 1: min_nf=-113 interference_factor=0.0185185 nf=-113 time=162 busy=0 rx=3 144 * ACS: 2: min_nf=-113 interference_factor=0.0246914 nf=-113 time=162 busy=0 rx=4 145 * ACS: 3: min_nf=-113 interference_factor=0.037037 nf=-113 time=162 busy=0 rx=6 146 * ACS: 4: min_nf=-113 interference_factor=0.149068 nf=-113 time=161 busy=0 rx=24 147 * ACS: 5: min_nf=-113 interference_factor=0.0248447 nf=-113 time=161 busy=0 rx=4 [all …]
|
/freebsd/usr.bin/mail/ |
H A D | edit.c | 132 FILE *nf = NULL; in run_editor() local 141 (nf = Fdopen(t, "w")) == NULL) { in run_editor() 152 (void)putc(t, nf); in run_editor() 155 (void)putc(t, nf); in run_editor() 156 (void)fflush(nf); in run_editor() 157 if (fstat(fileno(nf), &statb) < 0) 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() [all …]
|
/freebsd/contrib/netbsd-tests/lib/libc/regex/ |
H A D | split.c | 215 # define NF 5 in dosplit() macro 216 char *fields[NF]; in dosplit() 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() 232 printf("\"%s\"%s", fields[fn], (fn+1 < nf) ? ", " : "\n"); in print() 239 int nf; member [all …]
|
/freebsd/contrib/one-true-awk/testdir/ |
H A D | tt.big | 2 { print NR, NF, $0 } 8 { for (i = NF; i > 0; i--) 16 for (i = NF; i > 0; i--) 27 NF % 2 == 0 35 { for (i = 1; i <= NF; i++) 37 for (i = 1; i <= NF; i++) 40 { for (i = 1; i <= NF; i++) 42 for (i = 1; i <= NF; i++)
|
H A D | chem.awk | 51 $1 == "textht" { textht = $NF; next } 52 $1 == "cwid" { cwid = $NF; next } 53 $1 == "db" { db = $NF; next } 54 $1 == "size" { if ($NF <= 4) size = $NF; else size = $NF/10 79 $1 == "left" { left[++stack] = fields(2, NF); printf("Last: [\n"); next } 93 for (i = 2; i <= NF; i++) 96 NF = i - 1 101 for (cf = 2; cf <= NF; ) { 109 from = fields(cf, NF) 115 cf = NF+1 [all …]
|
H A D | t.delete0 | 1 NF > 0 { 3 if (n != NF) 4 printf("split screwed up %d %d\n", n, NF) 9 if (k != NF-1) 10 printf "delete miscount %d elems should be %d at line %d\n", k, NF-1, NR
|
H A D | T.misc | 48 # take into account that subtracting from NF now rebuilds the record 55 $awk '{ NF -= 2; $1 = $1; print }' <foo >foo2 271 $NF==3 {first=1} 272 $NF==2 && first==0 && (abs($1-o1)>120||abs($2-o2)>120) {print $0} 273 $NF==2 {o1=%1; o2=$2; first=0} 343 $awk ' {i = 1; while (i <= NF) {if (i == NF) exit; i++ } } 349 i = 1; while (i <= NF) {if (i == NF) return NR; i++ } 365 $awk ' {i = 1; do { if (i == NF) exit; i++ } while (i <= NF) } 371 i = 1; do { if (i == NF) return NR; i++ } while (i <= NF) 378 $awk ' {i = 1; do { if (i == NF) break; i++ } while (i <= NF); exit } [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86InstrArithmetic.td | 95 def 8r_NF : MulDivOpR<o, RegMRM, m, Xi8, WriteIMul8, []>, NF; 97 def 16r_NF : MulDivOpR<o, RegMRM, m, Xi16, WriteIMul16, []>, NF, PD; 99 def 32r_NF : MulDivOpR<o, RegMRM, m, Xi32, WriteIMul32, []>, NF; 101 def 64r_NF : MulDivOpR<o, RegMRM, m, Xi64, WriteIMul64, []>, NF; 103 def 8m_NF : MulDivOpM<o, MemMRM, m, Xi8, WriteIMul8, []>, NF; 105 def 16m_NF : MulDivOpM<o, MemMRM, m, Xi16, WriteIMul16, []>, NF, PD; 107 def 32m_NF : MulDivOpM<o, MemMRM, m, Xi32, WriteIMul32, []>, NF; 109 def 64m_NF : MulDivOpM<o, MemMRM, m, Xi64, WriteIMul64, []>, NF; 157 def 8r_NF : MulDivOpR<o, RegMRM, m, Xi8, sched8, []>, NF; 159 def 16r_NF : MulDivOpR<o, RegMRM, m, Xi16, sched16, []>, NF, PD; [all …]
|
/freebsd/contrib/ntp/scripts/stats/ |
H A D | clock.awk | 24 if (NF >= 4 && $3 == "127.127.3.1") { 49 if (NF >= 4 && $3 == "127.127.11.1") { 50 if (NF > 8) { 69 } else if (NF == 8) { 86 if (NF >= 4 && $3 == "127.127.4.1") { 87 if ($4 == "SIGNAL" || NF > 7) 108 if (NF >= 4 && $3 == "127.127.6.0") { 118 else if (NF >= 13 && $6 == "ENSEMBLE") { 139 else if (NF >= 7 && $6 == "TDATA") { 141 for (i = 7; i < NF; i++) { [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | riscv_vector.td | 257 (Address0, ..., Address{NF - 1}, Ptr, VL) 259 (Address0, ..., Address{NF - 1}, Mask, Ptr, VL) 261 (Address0, ..., Address{NF - 1}, Maskedoff0, ..., Maskedoff{NF - 1}, 264 (Address0, ..., Address{NF - 1}, Mask, Maskedoff0, ..., Maskedoff{NF - 1}, 273 (Address0, ..., Address{NF - 1}, Ptr, NewVL, VL) 275 (Address0, ..., Address{NF - 1}, Mask, Ptr, NewVL, VL) 277 (Address0, ..., Address{NF - 1}, Maskedoff0, ..., Maskedoff{NF - 1}, 280 (Address0, ..., Address{NF - 1}, Mask, Maskedoff0, ..., Maskedoff{NF - 1}, 286 (Address0, ..., Address{NF - 1}, Ptr, Stride, VL) 288 (Address0, ..., Address{NF - 1}, Mask, Ptr, Stride, VL) [all …]
|
/freebsd/contrib/one-true-awk/bugs-fixed/ |
H A D | decr-NF.awk | 3 print NF 5 NF-- 7 print NF 8 NF++ 10 print NF
|
/freebsd/contrib/llvm-project/clang/utils/TableGen/ |
H A D | RISCVVEmitter.cpp | 61 unsigned NF; member 164 static VectorTypeModifier getTupleVTM(unsigned NF) { in getTupleVTM() argument 165 assert(2 <= NF && NF <= 8 && "2 <= NF <= 8"); in getTupleVTM() 167 static_cast<uint8_t>(VectorTypeModifier::Tuple2) + (NF - 2)); in getTupleVTM() 174 OS << " NF = " + utostr(RVVI->getNF()) + ";\n"; in emitCodeGenSwitchBody() 372 for (int NF = 2; NF <= 8; ++NF) { in createHeader() local 375 PrototypeDescriptor(BaseTypeModifier::Vector, getTupleVTM(NF), in createHeader() 379 PrototypeDescriptor(BaseTypeModifier::Vector, getTupleVTM(NF), in createHeader() 395 for (int NF = 2; NF <= 8; ++NF) { in createHeader() local 398 PrototypeDescriptor(BaseTypeModifier::Vector, getTupleVTM(NF), in createHeader() [all …]
|
/freebsd/usr.sbin/autofs/autofs/ |
H A D | include_ldap | 18 for (i = 2; i <= NF; i++) { 21 nvalues = NF 27 for (i = 2; i <= NF; i++) { 30 nvalues = NF 35 NF == 0 && key != "" && nvalues > 0 { 49 NF == 0 {
|
/freebsd/contrib/llvm-project/clang/lib/Support/ |
H A D | RISCVVIntrinsicUtils.cpp | 118 if (IsTuple && (NF == 1 || NF > 8)) in verifyType() 120 if (IsTuple && (1 << std::max(0, LMUL.Log2LMUL)) * NF > 8) in verifyType() 228 BuiltinStr = "T" + utostr(NF) + BuiltinStr; in initBuiltinStr() 256 (IsTuple ? "x" + utostr(NF) : "") + "_t"; in initClangBuiltinStr() 269 (IsTuple ? "x" + utostr(NF) : "") + "_t") in initTypeStr() 358 ShortStr += "x" + utostr(NF); in initShortStr() 361 static VectorTypeModifier getTupleVTM(unsigned NF) { in getTupleVTM() argument 362 assert(2 <= NF && NF <= 8 && "2 <= NF <= 8"); in getTupleVTM() 364 static_cast<uint8_t>(VectorTypeModifier::Tuple2) + (NF - 2)); in getTupleVTM() 622 unsigned NF = 0; in parsePrototypeDescriptor() local [all …]
|
/freebsd/contrib/tcsh/ |
H A D | eight-bit.me | 18 .nf 52 .nf 68 .nf 78 .nf 89 NF >= 5 && (alt[$3] != "" || alt[$5] != "") { 99 NF >= 5 && ($3 ~ /^Alt_[LR]$/ || $5 ~ /^Alt_[LR]$/) { 127 .nf 134 .nf
|