Lines Matching full:mult
43 * @mult: Cycle to nanosecond multiplier
46 * @maxadj: Maximum adjustment value to mult (~11%)
103 u32 mult; member
156 * mult/2^shift = ns/cyc in clocksource_freq2mult()
157 * mult = ns/cyc * 2^shift in clocksource_freq2mult()
158 * mult = from/freq * 2^shift in clocksource_freq2mult()
159 * mult = from * 2^shift / freq in clocksource_freq2mult()
160 * mult = (from<<shift) / freq in clocksource_freq2mult()
171 * clocksource_khz2mult - calculates mult from khz and shift
184 * clocksource_hz2mult - calculates mult from hz and shift
200 * @mult: cycle to nanosecond multiplier
203 * Converts clocksource cycles to nanoseconds, using the given @mult and @shift.
210 static inline s64 clocksource_cyc2ns(u64 cycles, u32 mult, u32 shift) in clocksource_cyc2ns() argument
212 return ((u64) cycles * mult) >> shift; in clocksource_cyc2ns()
228 clocks_calc_max_nsecs(u32 mult, u32 shift, u32 maxadj, u64 mask, u64 *max_cycles);
230 clocks_calc_mult_shift(u32 *mult, u32 *shift, u32 from, u32 to, u32 minsec);