| /trueos/sys/kern/ |
| HD | kern_tc.c | 1468 abi_aware(struct pps_state *pps, int vers) in abi_aware() argument 1471 return ((pps->kcmode & KCMODE_ABIFLAG) && pps->driver_abi >= vers); in abi_aware() 1475 pps_fetch(struct pps_fetch_args *fapi, struct pps_state *pps) in pps_fetch() argument 1499 aseq = pps->ppsinfo.assert_sequence; in pps_fetch() 1500 cseq = pps->ppsinfo.clear_sequence; in pps_fetch() 1501 while (aseq == pps->ppsinfo.assert_sequence && in pps_fetch() 1502 cseq == pps->ppsinfo.clear_sequence) { in pps_fetch() 1503 if (abi_aware(pps, 1) && pps->driver_mtx != NULL) { in pps_fetch() 1504 if (pps->flags & PPSFLAG_MTX_SPIN) { in pps_fetch() 1505 err = msleep_spin(pps, pps->driver_mtx, in pps_fetch() [all …]
|
| /trueos/sys/dev/ppbus/ |
| HD | pps.c | 43 struct pps_state pps[9]; member 141 sc->pps[0].ppscap = PPS_CAPTUREASSERT | PPS_ECHOASSERT; in ppsattach() 144 pps_init(&sc->pps[0]); in ppsattach() 193 sc->pps[i].ppscap = PPS_CAPTUREASSERT | PPS_CAPTURECLEAR; in ppsattach() 196 pps_init(&sc->pps[i]); in ppsattach() 255 sc->pps[subdev].ppsparam.mode = 0; /* PHK ??? */ in ppsclose() 289 pps_capture(&sc->pps[j]); in ppshcpoll() 290 pps_event(&sc->pps[j], in ppshcpoll() 305 pps_capture(&sc->pps[0]); in ppsintr() 309 if (sc->pps[0].ppsparam.mode & PPS_ECHOASSERT) in ppsintr() [all …]
|
| /trueos/tools/tools/net80211/wesside/udps/ |
| HD | udps.c | 43 int pps = 10; variable 58 delay = (int) ((double)1.0/pps*1000.0*1000.0); in own() 72 times = poll_rate*pps; in own() 138 pps = atoi(argv[1]); in main() 140 printf("Packets per second=%d\n", pps); in main()
|
| /trueos/contrib/binutils/binutils/ |
| HD | rdcoff.c | 110 struct coff_slots **pps; in coff_get_slot() local 112 pps = &types->slots; in coff_get_slot() 116 if (*pps == NULL) in coff_get_slot() 118 *pps = (struct coff_slots *) xmalloc (sizeof **pps); in coff_get_slot() 119 memset (*pps, 0, sizeof **pps); in coff_get_slot() 121 pps = &(*pps)->next; in coff_get_slot() 125 if (*pps == NULL) in coff_get_slot() 127 *pps = (struct coff_slots *) xmalloc (sizeof **pps); in coff_get_slot() 128 memset (*pps, 0, sizeof **pps); in coff_get_slot() 131 return (*pps)->slots + indx; in coff_get_slot()
|
| /trueos/sys/arm/ti/am335x/ |
| HD | am335x_dmtimer.c | 126 struct pps_state pps; member 213 newmode = sc->pps.ppsparam.mode & PPS_CAPTUREBOTH; in am335x_dmtimer_set_capture_mode() 249 pps_capture(&sc->pps); in am335x_dmtimer_tc_poll_pps() 250 sc->pps.capcount = am335x_dmtimer_tc_read_4(sc, DMT_TCAR1); in am335x_dmtimer_tc_poll_pps() 271 pps_event(&sc->pps, sc->pps.ppsparam.mode & PPS_CAPTUREBOTH); in am335x_dmtimer_process_pps_event() 318 if ((sc->pps.ppsparam.mode & PPS_CAPTUREBOTH) == PPS_CAPTUREBOTH) in am335x_dmtimer_pps_ioctl() 322 err = pps_ioctl(cmd, data, &sc->pps); in am335x_dmtimer_pps_ioctl() 395 sc->pps.ppscap = PPS_CAPTUREBOTH; in am335x_dmtimer_pps_init() 396 pps_init(&sc->pps); in am335x_dmtimer_pps_init()
|
| /trueos/sys/sys/ |
| HD | timepps.h | 169 void pps_capture(struct pps_state *pps); 170 void pps_event(struct pps_state *pps, int event); 171 void pps_init(struct pps_state *pps); 172 void pps_init_abi(struct pps_state *pps); 173 int pps_ioctl(unsigned long cmd, caddr_t data, struct pps_state *pps);
|
| /trueos/tools/tools/netrate/netreceive/ |
| HD | netreceive.c | 170 uint64_t pps, bps; in main_thread() local 184 pps = dn; in main_thread() 185 pps = (pps * 1000000000) / (delta.tv_sec*1000000000 + delta.tv_nsec + 1); in main_thread() 187 fprintf(stderr, " %9ld pps %8.3f Mbps", (long)pps, .000001*bps); in main_thread()
|
| /trueos/sys/modules/pps/ |
| HD | Makefile | 5 KMOD= pps 7 pps.c
|
| /trueos/usr.sbin/spray/ |
| HD | spray.c | 196 double pps; /* packets per second */ in print_xferstats() local 200 pps = packets / xfertime; in print_xferstats() 203 printf("\t%.0f packets/sec, ", pps); in print_xferstats()
|
| /trueos/tools/tools/net80211/wesside/dics/ |
| HD | dics.c | 66 int pps = 10; variable 219 stuff = poll_rate*pps; in send_stuff() 220 delay = (int) ((double)1.0/pps*1000.0*1000.0); in send_stuff() 328 pps = atoi(argv[2]); in main() 331 printf("PPS=%d\n", pps); in main()
|
| /trueos/contrib/ntp/util/ |
| HD | Makefile.in | 42 ntptime$(EXEEXT) pps-api$(EXEEXT) precision$(EXEEXT) \ 94 pps_api_SOURCES = pps-api.c 95 pps_api_OBJECTS = pps-api$U.$(OBJEXT) 136 longsize.c $(ntp_keygen_SOURCES) ntptime.c pps-api.c \ 139 longsize.c $(ntp_keygen_SOURCES) ntptime.c pps-api.c \ 428 pps-api$(EXEEXT): $(pps_api_OBJECTS) $(pps_api_DEPENDENCIES) 429 @rm -f pps-api$(EXEEXT) 474 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pps-api$U.Po@am__quote@ 520 pps-api_.c: pps-api.c $(ANSI2KNR) 521 …$(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/pps-api.c; then echo $(srcdir)/pps-api.c; else ec… [all …]
|
| HD | Makefile.am | 7 ntptime pps-api precision sht testrs6000 tg tickadj timetrim
|
| /trueos/contrib/wpa/src/ap/ |
| HD | wmm.c | 166 int medium_time, pps, duration; in wmm_process_tspec() local 193 pps = ((le_to_host32(tspec->mean_data_rate) / 8) + val - 1) / val; in wmm_process_tspec() 195 pps); in wmm_process_tspec() 215 medium_time = surplus * pps * duration / 0x2000; in wmm_process_tspec()
|
| /trueos/contrib/ipfilter/ |
| HD | BNF | 2 [ proto ] [ ip ] [ group ] [ tag ] [ pps ] . 13 pps = "pps" decnumber .
|
| /trueos/contrib/ipfilter/tools/ |
| HD | BNF.ipf | 2 [ proto ] [ ip ] [ group ] [ tag ] [ pps ] . 13 pps = "pps" decnumber .
|
| /trueos/contrib/ntp/html/build/scripts/ |
| HD | links11.txt | 3 <li class='inline'><a href='pps.html'>Pulse-per-second (PPS) Signal Interfacing</a><br>\
|
| /trueos/contrib/ntp/html/scripts/ |
| HD | links11.txt | 3 <li class='inline'><a href='pps.html'>Pulse-per-second (PPS) Signal Interfacing</a><br>\
|
| /trueos/contrib/ntp/html/build/hints/ |
| HD | notes-xntp-v3 | 51 8. Support for an external 1-pulse-per-second (pps) signal is 56 Use of the pps is indicated when the tattletale displayed by ntpq 78 connect a precision source of 1-pps, yet avoid the ugly overhead in the
|
| HD | sun4 | 12 1-pps signal from a precision source. The bugfix must be installed for
|
| /trueos/sys/gnu/dts/arm/ |
| HD | imx6qdl-gw51xx.dtsi | 51 pps { 52 compatible = "pps-gpio";
|
| /trueos/contrib/netbsd-tests/ipf/expected/ |
| HD | i1 | 6 pass in from !any to any pps 10
|
| /trueos/contrib/netbsd-tests/ipf/regress/ |
| HD | i1 | 7 pass in from !any to any pps 10
|
| /trueos/tools/tools/netmap/ |
| HD | pkt-gen.c | 1336 double bw, raw_bw, pps; in tx_output() local 1345 pps = sent / delta; in tx_output() 1351 norm(b1, pps), norm(b2, bw), norm(b3, raw_bw) ); in tx_output() 1358 double pps; in rx_output() local 1366 pps = received / delta; in rx_output() 1367 printf("Speed: %spps\n", norm(b1, pps)); in rx_output() 1490 uint64_t pps, usec, my_count, npkts; in main_thread() local 1508 pps = (npkts*1000000 + usec/2) / usec; in main_thread() 1510 (unsigned long long)pps, in main_thread()
|
| /trueos/usr.sbin/ntp/doc/ |
| HD | Makefile | 22 pps.html prefer.html quick.html rdebug.html refclock.html \
|
| /trueos/sys/netgraph/ |
| HD | ng_source.c | 418 uint32_t pps; in ng_source_rcvmsg() local 425 pps = *(uint32_t *)msg->data; in ng_source_rcvmsg() 427 sc->stats.maxPps = pps; in ng_source_rcvmsg()
|