Lines Matching +full:1 +full:khz
57 * 1-99: Unfit for real use
145 #define CLOCKSOURCE_MASK(bits) GENMASK_ULL((bits) - 1, 0)
165 * clocksource_khz2mult - calculates mult from khz and shift
166 * @khz: Clocksource frequency in KHz
169 * Helper functions that converts a khz counter frequency to a timsource
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()
228 * clocksource_register_hz/khz
241 return __clocksource_register_scale(cs, 1, 0); in __clocksource_register()
246 return __clocksource_register_scale(cs, 1, hz); in clocksource_register_hz()
249 static inline int clocksource_register_khz(struct clocksource *cs, u32 khz) in clocksource_register_khz() argument
251 return __clocksource_register_scale(cs, 1000, khz); in clocksource_register_khz()
256 __clocksource_update_freq_scale(cs, 1, hz); in __clocksource_update_freq_hz()
259 static inline void __clocksource_update_freq_khz(struct clocksource *cs, u32 khz) in __clocksource_update_freq_khz() argument
261 __clocksource_update_freq_scale(cs, 1000, khz); in __clocksource_update_freq_khz()