Lines Matching refs:postdiv
72 u32 postdiv;
99 int *postdiv, int *mul)
110 *postdiv = k;
115 static void calculate(int base, int target, int *prediv, int *postdiv,
124 *postdiv = tmp_base / tmp_gcd;
127 if ((*postdiv > 0) & (*postdiv <= 32))
131 if (base / *prediv * *mul / *postdiv != target) {
132 approximate(base, target, prediv, postdiv, mul);
133 tmp_freq = base / *prediv * *mul / *postdiv;
139 printk(KERN_DEBUG "Clocks: prediv: %d, postdiv: %d, mul: %d\n",
140 *prediv, *postdiv, *mul);
167 int postdiv = (ctrl & POSTDIV_MASK) + 1;
168 int divisor = prediv * postdiv;
208 int prediv, postdiv, mul;
226 calculate(base_clock, frequency, &prediv, &postdiv, &mul);
228 writel(((prediv - 1) << PREDIV_SHIFT) | (postdiv - 1), &clock->ctrl);
262 int prediv, int postdiv, int postdiv2, int mul, u32 frequency)
266 "postdiv = %d, postdiv2 = %d, mul = %d\n",
267 base, frequency, prediv, postdiv, postdiv2, mul);
276 writel(DIVISOR_ENABLE_MASK | ((postdiv - 1) & 0x1F), &clock->postdiv);