Home
last modified time | relevance | path

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

/freebsd/contrib/ntp/util/
H A Dntptime.c98 struct timex ntx, _ntx; in main() local
113 ZERO(ntx); in main()
119 ntx.modes |= MOD_MICRO; in main()
124 ntx.modes |= MOD_NANO; in main()
129 ntx.modes = MOD_TAI; in main()
164 if (ntx.status < 0 || ntx.status >= 0x100) in main()
334 flash = ntx.status; in main()
348 ntx.maxerror, ntx.esterror); in main()
355 if (ntx.shift == 0) in main()
363 (u_long)ntx.calcnt, (u_long)ntx.jitcnt, in main()
[all …]
/freebsd/sys/dev/rtwn/usb/
H A Drtwn_usb_ep.c131 switch (uc->ntx) { in rtwn_usb_setup_queues()
169 uc->ntx = 0; in rtwn_usb_setup_endpoints()
185 if (uc->ntx == RTWN_MAX_EPOUT) in rtwn_usb_setup_endpoints()
188 addr[uc->ntx++] = UE_GET_ADDR(eaddr); in rtwn_usb_setup_endpoints()
191 if (uc->ntx == 0 || uc->ntx > RTWN_MAX_EPOUT) { in rtwn_usb_setup_endpoints()
194 uc->ntx); in rtwn_usb_setup_endpoints()
203 switch (uc->ntx) { in rtwn_usb_setup_endpoints()
221 KASSERT(0, ("unhandled number of endpoints %d\n", uc->ntx)); in rtwn_usb_setup_endpoints()
249 switch (uc->ntx) { in rtwn_usb_get_qmap()
H A Drtwn_usb_var.h79 int ntx; member
/freebsd/sys/contrib/dev/rtw89/
H A Dphy.c1880 u8 ntx) in rtw89_phy_fill_txpwr_limit() argument
1963 ntx, ch); in rtw89_phy_fill_txpwr_limit_ru_20m()
1966 ntx, ch); in rtw89_phy_fill_txpwr_limit_ru_20m()
1969 ntx, ch); in rtw89_phy_fill_txpwr_limit_ru_20m()
1979 ntx, ch - 2); in rtw89_phy_fill_txpwr_limit_ru_40m()
1982 ntx, ch + 2); in rtw89_phy_fill_txpwr_limit_ru_40m()
1985 ntx, ch - 2); in rtw89_phy_fill_txpwr_limit_ru_40m()
2056 ntx, in rtw89_phy_fill_txpwr_limit_ru_160m()
2060 ntx, in rtw89_phy_fill_txpwr_limit_ru_160m()
2064 ntx, in rtw89_phy_fill_txpwr_limit_ru_160m()
[all …]
H A Dphy.h527 u8 bw, u8 ntx, u8 rs, u8 bf, u8 ch);
/freebsd/contrib/ntp/ntpd/
H A Dntp_request.c2448 struct timex ntx; in get_kernel_info() local
2455 ZERO(ntx); in get_kernel_info()
2456 if (ntp_adjtime(&ntx) < 0) in get_kernel_info()
2464 ik->offset = htonl((u_int32)ntx.offset); in get_kernel_info()
2465 ik->freq = htonl((u_int32)ntx.freq); in get_kernel_info()
2468 ik->status = htons(ntx.status); in get_kernel_info()
2477 ik->jitter = htonl((u_int32)ntx.jitter); in get_kernel_info()
2478 ik->shift = htons(ntx.shift); in get_kernel_info()
2479 ik->stabil = htonl((u_int32)ntx.stabil); in get_kernel_info()
2480 ik->jitcnt = htonl((u_int32)ntx.jitcnt); in get_kernel_info()
[all …]
H A Dntp_control.c1916 static struct timex ntx; in ctl_putsys() local
1924 ZERO(ntx); in ctl_putsys()
1925 if (ntp_adjtime(&ntx) < 0) in ctl_putsys()
2312 if (0 == ntx.shift) \ in ctl_putsys()
2322 1000 * dbl_from_var_long(ntx.offset, ntx.status)) in ctl_putsys()
2329 (sys_var[varid].text, ntx.freq) in ctl_putsys()
2353 ss = k_st_flags(ntx.status); in ctl_putsys()
2369 1000 * dbl_from_var_long(ntx.precision, ntx.status)) in ctl_putsys()
2390 (sys_var[varid].text, ntx.stabil) in ctl_putsys()
2398 1000 * dbl_from_var_long(ntx.jitter, ntx.status)) in ctl_putsys()
[all …]
/freebsd/sys/dev/ntb/ntb_hw/
H A Dntb_hw_plx.c83 u_int ntx; /* NTx number within chip. */ member
110 #define PLX_NTX_BASE(sc) ((sc)->ntx ? PLX_NT1_BASE : PLX_NT0_BASE)
330 sc->ntx = (val & 1) != 0; in ntb_plx_attach()
350 sc->port = (val >> ((sc->ntx == 0) ? 8 : 16)) & 0x1f; in ntb_plx_attach()
354 sc->alut = (val == 0x3) ? 1 : ((val & (1 << sc->ntx)) ? 2 : 0); in ntb_plx_attach()
439 sc->spad_offp2 = sc->spad_off2 = PLX_PORT_BASE(sc->ntx * 8) + 0x20c; in ntb_plx_attach()
780 val += 2 * sc->ntx; in ntb_plx_mw_set_trans_internal()
/freebsd/sys/dev/usb/controller/
H A Dmusb_otg.c3046 uint8_t ntx; in musbotg_init() local
3134 ntx = in musbotg_init()
3137 sc->sc_ep_max = (nrx > ntx) ? nrx : ntx; in musbotg_init()
3139 nrx = ntx = sc->sc_ep_max; in musbotg_init()
3144 DPRINTFN(2, "RX/TX endpoints: %u/%u\n", nrx, ntx); in musbotg_init()
3201 if (ftx && (temp <= ntx)) { in musbotg_init()
3220 if (frx && ftx && (temp <= nrx) && (temp <= ntx)) { in musbotg_init()
3239 } else if (ftx && (temp <= ntx)) { in musbotg_init()
/freebsd/sys/dev/gem/
H A Dif_gem.c1320 int kicked, ntx; in gem_start_locked() local
1333 ntx = 0; in gem_start_locked()
1351 ntx++; in gem_start_locked()
1355 if (ntx > 0) { in gem_start_locked()
/freebsd/sys/dev/bwi/
H A Dif_bwi.c2179 int i, j, k, ntx, error; in bwi_dma_mbuf_create() local
2201 ntx = 0; in bwi_dma_mbuf_create()
2216 ntx = i; in bwi_dma_mbuf_create()
2225 ntx = BWI_TX_NRING; in bwi_dma_mbuf_create()
2257 bwi_dma_mbuf_destroy(sc, ntx, 0); in bwi_dma_mbuf_create()
2262 bwi_dma_mbuf_destroy(struct bwi_softc *sc, int ntx, int nrx) in bwi_dma_mbuf_destroy() argument
2269 for (i = 0; i < ntx; ++i) { in bwi_dma_mbuf_destroy()
/freebsd/sys/dev/cas/
H A Dif_cas.c1437 int kicked, ntx; in cas_start() local
1455 ntx = 0; in cas_start()
1473 ntx++; in cas_start()
1477 if (ntx > 0) { in cas_start()
/freebsd/contrib/ntp/
H A DCommitLog-4.1.04272 * util/ntptime.c (main): ntx.freq bugfix (-f option)