/kernel/uniproton/src/arch/cpu/armv7-m/cortex-m4/ |
D | prt_div64.c | 24 OS_SEC_TEXT U32 OsleadingZeroCount(U64 data) in OsleadingZeroCount() 40 OS_SEC_TEXT void OsU64Div(U64 dividend, U64 divisor, U64 *quotient, U64 *remainder) in OsU64Div() 44 U64 tmpDivisor; in OsU64Div() 45 U64 tmpRemainder; in OsU64Div() 46 U64 tmpQuotient = 0; in OsU64Div() 79 OS_SEC_TEXT U64 OsU64DivGetQuotient(U64 dividend, U64 divisor) in OsU64DivGetQuotient() 81 U64 quotient = 0; in OsU64DivGetQuotient() 82 U64 remainder; in OsU64DivGetQuotient() 89 OS_SEC_TEXT U64 OsU64DivGetRemainder(U64 dividend, U64 divisor) in OsU64DivGetRemainder() 91 U64 quotient; in OsU64DivGetRemainder() [all …]
|
/kernel/uniproton/src/om/cpup/ |
D | prt_cpup_thread_internal.h | 51 extern U64 g_cpuWinStart; 52 extern U64 g_cpuTimeDelTask; 65 extern U64 OsCpupAllTaskTimeGet(void); 66 extern void OsCpupStartEnd(U32 lastTaskId, U32 nextTaskId, U64 curCycle); 70 OS_SEC_ALW_INLINE INLINE U64 OsCpupGetWinCycles(U64 curCycle) in OsCpupGetWinCycles() 72 U64 cycles = curCycle - g_cpuWinStart; in OsCpupGetWinCycles() 76 cycles = (U64)(-1); in OsCpupGetWinCycles()
|
D | prt_cpup_thread_64.c | 66 OS_SEC_L2_TEXT void OsCpupStartEnd(U32 lastTaskId, U32 nextTaskId, U64 curCycle) in OsCpupStartEnd() 133 OS_SEC_L2_TEXT U64 OsCpupAllTaskTimeGet(void) in OsCpupAllTaskTimeGet() 136 U64 allTime = 0; in OsCpupAllTaskTimeGet() 203 U64 cpuCycleAll; in OsCpupThreadNow() 206 U64 curCycle; in OsCpupThreadNow() 252 U64 cpuCycleAll; in PRT_CpupThread() 253 U64 allTime; in PRT_CpupThread() 254 U64 curCycle; in PRT_CpupThread()
|
D | prt_cpup_thread.c | 18 OS_SEC_BSS U64 g_cpuWinStart; 20 OS_SEC_BSS U64 g_cpuTimeDelTask;
|
/kernel/linux/linux-5.10/lib/zstd/ |
D | mem.h | 40 typedef uint64_t U64; typedef 63 ZSTD_STATIC U64 ZSTD_read64(const void *memPtr) { return get_unaligned((const U64 *)memPtr); } in ZSTD_read64() 71 ZSTD_STATIC void ZSTD_write64(void *memPtr, U64 value) { put_unaligned(value, (U64 *)memPtr); } in ZSTD_write64() 91 ZSTD_STATIC U64 ZSTD_readLE64(const void *memPtr) { return get_unaligned_le64(memPtr); } in ZSTD_readLE64() 93 ZSTD_STATIC void ZSTD_writeLE64(void *memPtr, U64 val64) { put_unaligned_le64(val64, memPtr); } in ZSTD_writeLE64() 108 ZSTD_writeLE64(memPtr, (U64)val); in ZSTD_writeLEST() 117 ZSTD_STATIC U64 ZSTD_readBE64(const void *memPtr) { return get_unaligned_be64(memPtr); } in ZSTD_readBE64() 119 ZSTD_STATIC void ZSTD_writeBE64(void *memPtr, U64 val64) { put_unaligned_be64(val64, memPtr); } in ZSTD_writeBE64() 134 ZSTD_writeBE64(memPtr, (U64)val); in ZSTD_writeBEST()
|
D | fse_compress.c | 587 U64 const vStepLog = 62 - tableLog; in FSE_normalizeM2() 588 U64 const mid = (1ULL << (vStepLog - 1)) - 1; in FSE_normalizeM2() 589 …U64 const rStep = div_u64((((U64)1 << vStepLog) * ToDistribute) + mid, (U32)total); /* scale on re… in FSE_normalizeM2() 590 U64 tmpTotal = mid; in FSE_normalizeM2() 593 U64 const end = tmpTotal + (count[s] * rStep); in FSE_normalizeM2() 622 U64 const scale = 62 - tableLog; in FSE_normalizeCount() 623 U64 const step = div_u64((U64)1 << 62, (U32)total); /* <== here, one division ! */ in FSE_normalizeCount() 624 U64 const vStep = 1ULL << (scale - 20); in FSE_normalizeCount() 644 U64 restToBeat = vStep * rtbTable[proba]; in FSE_normalizeCount() 645 proba += (count[s] * step) - ((U64)proba << scale) > restToBeat; in FSE_normalizeCount()
|
/kernel/uniproton/src/core/kernel/sys/ |
D | prt_sys_time.c | 34 OS_SEC_L2_TEXT U64 OsCurCycleGet64(void) in OsCurCycleGet64() 46 OS_SEC_L2_TEXT U64 PRT_TickGetCount(void) in PRT_TickGetCount() 54 OS_SEC_ALW_INLINE INLINE void OsTimerDelayCount(U64 cycles) in OsTimerDelayCount() 56 U64 cur; in OsTimerDelayCount() 57 U64 end; in OsTimerDelayCount() 84 U64 cycles; in PRT_ClkDelayMs() 97 U64 cycles; in PRT_ClkDelayUs()
|
D | prt_sys_init.c | 60 OS_SEC_L4_TEXT U64 PRT_ClkCycle2Ms(U64 cycle) in PRT_ClkCycle2Ms() 65 OS_SEC_L4_TEXT U64 PRT_ClkCycle2Us(U64 cycle) in PRT_ClkCycle2Us()
|
/kernel/uniproton/src/include/uapi/ |
D | prt_clk.h | 44 extern U64 PRT_ClkGetCycleCount64(void); 61 extern U64 PRT_ClkCycle2Ms(U64 cycle); 78 extern U64 PRT_ClkCycle2Us(U64 cycle);
|
/kernel/uniproton/src/core/kernel/include/ |
D | prt_sys_external.h | 42 #define OS_MS2CYCLE(ms, clock) DIV64(((ms) * (U64)(clock)), OS_SYS_MS_PER_SECOND) /* 毫秒转换成cycle */ 43 #define OS_US2CYCLE(us, clock) DIV64(((us) * (U64)(clock)), OS_SYS_US_PER_SECOND) /* 微秒转换成cycle */ 52 typedef U64 (*SysTimeFunc)(void); 64 extern U64 g_uniTicks; 76 extern U64 OsCurCycleGet64(void);
|
/kernel/uniproton/src/arch/cpu/armv7-m/common/ |
D | os_cpu_armv7_m_external.h | 68 extern U64 OsU64DivGetQuotient(U64 dividend, U64 divisor); 69 extern U64 OsU64DivGetRemainder(U64 dividend, U64 divisor);
|
/kernel/linux/linux-5.10/drivers/message/fusion/lsi/ |
D | mpi_cnfg.h | 726 U64 BaseWWID; /* 04h */ 732 U64 ForceWWID[MPI_MANPAGE5_NUM_FORCEWWID]; /* 18h */ 849 U64 UniqueValue; /* 04h */ 1362 U64 WWPN; /* 00h */ 1381 U64 SASAddress; /* 00h */ 1400 U64 EnclosureLogicalID; /* 00h */ 1460 U64 ReassignmentBaseWWID; /* 04h */ 1739 U64 WWNN; /* 10h */ 1740 U64 WWPN; /* 18h */ 1745 U64 FabricWWNN; /* 30h */ [all …]
|
D | mpi_type.h | 66 } U64; typedef 80 typedef U64 *PU64;
|
/kernel/uniproton/src/arch/cpu/armv7-m/common/tick/ |
D | prt_hw_tick_internal.h | 23 extern U64 g_cycleNow; 25 extern U64 g_cycleInTick; 27 extern U64 g_cycleByTickNow;
|
D | prt_hw_tick.c | 18 OS_SEC_BSS U64 g_cycleNow; 20 OS_SEC_BSS U64 g_cycleInTick; 22 OS_SEC_BSS U64 g_cycleByTickNow;
|
D | prt_hw_tick_minor.c | 47 OS_SEC_L2_TEXT U64 PRT_ClkGetCycleCount64(void) in PRT_ClkGetCycleCount64() 49 U64 cycle; in PRT_ClkGetCycleCount64()
|
/kernel/uniproton/src/net/lwip-2.1/src/ |
D | sys_arch.c | 37 #define ROUND_UP_DIV(val, div) ((U64)(((U64)(val) + (U64)(div) - 1) / (U64)(div))) 204 U64 tick = ROUND_UP_DIV((U64)timeoutMs * OS_TICK_PER_SECOND, OS_SYS_MS_PER_SECOND); in sys_arch_mbox_fetch() 306 U64 tick = ROUND_UP_DIV((U64)timeoutMs * OS_TICK_PER_SECOND, OS_SYS_MS_PER_SECOND); in sys_arch_sem_wait()
|
/kernel/linux/linux-5.10/drivers/scsi/mpt3sas/mpi/ |
D | mpi2_cnfg.h | 775 U64 WWID; /*0x00 */ 776 U64 DeviceName; /*0x08 */ 946 U64 UniqueValue; /*0x04 */ 1030 U64 1032 U64 1034 U64 1068 U64 1643 U64 SASAddress; /*0x00 */ 1653 U64 EnclosureLogicalID; /*0x00 */ 1665 U64 DeviceName; /*0x00 */ [all …]
|
D | mpi2_type.h | 43 typedef __le64 U64 __attribute__ ((aligned(4))); typedef 54 typedef U64 *PU64;
|
D | mpi2_ioc.h | 222 U64 SystemRequestFrameBaseAddress; /*0x28 */ 223 U64 ReplyDescriptorPostQueueAddress; /*0x30 */ 224 U64 ReplyFreeQueueAddress; /*0x38 */ 225 U64 TimeStamp; /*0x40 */ 262 U64 RDPQBaseAddress; /* 0x00 */ 591 U64 TimeStamp; /*0x00 */ 727 U64 SASAddress; /*0x0C */ 948 U64 SASAddress; /*0x04 */ 963 U64 SASAddress; /*0x04 */ 1046 U64 EnclosureLogicalID; /*0x04 */ [all …]
|
D | mpi2.h | 477 U64 Words; 629 U64 Words; 878 U64 Address; 886 U64 Address64; 909 U64 Address; 919 U64 Address64; 1129 U64 Address; 1165 U64 Address;
|
D | mpi2_raid.h | 222 U64 VolumeMaxLBA; /*0x10 */ 277 U64 TotalBlocks; /*0x00 */ 278 U64 BlocksRemaining; /*0x08 */
|
/kernel/linux/linux-5.10/lib/lz4/ |
D | lz4defs.h | 52 typedef uint64_t U64; typedef 154 U64 a = get_unaligned((const U64 *)src); in LZ4_copy8() 156 put_unaligned(a, (U64 *)dst); in LZ4_copy8()
|
/kernel/uniproton/src/om/include/ |
D | prt_cpup_external.h | 35 U64 allTime; 37 U64 startTime;
|
/kernel/uniproton/src/utility/lib/include/ |
D | prt_lib_external.h | 51 #define OS_64BIT_SET(high, low) (((U64)(high) << 32) + (U64)(low)) 62 #define OS_BYTES_PER_DWORD (sizeof(U64))
|