Searched refs:ntx (Results 1 - 7 of 7) sorted by relevance

/netbsd-current/external/bsd/ntp/dist/util/
H A Dntptime.c100 struct timex ntx, _ntx; local
115 ZERO(ntx);
121 ntx.modes |= MOD_MICRO;
126 ntx.modes |= MOD_NANO;
131 ntx.modes = MOD_TAI;
132 ntx.constant = atoi(ntp_optarg);
140 ntx.modes |= MOD_ESTERROR;
141 ntx.esterror = atoi(ntp_optarg);
145 ntx.modes |= MOD_FREQUENCY;
146 ntx
[all...]
/netbsd-current/external/bsd/ntp/dist/ntpd/
H A Dntp_request.c2441 struct timex ntx; local
2448 ZERO(ntx);
2449 if (ntp_adjtime(&ntx) < 0)
2457 ik->offset = htonl((u_int32)ntx.offset);
2458 ik->freq = htonl((u_int32)ntx.freq);
2459 ik->maxerror = htonl((u_int32)ntx.maxerror);
2460 ik->esterror = htonl((u_int32)ntx.esterror);
2461 ik->status = htons(ntx.status);
2462 ik->constant = htonl((u_int32)ntx.constant);
2463 ik->precision = htonl((u_int32)ntx
[all...]
H A Dntp_control.c1928 static struct timex ntx; local
1936 ZERO(ntx);
1937 if (ntp_adjtime(&ntx) < 0)
2324 if (0 == ntx.shift) \
2334 1000 * dbl_from_var_long(ntx.offset, ntx.status))
2341 (sys_var[varid].text, ntx.freq)
2349 1000 * dbl_from_usec_long(ntx.maxerror))
2357 1000 * dbl_from_usec_long(ntx.esterror))
2365 ss = k_st_flags(ntx
[all...]
/netbsd-current/sys/dev/usb/
H A Dmotg.c273 uint32_t nrx, ntx, val; local
333 ntx = (UREAD1(sc, MUSB2_REG_EPINFO) % 16);
337 DPRINTFN(1,"RX/TX endpoints: %ju/%ju", nrx, ntx, 0, 0);
339 sc->sc_ep_max = MAX(nrx, ntx);
341 nrx = ntx = sc->sc_ep_max;
417 if (fifotx_size && (i <= ntx)) {
443 if (fifotx_size && (i <= ntx)) {
H A Dif_urtwn.c648 size_t i, ntx = 0, nrx = 0; local
661 if (ntx < sizeof(epaddr))
662 epaddr[ntx] = ed->bEndpointAddress;
663 ntx++;
676 if (ntx == 0 || ntx > R92C_MAX_EPOUT) {
678 "%zd: invalid number of Tx bulk pipes\n", ntx);
682 nrx, ntx, 0, 0);
684 sc->tx_npipe = ntx;
699 for (i = 0; i < ntx;
[all...]
H A Dif_run.c572 int i, nrx, ntx, ntries, error; local
606 nrx = ntx = 0;
616 } else if (ntx < RUN_MAXEPOUT) {
617 sc->txq[ntx].pipe_no = ed->bEndpointAddress;
618 ntx++;
622 if (nrx < 1 || ntx < RUN_MAXEPOUT) {
/netbsd-current/sys/dev/ic/
H A Dbwi.c8038 int i, j, k, ntx, error; local
8040 ntx = 0;
8055 ntx = i;
8064 ntx = BWI_TX_NRING;
8096 bwi_dma_mbuf_destroy(sc, ntx, 0);
8102 bwi_dma_mbuf_destroy(struct bwi_softc *sc, int ntx, int nrx) argument
8106 for (i = 0; i < ntx; ++i) {

Completed in 323 milliseconds