Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dclocksource.h147 static inline u32 clocksource_freq2mult(u32 freq, u32 shift_constant, u64 from) in clocksource_freq2mult() argument
156 u64 tmp = ((u64)from) << shift_constant; in clocksource_freq2mult()
172 static inline u32 clocksource_khz2mult(u32 khz, u32 shift_constant) in clocksource_khz2mult() argument
174 return clocksource_freq2mult(khz, shift_constant, NSEC_PER_MSEC); in clocksource_khz2mult()
186 static inline u32 clocksource_hz2mult(u32 hz, u32 shift_constant) in clocksource_hz2mult() argument
188 return clocksource_freq2mult(hz, shift_constant, NSEC_PER_SEC); in clocksource_hz2mult()