Lines Matching defs:denom
49 static int chipcHw_divide(int num, int denom)
748 static int chipcHw_divide(int num, int denom)
753 /* Shift denom and t up to the largest value to optimize algorithm */
755 while ((denom & 0x40000000) == 0) { /* fails if denom=0 */
756 denom = denom << 1;
765 if ((num - denom) >= 0) {
767 num = num - denom;
770 /* Continue to shift denom and shift t down to 0 */
771 denom = denom >> 1;