Lines Matching refs:base
98 static void approximate(int base, int target, int *prediv,
105 freq = abs(base / j * i / k - target);
115 static void calculate(int base, int target, int *prediv, int *postdiv,
121 tmp_base = base / *prediv;
131 if (base / *prediv * *mul / *postdiv != target) {
132 approximate(base, target, prediv, postdiv, mul);
133 tmp_freq = base / *prediv * *mul / *postdiv;
261 static void tnetd7200_set_clock(int base, struct tnetd7200_clock *clock,
265 "Clocks: base = %d, frequency = %u, prediv = %d, "
267 base, frequency, prediv, postdiv, postdiv2, mul);