Lines Matching refs:part
68 struct uint64_struct part; member
112 ACPI_DIV_64_BY_32(0, dividend_ovl.part.hi, divisor, in acpi_ut_short_divide()
113 quotient.part.hi, remainder32); in acpi_ut_short_divide()
114 ACPI_DIV_64_BY_32(remainder32, dividend_ovl.part.lo, divisor, in acpi_ut_short_divide()
115 quotient.part.lo, remainder32); in acpi_ut_short_divide()
169 if (divisor.part.hi == 0) { in acpi_ut_divide()
174 remainder.part.hi = 0; in acpi_ut_divide()
180 ACPI_DIV_64_BY_32(0, dividend.part.hi, divisor.part.lo, in acpi_ut_divide()
181 quotient.part.hi, partial1); in acpi_ut_divide()
182 ACPI_DIV_64_BY_32(partial1, dividend.part.lo, divisor.part.lo, in acpi_ut_divide()
183 quotient.part.lo, remainder.part.lo); in acpi_ut_divide()
191 quotient.part.hi = 0; in acpi_ut_divide()
198 ACPI_SHIFT_RIGHT_64(normalized_divisor.part.hi, in acpi_ut_divide()
199 normalized_divisor.part.lo); in acpi_ut_divide()
200 ACPI_SHIFT_RIGHT_64(normalized_dividend.part.hi, in acpi_ut_divide()
201 normalized_dividend.part.lo); in acpi_ut_divide()
203 } while (normalized_divisor.part.hi != 0); in acpi_ut_divide()
207 ACPI_DIV_64_BY_32(normalized_dividend.part.hi, in acpi_ut_divide()
208 normalized_dividend.part.lo, in acpi_ut_divide()
209 normalized_divisor.part.lo, in acpi_ut_divide()
210 quotient.part.lo, partial1); in acpi_ut_divide()
216 partial1 = quotient.part.lo * divisor.part.hi; in acpi_ut_divide()
217 partial2.full = (u64) quotient.part.lo * divisor.part.lo; in acpi_ut_divide()
218 partial3.full = (u64) partial2.part.hi + partial1; in acpi_ut_divide()
220 remainder.part.hi = partial3.part.lo; in acpi_ut_divide()
221 remainder.part.lo = partial2.part.lo; in acpi_ut_divide()
223 if (partial3.part.hi == 0) { in acpi_ut_divide()
224 if (partial3.part.lo >= dividend.part.hi) { in acpi_ut_divide()
225 if (partial3.part.lo == dividend.part.hi) { in acpi_ut_divide()
226 if (partial2.part.lo > dividend.part.lo) { in acpi_ut_divide()
227 quotient.part.lo--; in acpi_ut_divide()
231 quotient.part.lo--; in acpi_ut_divide()
237 remainder.part.hi = (u32) - ((s32) remainder.part.hi); in acpi_ut_divide()
238 remainder.part.lo = (u32) - ((s32) remainder.part.lo); in acpi_ut_divide()
240 if (remainder.part.lo) { in acpi_ut_divide()
241 remainder.part.hi--; in acpi_ut_divide()