Lines Matching +full:power +full:- +full:stable +full:- +full:time
1 /* SPDX-License-Identifier: GPL-2.0 */
14 #include <linux/time.h>
35 * struct clocksource - hardware abstraction for a free running counter
36 * Provides mostly state-free accessors to the underlying hardware.
37 * This is the structure used for system time.
43 * @shift: Cycle to nanosecond divisor (power of two)
44 * @max_idle_ns: Maximum idle time permitted by the clocksource (nsecs)
48 * @archdata: Optional arch-specific data
57 * 1-99: Unfit for real use
59 * 100-199: Base level usability.
61 * 200-299: Good.
63 * 300-399: Desired.
65 * 400-499: Perfect
66 * The ideal clocksource. A must-use where
80 * code to provide stable synchronization points
145 #define CLOCKSOURCE_MASK(bits) GENMASK_ULL((bits) - 1, 0)
165 * clocksource_khz2mult - calculates mult from khz and shift
178 * clocksource_hz2mult - calculates mult from hz and shift
192 * clocksource_cyc2ns - converts clocksource cycles to nanoseconds
195 * @shift: cycle to nanosecond divisor (power of two)
202 * XXX - This could use some mult_lxl_ll() asm optimization