/kernel/uniproton/src/arch/cpu/armv7-m/cortex-m4/ |
H A 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 dividen [all...] |
/kernel/linux/linux-6.6/lib/zstd/common/ |
H A D | mem.h | 39 typedef uint64_t U64; typedef 53 MEM_STATIC U64 MEM_read64(const void* memPtr); 58 MEM_STATIC void MEM_write64(void* memPtr, U64 value); 64 MEM_STATIC U64 MEM_readLE64(const void* memPtr); 70 MEM_STATIC void MEM_writeLE64(void* memPtr, U64 val64); 75 MEM_STATIC U64 MEM_readBE64(const void* memPtr); 79 MEM_STATIC void MEM_writeBE64(void* memPtr, U64 val64); 84 MEM_STATIC U64 MEM_swap64(U64 in); 121 MEM_STATIC U64 MEM_read6 [all...] |
/kernel/uniproton/src/om/cpup/ |
H A 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()
|
H A 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()
|
/kernel/linux/linux-5.10/lib/zstd/ |
H A 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 val6 [all...] |
H A 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 remaining */ 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 cons in FSE_normalizeCount() [all...] |
/kernel/uniproton/src/core/kernel/sys/ |
H A 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()
|
H A 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/ |
H A D | prt_clk.h | 44 extern U64 PRT_ClkGetCycleCount64(void); 54 * @param cycle [IN] 类型#U64,cycle数。 61 extern U64 PRT_ClkCycle2Ms(U64 cycle); 71 * @param cycle [IN] 类型#U64,cycle数。 78 extern U64 PRT_ClkCycle2Us(U64 cycle);
|
/kernel/uniproton/src/core/kernel/include/ |
H A 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/ |
H A D | os_cpu_armv7_m_external.h | 68 extern U64 OsU64DivGetQuotient(U64 dividend, U64 divisor); 69 extern U64 OsU64DivGetRemainder(U64 dividend, U64 divisor);
|
/kernel/uniproton/src/arch/cpu/armv7-m/common/tick/ |
H A D | prt_hw_tick_internal.h | 23 extern U64 g_cycleNow; 25 extern U64 g_cycleInTick; 27 extern U64 g_cycleByTickNow;
|
H A 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;
|
H A 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/linux/linux-5.10/drivers/message/fusion/lsi/ |
H A 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 FabricWWN [all...] |
H A D | mpi_type.h | 66 } U64; typedef 80 typedef U64 *PU64;
|
/kernel/linux/linux-6.6/drivers/message/fusion/lsi/ |
H A 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 FabricWWN [all...] |
H A D | mpi_type.h | 66 } U64; typedef 80 typedef U64 *PU64;
|
/kernel/linux/linux-6.6/lib/zstd/compress/ |
H A D | fse_compress.c | 120 { U64 const add = 0x0101010101010101ull; in FSE_buildCTable_wksp() 122 U64 sv = 0; in FSE_buildCTable_wksp() 454 { U64 const vStepLog = 62 - tableLog; in FSE_normalizeM2() 455 U64 const mid = (1ULL << (vStepLog-1)) - 1; in FSE_normalizeM2() 456 U64 const rStep = ZSTD_div64((((U64)1<<vStepLog) * ToDistribute) + mid, (U32)total); /* scale on remaining */ in FSE_normalizeM2() 457 U64 tmpTotal = mid; in FSE_normalizeM2() 460 U64 const end = tmpTotal + (count[s] * rStep); in FSE_normalizeM2() 485 U64 const scale = 62 - tableLog; in FSE_normalizeCount() 486 U64 cons in FSE_normalizeCount() [all...] |
H A D | zstd_compress_internal.h | 693 return (__builtin_ctzll((U64)val) >> 3); in ZSTD_NbCommonBytes() 703 return DeBruijnBytePos[((U64)((val & -(long long)val) * 0x0218A392CDABBD3FULL)) >> 58]; in ZSTD_NbCommonBytes() 793 static const U64 prime5bytes = 889523592379ULL; 794 static size_t ZSTD_hash5(U64 u, U32 h) { return (size_t)(((u << (64-40)) * prime5bytes) >> (64-h)) ; } in ZSTD_hash5() 797 static const U64 prime6bytes = 227718039650203ULL; 798 static size_t ZSTD_hash6(U64 u, U32 h) { return (size_t)(((u << (64-48)) * prime6bytes) >> (64-h)) ; } in ZSTD_hash6() 801 static const U64 prime7bytes = 58295818150454627ULL; 802 static size_t ZSTD_hash7(U64 u, U32 h) { return (size_t)(((u << (64-56)) * prime7bytes) >> (64-h)) ; } in ZSTD_hash7() 805 static const U64 prime8bytes = 0xCF1BBCDCB7A56463ULL; 806 static size_t ZSTD_hash8(U64 [all...] |
/kernel/uniproton/src/net/lwip-2.1/src/ |
H A 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/ |
H A D | mpi2_type.h | 43 typedef __le64 U64 __attribute__ ((aligned(4))); typedef 54 typedef U64 *PU64;
|
/kernel/linux/linux-6.6/drivers/scsi/mpt3sas/mpi/ |
H A D | mpi2_type.h | 43 typedef __le64 U64 __attribute__ ((aligned(4))); typedef 54 typedef U64 *PU64;
|
/kernel/linux/linux-5.10/lib/lz4/ |
H A 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/linux/linux-6.6/lib/lz4/ |
H A D | lz4defs.h | 54 typedef uint64_t U64; typedef 156 U64 a = get_unaligned((const U64 *)src); in LZ4_copy8() 158 put_unaligned(a, (U64 *)dst); in LZ4_copy8()
|