Lines Matching full:khz
54 * @freq_khz: Clocksource frequency in khz.
171 * clocksource_khz2mult - calculates mult from khz and shift
172 * @khz: Clocksource frequency in KHz
175 * Helper functions that converts a khz counter frequency to a timsource
178 static inline u32 clocksource_khz2mult(u32 khz, u32 shift_constant) in clocksource_khz2mult() argument
180 return clocksource_freq2mult(khz, shift_constant, NSEC_PER_MSEC); in clocksource_khz2mult()
234 * clocksource_register_hz/khz
255 static inline int clocksource_register_khz(struct clocksource *cs, u32 khz) in clocksource_register_khz() argument
257 return __clocksource_register_scale(cs, 1000, khz); in clocksource_register_khz()
265 static inline void __clocksource_update_freq_khz(struct clocksource *cs, u32 khz) in __clocksource_update_freq_khz() argument
267 __clocksource_update_freq_scale(cs, 1000, khz); in __clocksource_update_freq_khz()
323 * @freq_khz: Nominal frequency of the base clock in kHz