Lines Matching refs:base
100 static void approximate(int base, int target, int *prediv,
107 freq = abs(base / j * i / k - target);
117 static void calculate(int base, int target, int *prediv, int *postdiv,
123 tmp_base = base / *prediv;
133 if (base / *prediv * *mul / *postdiv != target) {
134 approximate(base, target, prediv, postdiv, mul);
135 tmp_freq = base / *prediv * *mul / *postdiv;
271 static void tnetd7200_set_clock(int base, struct tnetd7200_clock *clock,
275 "Clocks: base = %d, frequency = %u, prediv = %d, "
277 base, frequency, prediv, postdiv, postdiv2, mul);