Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dclocksource.h141 static inline u32 clocksource_freq2mult(u32 freq, u32 shift_constant, u64 from) in clocksource_freq2mult() argument
150 u64 tmp = ((u64)from) << shift_constant; in clocksource_freq2mult()
166 static inline u32 clocksource_khz2mult(u32 khz, u32 shift_constant) in clocksource_khz2mult() argument
168 return clocksource_freq2mult(khz, shift_constant, NSEC_PER_MSEC); in clocksource_khz2mult()
180 static inline u32 clocksource_hz2mult(u32 hz, u32 shift_constant) in clocksource_hz2mult() argument
182 return clocksource_freq2mult(hz, shift_constant, NSEC_PER_SEC); in clocksource_hz2mult()