/device/linaro/bootloader/edk2/StdLib/LibC/CRT/ |
D | Gcc.c | 64 int __divsi3(int Dividend, int Divisor) in __divsi3() argument 67 return (int) DivS64x64Remainder ((INT64) Dividend, (INT64) Divisor, NULL); in __divsi3() 70 INT64 __divdi3(INT64 Dividend, INT64 Divisor) in __divdi3() argument 74 Quotient = DivS64x64Remainder ((INT64) Dividend, (INT64) Divisor, NULL); in __divdi3() 75 DEBUG((DEBUG_INFO, "%a: %Ld / %Ld = %Ld\n", __func__, Dividend, Divisor, Quotient)); in __divdi3() 80 long long __divti3(long long Dividend, long long Divisor) in __divti3() argument 83 return (long long) DivS64x64Remainder ((INT64) Dividend, (INT64) Divisor, NULL); in __divti3() 108 int __modsi3(int Dividend, int Divisor) in __modsi3() argument 112 (void) DivS64x64Remainder ((INT64) Dividend, (INT64) Divisor, &Remainder); in __modsi3() 113 DEBUG((DEBUG_INFO, "modsi3: %d %% %d = %d\n", Dividend, Divisor, (int)Remainder)); in __modsi3() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/ |
D | Math64.c | 257 IN UINT32 Divisor in InternalMathDivU64x32() argument 260 return Dividend / Divisor; in InternalMathDivU64x32() 281 IN UINT32 Divisor in InternalMathModU64x32() argument 284 return (UINT32)(Dividend % Divisor); in InternalMathModU64x32() 308 IN UINT32 Divisor, in InternalMathDivRemU64x32() argument 313 *Remainder = (UINT32)(Dividend % Divisor); in InternalMathDivRemU64x32() 315 return Dividend / Divisor; in InternalMathDivRemU64x32() 339 IN UINT64 Divisor, in InternalMathDivRemU64x64() argument 344 *Remainder = Dividend % Divisor; in InternalMathDivRemU64x64() 346 return Dividend / Divisor; in InternalMathDivRemU64x64() [all …]
|
D | DivU64x32.c | 45 IN UINT32 Divisor in GlueDivU64x32() argument 48 ASSERT (Divisor != 0); in GlueDivU64x32() 49 return InternalMathDivU64x32 (Dividend, Divisor); in GlueDivU64x32()
|
D | ModU64x32.c | 45 IN UINT32 Divisor in ModU64x32() argument 48 ASSERT (Divisor != 0); in ModU64x32() 49 return InternalMathModU64x32 (Dividend, Divisor); in ModU64x32()
|
D | DivS64x64Remainder.c | 48 IN INT64 Divisor, in DivS64x64Remainder() argument 52 ASSERT (Divisor != 0); in DivS64x64Remainder() 53 return InternalMathDivRemS64x64 (Dividend, Divisor, Remainder); in DivS64x64Remainder()
|
D | DivU64x32Remainder.c | 48 IN UINT32 Divisor, in DivU64x32Remainder() argument 52 ASSERT (Divisor != 0); in DivU64x32Remainder() 53 return InternalMathDivRemU64x32 (Dividend, Divisor, Remainder); in DivU64x32Remainder()
|
D | DivU64x64Remainder.c | 47 IN UINT64 Divisor, in DivU64x64Remainder() argument 51 ASSERT (Divisor != 0); in DivU64x64Remainder() 52 return InternalMathDivRemU64x64 (Dividend, Divisor, Remainder); in DivU64x64Remainder()
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/ |
D | Math64.c | 247 IN UINT32 Divisor in InternalMathDivU64x32() argument 250 return Dividend / Divisor; in InternalMathDivU64x32() 271 IN UINT32 Divisor in InternalMathModU64x32() argument 274 return (UINT32)(Dividend % Divisor); in InternalMathModU64x32() 298 IN UINT32 Divisor, in InternalMathDivRemU64x32() argument 303 *Remainder = (UINT32)(Dividend % Divisor); in InternalMathDivRemU64x32() 305 return Dividend / Divisor; in InternalMathDivRemU64x32() 329 IN UINT64 Divisor, in InternalMathDivRemU64x64() argument 334 *Remainder = Dividend % Divisor; in InternalMathDivRemU64x64() 336 return Dividend / Divisor; in InternalMathDivRemU64x64() [all …]
|
D | DivU64x32.c | 40 IN UINT32 Divisor in DivU64x32() argument 43 ASSERT (Divisor != 0); in DivU64x32() 44 return InternalMathDivU64x32 (Dividend, Divisor); in DivU64x32()
|
D | ModU64x32.c | 40 IN UINT32 Divisor in ModU64x32() argument 43 ASSERT (Divisor != 0); in ModU64x32() 44 return InternalMathModU64x32 (Dividend, Divisor); in ModU64x32()
|
D | DivU64x64Remainder.c | 43 IN UINT64 Divisor, in DivU64x64Remainder() argument 47 ASSERT (Divisor != 0); in DivU64x64Remainder() 48 return InternalMathDivRemU64x64 (Dividend, Divisor, Remainder); in DivU64x64Remainder()
|
D | DivU64x32Remainder.c | 43 IN UINT32 Divisor, in DivU64x32Remainder() argument 47 ASSERT (Divisor != 0); in DivU64x32Remainder() 48 return InternalMathDivRemU64x32 (Dividend, Divisor, Remainder); in DivU64x32Remainder()
|
D | DivS64x64Remainder.c | 47 IN INT64 Divisor, in DivS64x64Remainder() argument 51 ASSERT (Divisor != 0); in DivS64x64Remainder() 52 return InternalMathDivRemS64x64 (Dividend, Divisor, Remainder); in DivS64x64Remainder()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/Ia32/ |
D | DivS64x64Remainder.c | 45 IN INT64 Divisor, in InternalMathDivRemS64x64() argument 53 (UINT64) (Divisor >= 0 ? Divisor : -Divisor), in InternalMathDivRemS64x64() 59 return (Dividend ^ Divisor) >= 0 ? Quot : -Quot; in InternalMathDivRemS64x64()
|
D | DivU64x64Remainder.c | 22 IN UINT64 Divisor, in InternalMathDivRemU64x64() argument 31 mov ecx, dword ptr [Divisor + 4] in InternalMathDivRemU64x64() 32 mov ebx, dword ptr [Divisor + 0] // ecx:ebx <- divisor in InternalMathDivRemU64x64() 41 mov ecx, dword ptr [Divisor + 4] in InternalMathDivRemU64x64() 42 mul dword ptr [Divisor] in InternalMathDivRemU64x64() 55 sub eax, dword ptr [Divisor + 0] in InternalMathDivRemU64x64() 56 sbb edx, dword ptr [Divisor + 4] in InternalMathDivRemU64x64()
|
D | ModU64x32.c | 29 IN UINT32 Divisor in InternalMathModU64x32() argument 34 mov ecx, Divisor in InternalMathModU64x32()
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/Ia32/ |
D | DivS64x64Remainder.c | 38 IN INT64 Divisor, in InternalMathDivRemS64x64() argument 46 (UINT64) (Divisor >= 0 ? Divisor : -Divisor), in InternalMathDivRemS64x64() 52 return (Dividend ^ Divisor) >= 0 ? Quot : -Quot; in InternalMathDivRemS64x64()
|
D | ModU64x32.c | 36 IN UINT32 Divisor in InternalMathModU64x32() argument 41 mov ecx, Divisor in InternalMathModU64x32()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Ipf/ |
D | Math.c | 110 IN UINTN Divisor, in DivU64x32() argument 135 *Remainder = Dividend % Divisor; in DivU64x32() 138 return Dividend / Divisor; in DivU64x32()
|
/device/linaro/bootloader/edk2/PcAtChipsetPkg/Library/SerialIoLib/ |
D | SerialPortLib.c | 76 UINTN Divisor; in SerialPortInitialize() local 88 Divisor = 115200 / gBps; in SerialPortInitialize() 99 IoWrite8 ((UINTN) (gUartBase + BAUD_HIGH_OFFSET), (UINT8) (Divisor >> 8)); in SerialPortInitialize() 100 IoWrite8 ((UINTN) (gUartBase + BAUD_LOW_OFFSET), (UINT8) (Divisor & 0xff)); in SerialPortInitialize() 391 UINTN Divisor; in SerialPortSetAttributes() local 467 Divisor = 115200 / (UINTN) *BaudRate; in SerialPortSetAttributes() 478 IoWrite8 ((UINTN) (gUartBase + BAUD_HIGH_OFFSET), (UINT8) (Divisor >> 8)); in SerialPortSetAttributes() 479 IoWrite8 ((UINTN) (gUartBase + BAUD_LOW_OFFSET), (UINT8) (Divisor & 0xff)); in SerialPortSetAttributes()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/Ia32/ |
D | DivU64x32.c | 27 IN UINTN Divisor, in DivU64x32() argument 56 mov ecx, Divisor ; Put 32 bits divisor in ECX in DivU64x32() 57 div ecx ; Dividend Divisor Quoitent...Remainder in DivU64x32() 64 ; Dividend Divisor Quoitent...Remainder in DivU64x32()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/SerialPortLib/ |
D | SerialPortLib.c | 62 UINTN Divisor; in UARTInitialize() 74 Divisor = 115200 / gBps; in UARTInitialize() 85 IoWrite8 (gComBase + BAUD_HIGH_OFFSET, (UINT8) (Divisor >> 8)); in UARTInitialize() 86 IoWrite8 (gComBase + BAUD_LOW_OFFSET, (UINT8) (Divisor & 0xff)); in UARTInitialize()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/ |
D | Math.c | 123 IN UINTN Divisor, in DivU64x32() argument 147 *Remainder = Dividend % Divisor; in DivU64x32() 150 return Dividend / Divisor; in DivU64x32()
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/GdbSerialLib/ |
D | GdbSerialLib.c | 116 UINTN Divisor; in GdbSerialInit() local 133 Divisor = 115200/(UINTN)BaudRate; in GdbSerialInit() 144 IoWrite8 (gPort + BAUD_HIGH_OFFSET, (UINT8)(Divisor >> 8)); in GdbSerialInit() 145 IoWrite8 (gPort + BAUD_LOW_OFFSET, (UINT8)(Divisor & 0xff)); in GdbSerialInit()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/X64/ |
D | Math.c | 87 IN UINTN Divisor, in DivU64x32() argument 114 return Dividend/Divisor; in DivU64x32()
|