Home
last modified time | relevance | path

Searched refs:tsc (Results 1 – 25 of 31) sorted by relevance

12

/trueos/sys/x86/x86/
HDtsc.c350 uint64_t *tsc = arg; \
354 tsc[cpu * 3 + x] = rdtsc(); \
366 uint64_t *tsc; in comp_smp_tsc() local
372 for (i = 0, tsc = arg; i < N; i++, tsc += size) in comp_smp_tsc()
376 d1 = tsc[cpu * 3 + 1] - tsc[j * 3]; in comp_smp_tsc()
377 d2 = tsc[cpu * 3 + 2] - tsc[j * 3 + 1]; in comp_smp_tsc()
388 uint64_t *tsc; in adj_smp_tsc() local
399 for (i = 0, tsc = arg; i < N; i++, tsc += size) { in adj_smp_tsc()
400 d = tsc[first * 3] - tsc[cpu * 3 + 1]; in adj_smp_tsc()
403 d = tsc[first * 3 + 1] - tsc[cpu * 3 + 2]; in adj_smp_tsc()
[all …]
/trueos/contrib/ntp/util/
HDpps-api.c31 Chew(struct timespec *tsa, struct timespec *tsc, unsigned sa, unsigned sc) in Chew() argument
37 printf("%d.%09d ", tsc->tv_sec, tsc->tv_nsec); in Chew()
40 ts = *tsc; in Chew()
/trueos/sys/net/
HDif_gre.c567 struct gre_softc *sc, *tsc; in gre_set_tunnel() local
580 LIST_FOREACH(tsc, &V_gre_softc_list, gre_list) { in gre_set_tunnel()
581 if (tsc == sc || tsc->gre_family != src->sa_family) in gre_set_tunnel()
584 if (tsc->gre_family == AF_INET && in gre_set_tunnel()
585 tsc->gre_oip.ip_src.s_addr == in gre_set_tunnel()
587 tsc->gre_oip.ip_dst.s_addr == in gre_set_tunnel()
594 if (tsc->gre_family == AF_INET6 && in gre_set_tunnel()
595 IN6_ARE_ADDR_EQUAL(&tsc->gre_oip6.ip6_src, in gre_set_tunnel()
597 IN6_ARE_ADDR_EQUAL(&tsc->gre_oip6.ip6_dst, in gre_set_tunnel()
HDif_gif.c989 struct gif_softc *tsc; in gif_set_tunnel() local
1004 LIST_FOREACH(tsc, &V_gif_softc_list, gif_list) { in gif_set_tunnel()
1005 if (tsc == sc || tsc->gif_family != src->sa_family) in gif_set_tunnel()
1008 if (tsc->gif_family == AF_INET && in gif_set_tunnel()
1009 tsc->gif_iphdr->ip_src.s_addr == in gif_set_tunnel()
1011 tsc->gif_iphdr->ip_dst.s_addr == in gif_set_tunnel()
1019 if (tsc->gif_family == AF_INET6 && in gif_set_tunnel()
1020 IN6_ARE_ADDR_EQUAL(&tsc->gif_ip6hdr->ip6_src, in gif_set_tunnel()
1022 IN6_ARE_ADDR_EQUAL(&tsc->gif_ip6hdr->ip6_dst, in gif_set_tunnel()
HDif_me.c356 struct me_softc *sc, *tsc; in me_set_tunnel() local
361 LIST_FOREACH(tsc, &V_me_softc_list, me_list) { in me_set_tunnel()
362 if (tsc == sc || !ME_READY(tsc)) in me_set_tunnel()
364 if (tsc->me_src.s_addr == src->sin_addr.s_addr && in me_set_tunnel()
365 tsc->me_dst.s_addr == dst->sin_addr.s_addr) { in me_set_tunnel()
/trueos/tools/test/ppsapi/
HDppsapitest.c22 Chew(struct timespec *tsa, struct timespec *tsc, unsigned sa, unsigned sc) in Chew() argument
25 printf(" %jd .%09ld %u\n", (intmax_t)tsc->tv_sec, tsc->tv_nsec, sc); in Chew()
/trueos/sys/cddl/dev/dtrace/i386/
HDdtrace_subr.c447 uint64_t tsc; in dtrace_gethrtime() local
457 tsc = rdtsc() - tsc_skew[curcpu]; in dtrace_gethrtime()
458 lo = tsc; in dtrace_gethrtime()
459 hi = tsc >> 32; in dtrace_gethrtime()
/trueos/sys/cddl/dev/dtrace/amd64/
HDdtrace_subr.c438 uint64_t tsc; in dtrace_gethrtime() local
448 tsc = rdtsc() - tsc_skew[curcpu]; in dtrace_gethrtime()
449 lo = tsc; in dtrace_gethrtime()
450 hi = tsc >> 32; in dtrace_gethrtime()
/trueos/sys/xen/interface/arch-x86/hvm/
HDsave.h145 uint64_t tsc; member
254 uint64_t tsc; member
279 new->tsc=old->tsc; in _hvm_hw_fix_cpu()
/trueos/lib/libpmc/
HDMakefile47 MAN+= pmc.tsc.3
HDlibpmc.c347 PMC_CLASS_TABLE_DESC(tsc, TSC, tsc, tsc);
2863 count = PMC_EVENT_TABLE_SIZE(tsc); in pmc_event_names_of_class()
3386 evfence = tsc_event_table + PMC_EVENT_TABLE_SIZE(tsc); in _pmc_name_of_event()
/trueos/sys/gnu/dts/arm/
HDlpc32xx.dtsi278 tsc@40048000 {
279 compatible = "nxp,lpc3220-tsc";
HDimx25.dtsi268 tsc: tsc@50030000 { label
269 compatible = "fsl,imx25-adc", "fsl,imx21-tsc";
HDphy3250.dts174 tsc@40048000 {
HDatlas6.dtsi356 tsc@b0110000 {
357 compatible = "sirf,prima2-tsc";
HDprima2.dtsi370 tsc@b0110000 {
371 compatible = "sirf,prima2-tsc";
HDam33xx.dtsi791 tsc {
792 compatible = "ti,am3359-tsc";
HDam4372.dtsi685 tsc {
686 compatible = "ti,am3359-tsc";
HDam335x-pepper.dts501 tsc {
HDam335x-evmsk.dts670 tsc {
HDam335x-evm.dts646 tsc {
/trueos/sys/dev/mwl/
HDmwlhal.h446 } tsc; member
HDmwlhal.c1217 htole16(kv->key.tkip.tsc.low); in mwl_hal_keyset()
1219 htole32(kv->key.tkip.tsc.high); in mwl_hal_keyset()
/trueos/sys/conf/
HDfiles.pc98264 x86/x86/tsc.c standard
/trueos/sys/dev/iwn/
HDif_iwnreg.h686 uint64_t tsc; member

12