Searched refs:shift_constant (Results 1 – 1 of 1) sorted by relevance
141 static inline u32 clocksource_freq2mult(u32 freq, u32 shift_constant, u64 from) in clocksource_freq2mult() argument150 u64 tmp = ((u64)from) << shift_constant; in clocksource_freq2mult()166 static inline u32 clocksource_khz2mult(u32 khz, u32 shift_constant) in clocksource_khz2mult() argument168 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() argument182 return clocksource_freq2mult(hz, shift_constant, NSEC_PER_SEC); in clocksource_hz2mult()