Home
last modified time | relevance | path

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

12345678910>>...13

/netbsd-src/sys/external/isc/atheros_hal/dist/ar5416/
H A Dar9285.c34 int16_t nf; in ar9285GetNoiseFloor() local
36 nf = MS(OS_REG_READ(ah, AR_PHY_CCA), AR9280_PHY_MINCCA_PWR); in ar9285GetNoiseFloor()
37 if (nf & 0x100) in ar9285GetNoiseFloor()
38 nf = 0 - ((nf ^ 0x1ff) + 1); in ar9285GetNoiseFloor()
40 "NF calibrated [ctl] [chain 0] is %d\n", nf); in ar9285GetNoiseFloor()
41 nfarray[0] = nf; in ar9285GetNoiseFloor()
45 nf = MS(OS_REG_READ(ah, AR_PHY_EXT_CCA), AR9280_PHY_EXT_MINCCA_PWR); in ar9285GetNoiseFloor()
46 if (nf & 0x100) in ar9285GetNoiseFloor()
47 nf = 0 - ((nf ^ 0x1ff) + 1); in ar9285GetNoiseFloor()
49 "NF calibrated [ext] [chain 0] is %d\n", nf); in ar9285GetNoiseFloor()
[all …]
H A Dar2133.c335 int16_t nf; in ar2133GetNoiseFloor() local
339 nf = MS(OS_REG_READ(ah, AR_PHY_CH2_CCA), AR_PHY_CH2_MINCCA_PWR); in ar2133GetNoiseFloor()
340 if (nf & 0x100) in ar2133GetNoiseFloor()
341 nf = 0 - ((nf ^ 0x1ff) + 1); in ar2133GetNoiseFloor()
343 "NF calibrated [ctl] [chain 2] is %d\n", nf); in ar2133GetNoiseFloor()
344 nfarray[4] = nf; in ar2133GetNoiseFloor()
346 nf = MS(OS_REG_READ(ah, AR_PHY_CH2_EXT_CCA), AR_PHY_CH2_EXT_MINCCA_PWR); in ar2133GetNoiseFloor()
347 if (nf & 0x100) in ar2133GetNoiseFloor()
348 nf = 0 - ((nf ^ 0x1ff) + 1); in ar2133GetNoiseFloor()
350 "NF calibrated [ext] [chain 2] is %d\n", nf); in ar2133GetNoiseFloor()
[all …]
H A Dar9280.c271 int16_t nf; in ar9280GetNoiseFloor() local
273 nf = MS(OS_REG_READ(ah, AR_PHY_CCA), AR9280_PHY_MINCCA_PWR); in ar9280GetNoiseFloor()
274 if (nf & 0x100) in ar9280GetNoiseFloor()
275 nf = 0 - ((nf ^ 0x1ff) + 1); in ar9280GetNoiseFloor()
277 "NF calibrated [ctl] [chain 0] is %d\n", nf); in ar9280GetNoiseFloor()
278 nfarray[0] = nf; in ar9280GetNoiseFloor()
280 nf = MS(OS_REG_READ(ah, AR_PHY_CH1_CCA), AR9280_PHY_CH1_MINCCA_PWR); in ar9280GetNoiseFloor()
281 if (nf & 0x100) in ar9280GetNoiseFloor()
282 nf = 0 - ((nf ^ 0x1ff) + 1); in ar9280GetNoiseFloor()
284 "NF calibrated [ctl] [chain 1] is %d\n", nf); in ar9280GetNoiseFloor()
[all …]
H A Dar5416_cal.c653 int16_t nf, nfThresh; in ar5416GetNf() local
658 nf = 0; in ar5416GetNf()
665 nf = nfarray[0]; in ar5416GetNf()
667 if (nf > nfThresh) { in ar5416GetNf()
671 nf, nfThresh); in ar5416GetNf()
678 nf = 0; in ar5416GetNf()
681 nf = 0; in ar5416GetNf()
684 chan->rawNoiseFloor = nf; in ar5416GetNf()
686 return nf; in ar5416GetNf()
/netbsd-src/tests/lib/libc/regex/
H A 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 …]
/netbsd-src/usr.bin/mail/
H A Dedit.c61 FILE *nf = NULL; in run_editor() local
80 if ((nf = Fdopen(t, "wef")) == NULL) { in run_editor()
88 (void)putc(t, nf); in run_editor()
91 (void)putc(t, nf); in run_editor()
92 (void)fflush(nf); in run_editor()
93 if (ferror(nf)) { in run_editor()
94 (void)Fclose(nf); in run_editor()
97 nf = NULL; in run_editor()
100 if (fstat(fileno(nf), &statb) < 0) in run_editor()
104 if (Fclose(nf) < 0) { in run_editor()
[all …]
H A Dcollect.c132 FILE *nf; in mesedit() local
136 nf = run_editor(fp, (off_t)-1, c, 0); in mesedit()
137 if (nf != NULL) { in mesedit()
138 (void)fseek(nf, 0L, 2); in mesedit()
139 collf = nf; in mesedit()
155 FILE *nf; in mespipe() local
168 (nf = Fdopen(fd, "wef+")) == NULL) { in mespipe()
182 NULL, fileno(fp), fileno(nf), "-c", cmd, NULL) < 0) { in mespipe()
183 (void)Fclose(nf); in mespipe()
186 if (fsize(nf) == 0) { in mespipe()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoV.td115 // vl<nf>r.v vd, (rs1)
116 class VWholeLoad<bits<3> nf, RISCVWidth width, string opcodestr, RegisterClass VRC>
117 : RVInstVLU<nf, width.Value{3}, LUMOPUnitStrideWholeReg,
126 class VUnitStrideSegmentLoad<bits<3> nf, RISCVLSUMOP lumop,
128 : RVInstVLU<nf, width.Value{3}, lumop, width.Value{2-0},
133 class VStridedSegmentLoad<bits<3> nf, RISCVWidth width, string opcodestr>
134 : RVInstVLS<nf, width.Value{3}, width.Value{2-0},
140 class VIndexedSegmentLoad<bits<3> nf, RISCVMOP mop, RISCVWidth width,
142 : RVInstVLX<nf, width.Value{3}, mop, width.Value{2-0},
176 // vs<nf>r.v vd, (rs1)
[all …]
H A 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 …]
H A DRISCVRegisterInfo.td361 class SubRegSet<list<SubRegIndex> LIn, int start, int nf, int lmul> {
366 !if(!lt(i, nf),
371 class IndexSet<int index, int nf, int lmul> {
382 !sub(!add(32, !mul(index, lmul)), !mul(nf, lmul)))
386 class VRegList<list<dag> LIn, int start, int nf, int lmul, bit NoV0> {
388 !if(!ge(start, nf),
394 !tail(IndexSet<start, nf, lmul>.R),
395 [!head(IndexSet<start, nf, lmul>.R)]),
401 !size(!tail(IndexSet<start, nf, lmul>.R)),
402 !size([!head(IndexSet<start, nf, lmul>.R)]))))],
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A 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 …]
/netbsd-src/external/bsd/file/dist/src/
H A Dis_csv.c100 size_t nf = 0, tf = 0, nl = 0; in csv_parse() local
109 nf++; in csv_parse()
112 DPRINTF("%zu %zu %zu\n", nl, nf, tf); in csv_parse()
116 return tf != 0 && tf == nf; in csv_parse()
120 if (nf == 0) in csv_parse()
123 tf = nf; in csv_parse()
124 } else if (tf != nf) { in csv_parse()
128 nf = 0; in csv_parse()
/netbsd-src/external/bsd/openldap/dist/libraries/libldap/
H A Dschema.c89 ldap_nameform2name( LDAPNameForm * nf ) in ldap_nameform2name() argument
91 if (!nf) return NULL; in ldap_nameform2name()
92 return( choose_name( nf->nf_names, nf->nf_oid ) ); in ldap_nameform2name()
792 ldap_nameform2str( LDAPNameForm * nf ) in ldap_nameform2str() argument
795 if (ldap_nameform2bv( nf, &bv )) in ldap_nameform2str()
802 ldap_nameform2bv( LDAPNameForm * nf, struct berval *bv ) in ldap_nameform2bv() argument
806 if ( !nf || !bv ) in ldap_nameform2bv()
816 print_numericoid(ss, nf->nf_oid); in ldap_nameform2bv()
819 if ( nf->nf_names ) { in ldap_nameform2bv()
821 print_qdescrs(ss,nf->nf_names); in ldap_nameform2bv()
[all …]
/netbsd-src/tests/sbin/fsck_ffs/
H A Dt_enable_quotas.sh49 fsck_ffs -nf -F "${IMG}"
55 atf_check -s exit:0 -o "match:1 files, 1 used" fsck_ffs -nf -F "${IMG}"
72 atf_check -s exit:0 -o "match:3 files" fsck_ffs -nf -F "${IMG}"
84 atf_check -s exit:0 -o "match:3 files" fsck_ffs -nf -F "${IMG}"
109 atf_check -s exit:0 -o "match:3 files" fsck_ffs -nf -F "${IMG}"
/netbsd-src/sys/arch/i386/stand/efiboot/
H A Ddevopen.c160 const struct netboot_fstab *nf; in devopen() local
197 nf = netboot_fstab_find(devname); in devopen()
198 if (nf != NULL) { in devopen()
206 memcpy(&file_system[n++], nf->ops, in devopen()
253 nf = netboot_fstab_findn(fname, fsnamelen); in devopen()
254 if (nf == NULL || in devopen()
262 memcpy(file_system, nf->ops, sizeof(struct fs_ops)); in devopen()
/netbsd-src/usr.sbin/btpand/
H A Dbnep.c414 int i, nf, rsp; in bnep_recv_filter_net_type_set() local
431 nf = len / 4; in bnep_recv_filter_net_type_set()
432 if (nf > BNEP_MAX_NET_TYPE_FILTERS) { in bnep_recv_filter_net_type_set()
436 pf = malloc(nf * sizeof(pfilter_t)); in bnep_recv_filter_net_type_set()
442 log_debug("nf = %d", nf); in bnep_recv_filter_net_type_set()
444 for (i = 0; i < nf; i++) { in bnep_recv_filter_net_type_set()
463 chan->npfilter = nf; in bnep_recv_filter_net_type_set()
500 int i, nf, rsp; in bnep_recv_filter_multi_addr_set() local
517 nf = len / (ETHER_ADDR_LEN * 2); in bnep_recv_filter_multi_addr_set()
518 if (nf > BNEP_MAX_MULTI_ADDR_FILTERS) { in bnep_recv_filter_multi_addr_set()
[all …]
/netbsd-src/sys/arch/sun3/sun3/
H A Dautoconf.c187 struct prom_n2f *nf; in cpu_rootconf() local
213 for (nf = prom_dev_table; nf->func; nf++) in cpu_rootconf()
214 if (!strcmp(nf->name, promname)) { in cpu_rootconf()
215 find = nf->func; in cpu_rootconf()
/netbsd-src/sys/arch/sun68k/sun68k/
H A Dautoconf.c315 struct prom_n2f *nf; in cpu_rootconf() local
344 for (nf = prom_dev_table; nf->func; nf++) in cpu_rootconf()
345 if (!strcmp(nf->name, promname)) { in cpu_rootconf()
346 find = nf->func; in cpu_rootconf()
/netbsd-src/share/doc/usd/17.msmacros/
H A Drefcard.bad187 .nf
218 .nf
229 .nf
271 .nf
281 .nf
338 .nf
371 .nf
387 .nf
395 .nf
549 .nf
[all …]
/netbsd-src/external/bsd/nvi/dist/ex/
H A Dex_shell.c157 int nf, pstat; in proc_wait() local
178 p = msg_print(sp, cmd, &nf); in proc_wait()
184 if (nf) in proc_wait()
200 p = msg_print(sp, cmd, &nf); in proc_wait()
205 if (nf) in proc_wait()
/netbsd-src/external/ibm-public/postfix/dist/proto/
H A Dpgsql_table18 # .nf
54 # .nf
68 # .nf
74 # .nf
80 # .nf
91 # .nf
197 # .nf
241 # .nf
246 # .nf
260 # .nf
[all …]
H A Dmysql_table18 # .nf
50 # .nf
66 # .nf
73 # .nf
79 # .nf
86 # .nf
140 # .nf
201 # .nf
280 # .nf
301 # .nf
[all …]
H A Dsqlite_table18 # .nf
48 # .nf
55 # .nf
104 # .nf
165 # .nf
207 # .nf
219 # .nf
224 # .nf
229 # .nf
234 # .nf
[all …]
/netbsd-src/sys/fs/nfs/common/
H A Dnfs_commonkrpc.c450 struct nfs_feedback_arg *nf = (struct nfs_feedback_arg *) arg; in nfs_feedback() local
451 struct nfsmount *nmp = nf->nf_mount; in nfs_feedback()
458 if (nf->nf_lastmsg + nmp->nm_tprintf_delay < now) { in nfs_feedback()
459 nfs_down(nmp, nf->nf_td, in nfs_feedback()
461 nf->nf_tprintfmsg = TRUE; in nfs_feedback()
462 nf->nf_lastmsg = now; in nfs_feedback()
467 nfs_up(nf->nf_mount, nf->nf_td, in nfs_feedback()
468 "is alive again", NFSSTA_TIMEO, nf->nf_tprintfmsg); in nfs_feedback()
492 struct nfs_feedback_arg nf; in newnfs_request() local
607 bzero(&nf, sizeof(struct nfs_feedback_arg)); in newnfs_request()
[all …]
/netbsd-src/sys/external/isc/atheros_hal/dist/ar5210/
H A Dar5210_reset.c937 int16_t nf; in ar5210GetNoiseFloor() local
939 nf = (OS_REG_READ(ah, AR_PHY(25)) >> 19) & 0x1ff; in ar5210GetNoiseFloor()
940 if (nf & 0x100) in ar5210GetNoiseFloor()
941 nf = 0 - ((nf ^ 0x1ff) + 1); in ar5210GetNoiseFloor()
942 return nf; in ar5210GetNoiseFloor()
955 int32_t nf, nfLoops; in ar5210CalNoiseFloor() local
974 nf = 0; in ar5210CalNoiseFloor()
976 for (nfLoops = 0; ((nfLoops < 21) && (nf > NORMAL_NF_THRESH)); nfLoops++) { in ar5210CalNoiseFloor()
978 nf = ar5210GetNoiseFloor(ah); in ar5210CalNoiseFloor()
981 if (nf > NORMAL_NF_THRESH) { in ar5210CalNoiseFloor()
[all …]

12345678910>>...13