Lines Matching defs:ns
105 u64 ns;
142 ns = timecounter_cyc2time(&fep->tc, tempval);
143 ts = ns_to_timespec64(ns);
152 * - ts.tv_nsec is close to be zero(For example 20ns); Since the timer
280 * cyclecounter structure used to construct a ns counter from the
304 * structures for use in generated a ns counter from the arbitrary
318 /* 1ns counter */
333 /* reset the ns time counter */
440 * read the timecounter and return the correct value on ns,
447 u64 ns;
457 ns = timecounter_read(&fep->tc);
461 *ts = ns_to_timespec64(ns);
480 u64 ns;
491 ns = timespec64_to_ns(ts);
495 counter = ns & fep->cc.mask;
499 timecounter_init(&fep->tc, &fep->cc, ns);
561 /* Convert 1588 timestamp to ns*/
589 * 0x80000000 ns, a software timer is used and the timer expires about