| /trusted-services/components/common/endian/ |
| A D | le.c | 58 v[0] = val; in store_u8_le() 65 v[0] = (uint8_t)(val & 0xff); in store_u16_le() 66 v[1] = (uint8_t)((val >> 8) & 0xff); in store_u16_le() 73 v[0] = (uint8_t)(val & 0xff); in store_u32_le() 74 v[1] = (uint8_t)((val >> 8) & 0xff); in store_u32_le() 75 v[2] = (uint8_t)((val >> 16) & 0xff); in store_u32_le() 76 v[3] = (uint8_t)((val >> 24) & 0xff); in store_u32_le() 83 v[0] = (uint8_t)(val & 0xff); in store_u64_le() 84 v[1] = (uint8_t)((val >> 8) & 0xff); in store_u64_le() 85 v[2] = (uint8_t)((val >> 16) & 0xff); in store_u64_le() [all …]
|
| A D | le.h | 28 void store_u8_le(void *base, size_t offset, uint8_t val); 29 void store_u16_le(void *base, size_t offset, uint16_t val); 30 void store_u32_le(void *base, size_t offset, uint32_t val); 31 void store_u64_le(void *base, size_t offset, uint64_t val);
|
| /trusted-services/platform/drivers/arm/juno_trng/ |
| A D | juno_trng.c | 40 uint32_t val; in output_valid() local 42 val = mmio_read_32(TRNG_BASE + TRNG_STATUS); in output_valid() 43 if (val & 1U) in output_valid() 85 uint32_t val; in juno_getentropy() local 87 val = mmio_read_32(TRNG_BASE + i * sizeof(uint32_t)); in juno_getentropy() 89 memcpy(bp, &val, n); in juno_getentropy()
|
| /trusted-services/components/common/libc/src/ |
| A D | memset.c | 11 void *memset(void *dst, int val, size_t count) in memset() argument 15 uint64_t fill = (unsigned char)val; in memset() 24 *ptr = (uint8_t)val; in memset() 46 *ptr = (uint8_t)val; in memset()
|
| /trusted-services/components/common/libc/include/ |
| A D | setjmp.h | 17 __dead2 void longjmp(jmp_buf env, int val);
|
| A D | string.h | 26 void *memset(void *dst, int val, size_t count);
|
| /trusted-services/components/common/cbor_dump/ |
| A D | cbor_dump.c | 145 dump_text_string(dump_ctx, (const char*)item->val.string.ptr, item->val.string.len); in dump_value() 150 dump_byte_string(dump_ctx, (const uint8_t*)item->val.string.ptr, item->val.string.len); in dump_value() 155 fprintf(dump_ctx->outfile, "%ld\n", item->val.int64); in dump_value() 159 fprintf(dump_ctx->outfile, "%lu\n", item->val.uint64); in dump_value()
|
| /trusted-services/platform/drivers/arm/mhu_driver/mhu_v2_x/ |
| A D | mhu_v2_x.h | 117 uint32_t channel, uint32_t val); 292 const struct mhu_v2_x_dev_t *dev, uint32_t *val); 335 const struct mhu_v2_x_dev_t *dev, uint32_t *val);
|
| A D | mhu_wrapper_v2_x.c | 116 uint32_t val, i; in clear_and_wait_for_signal() local 137 err = mhu_v2_x_channel_receive(dev, num_channels - 1, &val); in clear_and_wait_for_signal() 141 } while (val != MHU_NOTIFY_VALUE); in clear_and_wait_for_signal() 288 uint32_t val; in mhu_wait_data() local 302 err = mhu_v2_x_channel_receive(dev, num_channels - 1, &val); in mhu_wait_data() 306 } while (val != MHU_NOTIFY_VALUE); in mhu_wait_data()
|
| A D | mhu_v2_x.c | 213 uint32_t channel, uint32_t val) in mhu_v2_x_channel_send() argument 222 (SEND_FRAME(p_mhu))->send_ch_window[channel].ch_set = val; in mhu_v2_x_channel_send() 418 const struct mhu_v2_x_dev_t *dev, uint32_t *val) in mhu_v2_x_get_access_request() argument 430 *val = (SEND_FRAME(p_mhu))->access_request; in mhu_v2_x_get_access_request() 472 const struct mhu_v2_x_dev_t *dev, uint32_t *val) in mhu_v2_x_get_access_ready() argument 484 *val = (SEND_FRAME(p_mhu))->access_ready; in mhu_v2_x_get_access_ready()
|
| /trusted-services/components/common/mbedtls/ |
| A D | mbedtls_utils.c | 28 return &name->val; in findCommonName()
|
| /trusted-services/components/app/fwu-tool/ |
| A D | fwu_main.cpp | 179 int val; in parse_numeric_option() local 181 iss >> val; in parse_numeric_option() 184 option = val; in parse_numeric_option()
|
| /trusted-services/external/psa_arch_tests/ |
| A D | psa_arch_tests.cmake | 34 "${PSA_ARCH_TESTS_SOURCE_DIR}/api-tests/val/nspe/val_entry.h") 38 "${psa_arch_tests_BINARY_DIR}/val/val_nspe${CMAKE_STATIC_LIBRARY_SUFFIX}")
|
| /trusted-services/components/common/utils/include/ |
| A D | util.h | 158 static inline void reg_pair_from_64(uint64_t val, uint32_t *reg0, in reg_pair_from_64() argument 161 *reg0 = val >> 32; in reg_pair_from_64() 162 *reg1 = val; in reg_pair_from_64()
|
| A D | compiler.h | 280 #define __compiler_atomic_store(p, val) \ argument 281 __atomic_store_n((p), (val), __ATOMIC_RELAXED)
|
| /trusted-services/components/service/block_storage/block_store/device/file/test/ |
| A D | file_block_store_tests.cpp | 48 void set_block(size_t lba, size_t offset, size_t len, uint8_t val, size_t * num_written) in TEST_GROUP() 53 memset(write_buf, val, len); in TEST_GROUP()
|
| /trusted-services/components/service/block_storage/block_store/device/semihosting/test/ |
| A D | sh_block_store_tests.c | 77 size_t len, uint8_t val, in set_block() argument 90 memset(write_buf, val, len); in set_block()
|
| /trusted-services/components/common/dlmalloc/ |
| A D | malloc.c | 1844 int val = 1; in x86_cas_lock() local 1848 : "r" (val), "m" (*(sl)), "0"(cmp) in x86_cas_lock() 3199 size_t val; in change_mparam() local 3201 val = (value == -1)? MAX_SIZE_T : (size_t)value; in change_mparam() 3204 mparams.trim_threshold = val; in change_mparam() 3207 if (val >= mparams.page_size && ((val & (val-1)) == 0)) { in change_mparam() 3208 mparams.granularity = val; in change_mparam() 3214 mparams.mmap_threshold = val; in change_mparam()
|