Lines Matching defs:mul
96 unsigned long mul, output_clk_hz, input_clk_hz;
110 mul = DIV_ROUND_UP(input_clk_hz, output_clk_hz);
111 if (mul <= max_timebase) {
113 timebase = DIV_ROUND_UP(mul, 1);
114 } else if (mul <= max_timebase * 8) {
116 timebase = DIV_ROUND_UP(mul, 8);
117 } else if (mul <= max_timebase * 64) {
119 timebase = DIV_ROUND_UP(mul, 64);
120 } else if (mul <= max_timebase * 512) {
122 timebase = DIV_ROUND_UP(mul, 512);