| /src/external/bsd/ntp/dist/util/ |
| ntptime.c | 100 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.freq = (long)(atof(ntp_optarg) * SCALE_FREQ) [all...] |
| /src/external/bsd/ntp/dist/ntpd/ |
| ntp_request.c | 2519 struct timex ntx; local 2526 ZERO(ntx); 2527 if (ntp_adjtime(&ntx) < 0) 2535 ik->offset = htonl((u_int32)ntx.offset); 2536 ik->freq = htonl((u_int32)ntx.freq); 2537 ik->maxerror = htonl((u_int32)ntx.maxerror); 2538 ik->esterror = htonl((u_int32)ntx.esterror); 2539 ik->status = htons(ntx.status); 2540 ik->constant = htonl((u_int32)ntx.constant); 2541 ik->precision = htonl((u_int32)ntx.precision) [all...] |
| ntp_control.c | 1928 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.status) [all...] |
| /src/sys/dev/usb/ |
| motg.c | 273 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)) {
|
| if_urtwn.c | 648 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; i++) [all...] |
| if_run.c | 572 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) {
|
| /src/sys/dev/ic/ |
| bwi.c | 8384 int i, j, k, ntx, error; local 8386 ntx = 0; 8401 ntx = i; 8410 ntx = BWI_TX_NRING; 8442 bwi_dma_mbuf_destroy(sc, ntx, 0); 8448 bwi_dma_mbuf_destroy(struct bwi_softc *sc, int ntx, int nrx) 8452 for (i = 0; i < ntx; ++i) {
|