Lines Matching refs:divider
369 * proper counter value (divider-1). Sets the original period to be the
376 int divider;
381 divider = DIV_ROUND_CLOSEST(*nanosec, base);
384 divider = (*nanosec) / base;
387 divider = DIV_ROUND_UP(*nanosec, base);
390 if (divider < 2)
391 divider = 2; /* min is divide by 2 */
398 *nanosec = base * divider;
399 return divider - 1; /* countdown is divisor+1 */
404 * (divider-1) for the internal clock. Sets the original period to