/optee_os-3.20.0/core/arch/arm/include/kernel/ |
A D | thread_arch.h | 48 uint64_t x[4]; 153 uint64_t x15; 154 uint64_t x16; 155 uint64_t x17; 156 uint64_t x18; 157 uint64_t x19; 158 uint64_t x20; 159 uint64_t x21; 160 uint64_t x22; 266 uint64_t sp; [all …]
|
A D | stmm_sp.h | 110 uint64_t mpidr; 117 uint64_t sp_mem_base; 118 uint64_t sp_mem_limit; 119 uint64_t sp_image_base; 120 uint64_t sp_stack_base; 121 uint64_t sp_heap_base; 123 uint64_t sp_shared_buf_base; 124 uint64_t sp_image_size; 125 uint64_t sp_pcpu_stack_size; 126 uint64_t sp_heap_size; [all …]
|
A D | delay_arch.h | 37 static inline uint64_t arm_cnt_us2cnt(uint32_t us) in arm_cnt_us2cnt() 39 return ((uint64_t)us * (uint64_t)read_cntfrq()) / 1000000ULL; in arm_cnt_us2cnt() 42 static inline uint64_t timeout_init_us(uint32_t us) in timeout_init_us() 47 static inline bool timeout_elapsed(uint64_t expire) in timeout_elapsed()
|
/optee_os-3.20.0/lib/libutils/isoc/arch/arm/softfloat/source/include/ |
A D | primitives.h | 201 bool softfloat_eq128( uint64_t a64, uint64_t a0, uint64_t b64, uint64_t b0 ) in softfloat_eq128() 204 bool softfloat_eq128( uint64_t a64, uint64_t a0, uint64_t b64, uint64_t b0 ); 216 bool softfloat_le128( uint64_t a64, uint64_t a0, uint64_t b64, uint64_t b0 ) in softfloat_le128() 219 bool softfloat_le128( uint64_t a64, uint64_t a0, uint64_t b64, uint64_t b0 ); 231 bool softfloat_lt128( uint64_t a64, uint64_t a0, uint64_t b64, uint64_t b0 ) in softfloat_lt128() 234 bool softfloat_lt128( uint64_t a64, uint64_t a0, uint64_t b64, uint64_t b0 ); 463 softfloat_add128( uint64_t a64, uint64_t a0, uint64_t b64, uint64_t b0 ) in softfloat_add128() 472 softfloat_add128( uint64_t a64, uint64_t a0, uint64_t b64, uint64_t b0 ); 498 softfloat_sub128( uint64_t a64, uint64_t a0, uint64_t b64, uint64_t b0 ) in softfloat_sub128() 508 softfloat_sub128( uint64_t a64, uint64_t a0, uint64_t b64, uint64_t b0 ); [all …]
|
A D | softfloat_types.h | 52 typedef struct { uint64_t v; } float64_t; 53 typedef struct { uint64_t v[2]; } float128_t; 61 struct extFloat80M { uint64_t signif; uint16_t signExp; }; 63 struct extFloat80M { uint16_t signExp; uint64_t signif; };
|
/optee_os-3.20.0/core/arch/arm/include/crypto/ |
A D | ghash-ce-core.h | 12 uint64_t h[2]; 13 uint64_t h2[2]; 14 uint64_t h3[2]; 15 uint64_t h4[2]; 18 void pmull_ghash_update_p64(int blocks, uint64_t dg[2], const uint8_t *src, 21 void pmull_ghash_update_p8(int blocks, uint64_t dg[2], const uint8_t *src, 25 void pmull_gcm_load_round_keys(const uint64_t rk[30], int rounds); 27 void pmull_gcm_encrypt(int blocks, uint64_t dg[2], uint8_t dst[], 30 uint64_t ctr[], const uint64_t rk[], int rounds, 34 void pmull_gcm_decrypt(int blocks, uint64_t dg[2], uint8_t dst[], [all …]
|
/optee_os-3.20.0/core/arch/arm/plat-rcar/ |
A D | romapi.c | 58 extern uint32_t __plat_romapi_wrapper(paddr_t func, uint64_t arg1, 59 uint64_t arg2, uint64_t arg3); 61 static uint32_t __plat_romapi_direct(paddr_t func, uint64_t arg1, in __plat_romapi_direct() 62 uint64_t arg2, uint64_t arg3) in __plat_romapi_direct() 64 uint32_t (*fptr)(uint64_t arg1, uint64_t arg2, uint64_t arg3) = NULL; in __plat_romapi_direct() 73 static uint32_t plat_call_romapi(paddr_t func, uint64_t arg1, in plat_call_romapi() 74 uint64_t arg2, uint64_t arg3) in plat_call_romapi() 76 uint32_t (*fptr)(paddr_t func, uint64_t arg1, uint64_t arg2, in plat_call_romapi() 77 uint64_t arg3) = NULL; in plat_call_romapi()
|
/optee_os-3.20.0/core/drivers/crypto/versal/include/ |
A D | ipi.h | 13 uint64_t key_addr; 14 uint64_t data_addr; 19 uint64_t sign_addr; 20 uint64_t hash_addr; 25 uint64_t hash_addr; 26 uint64_t priv_key_addr; 27 uint64_t epriv_key_addr; 33 uint64_t hash_addr; 34 uint64_t pub_key_addr; 43 uint64_t iv_addr; [all …]
|
/optee_os-3.20.0/lib/libutils/isoc/arch/arm/softfloat/source/ |
A D | s_mul64To128M.c | 44 void softfloat_mul64To128M( uint64_t a, uint64_t b, uint32_t *zPtr ) in softfloat_mul64To128M() 47 uint64_t z0, mid1, z64, mid; in softfloat_mul64To128M() 53 z0 = (uint64_t) a0 * b0; in softfloat_mul64To128M() 54 mid1 = (uint64_t) a32 * b0; in softfloat_mul64To128M() 55 mid = mid1 + (uint64_t) a0 * b32; in softfloat_mul64To128M() 56 z64 = (uint64_t) a32 * b32; in softfloat_mul64To128M() 57 z64 += (uint64_t) (mid < mid1)<<32 | mid>>32; in softfloat_mul64To128M()
|
A D | f128M_sqrt.c | 65 uint64_t rem64; in f128M_sqrt() 67 uint64_t sig64Z, x64; in f128M_sqrt() 116 sig32Z = ((uint64_t) sig32A * recipSqrt32)>>32; in f128M_sqrt() 119 rem64 -= (uint64_t) sig32Z * sig32Z; in f128M_sqrt() 126 sig64Z = ((uint64_t) sig32Z<<32) + ((uint64_t) q<<3); in f128M_sqrt() 127 x64 = ((uint64_t) sig32Z<<32) + sig64Z; in f128M_sqrt() 154 rem64 = (uint64_t) rem32<<32 | rem[indexWord( 6, 4 )]; in f128M_sqrt() 158 x64 = (uint64_t) q<<27; in f128M_sqrt() 160 x64 = ((uint64_t) qs[0]<<24) + (x64>>32); in f128M_sqrt() 162 x64 = ((uint64_t) qs[1]<<21) + (x64>>32); in f128M_sqrt() [all …]
|
A D | extF80M_sqrt.c | 62 uint64_t rem64; in extF80M_sqrt() 65 uint64_t sig64Z, x64; in extF80M_sqrt() 108 sig32Z = ((uint64_t) sig32A * recipSqrt32)>>32; in extF80M_sqrt() 111 ((uint64_t) rem[indexWord( 4, 3 )]<<32 | rem[indexWord( 4, 2 )]) in extF80M_sqrt() 112 - (uint64_t) sig32Z * sig32Z; in extF80M_sqrt() 117 q = ((uint32_t) (rem64>>2) * (uint64_t) recipSqrt32)>>32; in extF80M_sqrt() 118 sig64Z = ((uint64_t) sig32Z<<32) + ((uint64_t) q<<3); in extF80M_sqrt() 119 x64 = ((uint64_t) sig32Z<<32) + sig64Z; in extF80M_sqrt() 130 rem64 = (uint64_t) rem[indexWord( 4, 3 )]<<32 | rem[indexWord( 4, 2 )]; in extF80M_sqrt() 133 q = (((uint32_t) (rem64>>2) * (uint64_t) recipSqrt32)>>32) + 2; in extF80M_sqrt() [all …]
|
A D | s_eq128.c | 44 bool softfloat_eq128( uint64_t a64, uint64_t a0, uint64_t b64, uint64_t b0 ) in softfloat_eq128()
|
A D | s_le128.c | 44 bool softfloat_le128( uint64_t a64, uint64_t a0, uint64_t b64, uint64_t b0 ) in softfloat_le128()
|
A D | s_lt128.c | 44 bool softfloat_lt128( uint64_t a64, uint64_t a0, uint64_t b64, uint64_t b0 ) in softfloat_lt128()
|
A D | s_mul128MTo256M.c | 49 uint64_t dwordProd; in softfloat_mul128MTo256M() 57 dwordProd = (uint64_t) aPtr[indexWord( 4, 0 )] * wordB; in softfloat_mul128MTo256M() 59 dwordProd = (uint64_t) aPtr[indexWord( 4, 1 )] * wordB + (dwordProd>>32); in softfloat_mul128MTo256M() 61 dwordProd = (uint64_t) aPtr[indexWord( 4, 2 )] * wordB + (dwordProd>>32); in softfloat_mul128MTo256M() 63 dwordProd = (uint64_t) aPtr[indexWord( 4, 3 )] * wordB + (dwordProd>>32); in softfloat_mul128MTo256M() 70 dwordProd = (uint64_t) aPtr[indexWord( 4, 0 )] * wordB; in softfloat_mul128MTo256M() 75 (uint64_t) aPtr[indexWord( 4, 1 )] * wordB + (dwordProd>>32); in softfloat_mul128MTo256M() 82 (uint64_t) aPtr[indexWord( 4, 2 )] * wordB + (dwordProd>>32); in softfloat_mul128MTo256M() 89 (uint64_t) aPtr[indexWord( 4, 3 )] * wordB + (dwordProd>>32); in softfloat_mul128MTo256M()
|
A D | s_shiftRightJam256M.c | 48 const uint64_t *aPtr, in softfloat_shortShiftRightJamM() 50 uint64_t *zPtr in softfloat_shortShiftRightJamM() 55 uint64_t partWordZ, wordA; in softfloat_shortShiftRightJamM() 75 const uint64_t *aPtr, uint_fast32_t count, uint64_t *zPtr ) in softfloat_shiftRightJam256M() 77 uint64_t wordJam; in softfloat_shiftRightJam256M() 79 uint64_t *ptr; in softfloat_shiftRightJam256M() 86 ptr = (uint64_t *) (aPtr + indexMultiwordLo( 4, wordCount )); in softfloat_shiftRightJam256M()
|
A D | s_sub128.c | 45 softfloat_sub128( uint64_t a64, uint64_t a0, uint64_t b64, uint64_t b0 ) in softfloat_sub128()
|
/optee_os-3.20.0/lib/libutee/include/ |
A D | arm64_user_sysreg.h | 18 uint64_t val64 = 0; \ 27 uint64_t val64 = val; \ 34 DEFINE_REG_READ_FUNC_(cntpct, uint64_t, cntpct_el0) 35 DEFINE_REG_READ_FUNC_(cntvct, uint64_t, cntvct_el0) 36 DEFINE_REG_READ_FUNC_(tpidr_el0, uint64_t, tpidr_el0) 37 DEFINE_REG_WRITE_FUNC_(tpidr_el0, uint64_t, tpidr_el0) 39 DEFINE_REG_READ_FUNC_(dczid_el0, uint64_t, dczid_el0)
|
/optee_os-3.20.0/core/include/ |
A D | optee_msg.h | 116 uint64_t buf_ptr; 117 uint64_t size; 118 uint64_t shm_ref; 128 uint64_t offs; 129 uint64_t size; 130 uint64_t shm_ref; 146 uint64_t size; 156 uint64_t a; 157 uint64_t b; 158 uint64_t c; [all …]
|
A D | bench.h | 36 uint64_t cnt; /* stores value from CNTPCT register */ 37 uint64_t addr; /* stores value from program counter register */ 38 uint64_t src; /* OP-TEE subsystem id */ 43 uint64_t head; 44 uint64_t tail; 50 uint64_t cores;
|
A D | io.h | 40 *(volatile uint64_t *)addr = val; in io_write64() 58 static inline uint64_t io_read64(vaddr_t addr) in io_read64() 60 return *(volatile uint64_t *)addr; in io_read64() 78 static inline uint64_t get_be64(const void *p) in get_be64() 80 return TEE_U64_FROM_BIG_ENDIAN(*(const uint64_t *)p); in get_be64() 83 static inline void put_be64(void *p, uint64_t val) in put_be64() 85 *(uint64_t *)p = TEE_U64_TO_BIG_ENDIAN(val); in put_be64() 120 *(uint64_t *)p = val; in put_le64() 123 static inline uint64_t get_le64(const void *p) in get_le64() 125 return *(const uint64_t *)p; in get_le64() [all …]
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | common.h | 225 ( (uint64_t) ( data )[( offset ) ] << 56 ) \ 226 | ( (uint64_t) ( data )[( offset ) + 1] << 48 ) \ 227 | ( (uint64_t) ( data )[( offset ) + 2] << 40 ) \ 228 | ( (uint64_t) ( data )[( offset ) + 3] << 32 ) \ 229 | ( (uint64_t) ( data )[( offset ) + 4] << 24 ) \ 230 | ( (uint64_t) ( data )[( offset ) + 5] << 16 ) \ 231 | ( (uint64_t) ( data )[( offset ) + 6] << 8 ) \ 232 | ( (uint64_t) ( data )[( offset ) + 7] ) \ 271 ( (uint64_t) ( data )[( offset ) + 7] << 56 ) \ 272 | ( (uint64_t) ( data )[( offset ) + 6] << 48 ) \ [all …]
|
/optee_os-3.20.0/ldelf/include/ |
A D | ldelf.h | 34 uint64_t entry_func; 35 uint64_t stack_ptr; 36 uint64_t dump_entry; 37 uint64_t ftrace_entry; 38 uint64_t dl_entry; 58 uint64_t fp; 59 uint64_t sp; 60 uint64_t pc;
|
/optee_os-3.20.0/core/include/crypto/ |
A D | internal_aes-gcm.h | 20 uint64_t HL[16]; 21 uint64_t HH[16]; 23 uint64_t hash_subkey[2]; 30 uint64_t data[30]; 35 uint64_t ctr[2]; 87 void internal_aes_gcm_gfmul(const uint64_t X[2], const uint64_t Y[2], 88 uint64_t product[2]); 92 uint64_t *d = dst; in internal_aes_gcm_xor_block() 93 const uint64_t *s = src; in internal_aes_gcm_xor_block() 95 assert(IS_ALIGNED_WITH_TYPE(dst, uint64_t)); in internal_aes_gcm_xor_block() [all …]
|
/optee_os-3.20.0/core/arch/arm/include/ |
A D | arm64.h | 313 uint64_t val; in read_pc() 321 uint64_t val; in read_fp() 327 static inline __noprof uint64_t read_pmu_ccnt(void) in read_pmu_ccnt() 329 uint64_t val; in read_pmu_ccnt() 352 uint64_t val64 = 0; \ 361 uint64_t val64 = val; \ 377 DEFINE_REG_READ_FUNC_(reg, uint64_t, reg) 380 DEFINE_REG_WRITE_FUNC_(reg, uint64_t, reg) 402 DEFINE_REG_READ_FUNC_(cntvct, uint64_t, cntvct_el0) 403 DEFINE_REG_READ_FUNC_(cntpct, uint64_t, cntpct_el0) [all …]
|