Lines Matching full:cycle
19 * Depending on which hardware it reads, the cycle counter may wrap
23 * @read: returns the current cycle value
27 * @mult: cycle to nanosecond multiplier
28 * @shift: cycle to nanosecond divisor (power of two)
40 * cycle counter wrap around. Initialize with
41 * timecounter_init(). Also used to convert cycle counts into the
44 * cycle counter hardware, locking issues and reading the time
45 * more often than the cycle counter wraps around. The nanosecond
48 * @cc: the cycle counter used by this instance
49 * @cycle_last: most recent cycle counter value seen by
64 * cyclecounter_cyc2ns - converts cycle counter cycles to nanoseconds
65 * @cc: Pointer to cycle counter.
70 * Returns: cycle counter cycles converted to nanoseconds
95 * @cc: A cycle counter, ready to be used.
98 * After this call the current cycle register (roughly) corresponds to
119 * timecounter_cyc2time - convert a cycle counter to same
125 * Cycle counts that are converted correctly as long as they
126 * fall into the interval [-1/2 max cycle count, +1/2 max cycle count],
127 * with "max cycle count" == cs->mask+1.
129 * This allows conversion of cycle counter values which were generated
132 * Returns: cycle counter converted to nanoseconds since the initial time stamp