Home
last modified time | relevance | path

Searched refs:ntx (Results 1 – 10 of 10) sorted by relevance

/netbsd/src/external/bsd/ntp/dist/util/
Dntptime.c100 struct timex ntx, _ntx; in main() local
115 ZERO(ntx); in main()
121 ntx.modes |= MOD_MICRO; in main()
126 ntx.modes |= MOD_NANO; in main()
131 ntx.modes = MOD_TAI; in main()
132 ntx.constant = atoi(ntp_optarg); in main()
140 ntx.modes |= MOD_ESTERROR; in main()
141 ntx.esterror = atoi(ntp_optarg); in main()
145 ntx.modes |= MOD_FREQUENCY; in main()
146 ntx.freq = (long)(atof(ntp_optarg) * SCALE_FREQ); in main()
[all …]
/netbsd/src/external/bsd/ntp/dist/ntpd/
Dntp_request.c2519 struct timex ntx; in get_kernel_info() local
2526 ZERO(ntx); in get_kernel_info()
2527 if (ntp_adjtime(&ntx) < 0) in get_kernel_info()
2535 ik->offset = htonl((u_int32)ntx.offset); in get_kernel_info()
2536 ik->freq = htonl((u_int32)ntx.freq); in get_kernel_info()
2537 ik->maxerror = htonl((u_int32)ntx.maxerror); in get_kernel_info()
2538 ik->esterror = htonl((u_int32)ntx.esterror); in get_kernel_info()
2539 ik->status = htons(ntx.status); in get_kernel_info()
2540 ik->constant = htonl((u_int32)ntx.constant); in get_kernel_info()
2541 ik->precision = htonl((u_int32)ntx.precision); in get_kernel_info()
[all …]
Dntp_control.c1928 static struct timex ntx; in ctl_putsys() local
1936 ZERO(ntx); in ctl_putsys()
1937 if (ntp_adjtime(&ntx) < 0) in ctl_putsys()
2324 if (0 == ntx.shift) \ in ctl_putsys()
2334 1000 * dbl_from_var_long(ntx.offset, ntx.status)) in ctl_putsys()
2341 (sys_var[varid].text, ntx.freq) in ctl_putsys()
2349 1000 * dbl_from_usec_long(ntx.maxerror)) in ctl_putsys()
2357 1000 * dbl_from_usec_long(ntx.esterror)) in ctl_putsys()
2365 ss = k_st_flags(ntx.status); in ctl_putsys()
2373 (sys_var[varid].text, ntx.constant) in ctl_putsys()
[all …]
/netbsd/src/sys/dev/usb/
Dmotg.c273 uint32_t nrx, ntx, val; in motg_init() local
333 ntx = (UREAD1(sc, MUSB2_REG_EPINFO) % 16); in motg_init()
337 DPRINTFN(1,"RX/TX endpoints: %ju/%ju", nrx, ntx, 0, 0); in motg_init()
339 sc->sc_ep_max = MAX(nrx, ntx); in motg_init()
341 nrx = ntx = sc->sc_ep_max; in motg_init()
417 if (fifotx_size && (i <= ntx)) { in motg_init()
443 if (fifotx_size && (i <= ntx)) { in motg_init()
Dif_urtwn.c648 size_t i, ntx = 0, nrx = 0; in urtwn_open_pipes() local
661 if (ntx < sizeof(epaddr)) in urtwn_open_pipes()
662 epaddr[ntx] = ed->bEndpointAddress; in urtwn_open_pipes()
663 ntx++; in urtwn_open_pipes()
676 if (ntx == 0 || ntx > R92C_MAX_EPOUT) { in urtwn_open_pipes()
678 "%zd: invalid number of Tx bulk pipes\n", ntx); in urtwn_open_pipes()
682 nrx, ntx, 0, 0); in urtwn_open_pipes()
684 sc->tx_npipe = ntx; in urtwn_open_pipes()
699 for (i = 0; i < ntx; i++) { in urtwn_open_pipes()
712 sc->ac2idx[WME_AC_BE] = (ntx == 3) ? 2 : ((ntx == 2) ? 1 : 0); in urtwn_open_pipes()
[all …]
Dif_run.c572 int i, nrx, ntx, ntries, error; in run_attach() local
606 nrx = ntx = 0; in run_attach()
616 } else if (ntx < RUN_MAXEPOUT) { in run_attach()
617 sc->txq[ntx].pipe_no = ed->bEndpointAddress; in run_attach()
618 ntx++; in run_attach()
622 if (nrx < 1 || ntx < RUN_MAXEPOUT) { in run_attach()
/netbsd/src/sys/dev/ic/
Dbwi.c8378 int i, j, k, ntx, error; in bwi_dma_mbuf_create() local
8380 ntx = 0; in bwi_dma_mbuf_create()
8395 ntx = i; in bwi_dma_mbuf_create()
8404 ntx = BWI_TX_NRING; in bwi_dma_mbuf_create()
8436 bwi_dma_mbuf_destroy(sc, ntx, 0); in bwi_dma_mbuf_create()
8442 bwi_dma_mbuf_destroy(struct bwi_softc *sc, int ntx, int nrx) in bwi_dma_mbuf_destroy() argument
8446 for (i = 0; i < ntx; ++i) { in bwi_dma_mbuf_destroy()
/netbsd/src/external/gpl3/gdb/dist/gdb/
DChangeLog-19936349 * config/*/[ntx]m-*.h: Modify all files that include other
6350 [ntx]m-*.h files to use path relative to gdb/config. I.E.
/netbsd/src/external/bsd/ntp/dist/
DCommitLog-4.1.04272 * util/ntptime.c (main): ntx.freq bugfix (-f option)
/netbsd/src/etc/
Dservices18318 # ntx udp Tenasys [Carl_Ellis] …