Home | History | Annotate | Download | only in utilities

Lines Matching defs:Divisor

432  *              Divisor             - 32-bit divisor
447 UINT32 Divisor,
459 /* Always check for a zero divisor */
461 if (Divisor == 0)
473 ACPI_DIV_64_BY_32 (0, DividendOvl.Part.Hi, Divisor,
476 ACPI_DIV_64_BY_32 (Remainder32, DividendOvl.Part.Lo, Divisor,
499 * InDivisor - Divisor
517 UINT64_OVERLAY Divisor;
530 /* Always check for a zero divisor */
538 Divisor.Full = InDivisor;
540 if (Divisor.Part.Hi == 0)
543 * 1) Simplest case is where the divisor is 32 bits, we can
552 ACPI_DIV_64_BY_32 (0, Dividend.Part.Hi, Divisor.Part.Lo,
555 ACPI_DIV_64_BY_32 (Partial1, Dividend.Part.Lo, Divisor.Part.Lo,
562 * 2) The general case where the divisor is a full 64 bits
567 NormalizedDivisor = Divisor;
569 /* Normalize the operands (shift until the divisor is < 32 bits) */
590 Partial1 = Quotient.Part.Lo * Divisor.Part.Hi;
591 Partial2.Full = (UINT64) Quotient.Part.Lo * Divisor.Part.Lo;
606 Remainder.Full -= Divisor.Full;
612 Remainder.Full -= Divisor.Full;
661 UINT32 Divisor,
669 /* Always check for a zero divisor */
671 if (Divisor == 0)
681 *OutQuotient = InDividend / Divisor;
685 *OutRemainder = (UINT32) (InDividend % Divisor);
701 /* Always check for a zero divisor */