Lines Matching refs:denom
54 static int tmrHw_divide(int num, int denom)
549 static int tmrHw_divide(int num, int denom)
554 /* Shift denom and t up to the largest value to optimize algorithm */
556 while ((denom & 0x40000000) == 0) { /* fails if denom=0 */
557 denom = denom << 1;
566 if ((num - denom) >= 0) {
568 num = num - denom;
571 /* Continue to shift denom and shift t down to 0 */
572 denom = denom >> 1;