/trusted-firmware-a-3.6.0-3.5.0/drivers/measured_boot/event_log/ |
D | event_log.c | 91 void *ptr = log_ptr; in event_log_record() local 104 assert(((uintptr_t)ptr + (uint32_t)EVENT2_HDR_SIZE + name_len) < in event_log_record() 113 ((event2_header_t *)ptr)->pcr_index = metadata_ptr->pcr; in event_log_record() 116 ((event2_header_t *)ptr)->event_type = event_type; in event_log_record() 119 ptr = (uint8_t *)ptr + offsetof(event2_header_t, digests); in event_log_record() 120 ((tpml_digest_values *)ptr)->count = HASH_ALG_COUNT; in event_log_record() 123 ptr = (uint8_t *)((uintptr_t)ptr + in event_log_record() 127 ((tpmt_ha *)ptr)->algorithm_id = TPM_ALG_ID; in event_log_record() 130 ptr = (uint8_t *)((uintptr_t)ptr + offsetof(tpmt_ha, digest)); in event_log_record() 133 (void)memcpy(ptr, (const void *)hash, TCG_DIGEST_SIZE); in event_log_record() [all …]
|
D | event_print.c | 25 void *ptr = *log_addr; in id_event_print() local 26 id_event_headers_t *event = (id_event_headers_t *)ptr; in id_event_print() 155 void *ptr = *log_addr; in event2_print() local 164 ((event2_header_t *)ptr)->pcr_index); in event2_print() 166 ((event2_header_t *)ptr)->event_type); in event2_print() 168 count = ((event2_header_t *)ptr)->digests.count; in event2_print() 172 ptr = (uint8_t *)ptr + sizeof(event2_header_t); in event2_print() 173 assert(((uintptr_t)ptr <= (uintptr_t)end_ptr) && (count != 0U)); in event2_print() 177 assert(((uintptr_t)ptr + in event2_print() 181 switch (((tpmt_ha *)ptr)->algorithm_id) { in event2_print() [all …]
|
/trusted-firmware-a-3.6.0-3.5.0/lib/libc/ |
D | memset.c | 13 uint8_t *ptr = dst; in memset() local 23 while (((uintptr_t)ptr & 7U) != 0U) { in memset() 24 *ptr = (uint8_t)val; in memset() 25 ptr++; in memset() 37 ptr64 = (uint64_t *)ptr; in memset() 44 ptr = (uint8_t *)ptr64; in memset() 46 *ptr = (uint8_t)val; in memset() 47 ptr++; in memset()
|
/trusted-firmware-a-3.6.0-3.5.0/include/drivers/arm/cryptocell/713/ |
D | cc_sec_defs.h | 34 #define CONVERT_TO_ADDR(ptr) (unsigned long)ptr argument 37 #define CONVERT_TO_SRAM_ADDR(ptr) (0xFFFFFFFF & ptr) argument
|
/trusted-firmware-a-3.6.0-3.5.0/tools/stm32image/ |
D | stm32image.c | 68 static void stm32image_default_header(void *ptr) in stm32image_default_header() argument 70 struct stm32_header_v1 *header = (struct stm32_header_v1 *)ptr; in stm32image_default_header() 102 static void stm32image_print_header(const void *ptr) in stm32image_print_header() argument 104 struct stm32_header_v1 *stm32hdr = (struct stm32_header_v1 *)ptr; in stm32image_print_header() 105 struct stm32_header_v2 *stm32hdr_v2 = (struct stm32_header_v2 *)ptr; in stm32image_print_header() 138 static int stm32image_set_header(void *ptr, struct stat *sbuf, int ifd, in stm32image_set_header() argument 143 struct stm32_header_v1 *stm32hdr = (struct stm32_header_v1 *)ptr; in stm32image_set_header() 144 struct stm32_header_v2 *stm32hdr_v2 = (struct stm32_header_v2 *)ptr; in stm32image_set_header() 148 stm32image_default_header(ptr); in stm32image_set_header() 157 __cpu_to_le32(stm32image_checksum(ptr, sbuf->st_size, in stm32image_set_header() [all …]
|
/trusted-firmware-a-3.6.0-3.5.0/drivers/console/ |
D | multi_console.c | 37 console_t **ptr; in console_unregister() local 41 for (ptr = &console_list; *ptr != NULL; ptr = &(*ptr)->next) in console_unregister() 42 if (*ptr == to_be_deleted) { in console_unregister() 43 *ptr = (*ptr)->next; in console_unregister()
|
/trusted-firmware-a-3.6.0-3.5.0/lib/zlib/ |
D | zutil.c | 245 void ZLIB_INTERNAL zcfree(voidpf opaque, voidpf ptr) in zcfree() argument 251 if (*(ush*)&ptr != 0) { /* object < 64K */ in zcfree() 252 farfree(ptr); in zcfree() 257 if (ptr != table[n].new_ptr) continue; in zcfree() 288 void ZLIB_INTERNAL zcfree(voidpf opaque, voidpf ptr) in zcfree() argument 291 _hfree(ptr); in zcfree() 304 extern void free OF((voidpf ptr)); 317 void ZLIB_INTERNAL zcfree(opaque, ptr) in zcfree() argument 319 voidpf ptr; 322 free(ptr);
|
/trusted-firmware-a-3.6.0-3.5.0/drivers/auth/tbbr/ |
D | tbbr_cot_bl2.c | 116 .ptr = (void *)trusted_world_pk_buf, 123 .ptr = (void *)non_trusted_world_pk_buf, 158 .ptr = (void *)content_pk_buf, 190 .ptr = (void *)scp_fw_hash_buf, 239 .ptr = (void *)content_pk_buf, 271 .ptr = (void *)soc_fw_hash_buf, 278 .ptr = (void *)soc_fw_config_hash_buf, 342 .ptr = (void *)content_pk_buf, 374 .ptr = (void *)tos_fw_hash_buf, 381 .ptr = (void *)tos_fw_extra1_hash_buf, [all …]
|
D | tbbr_cot_common.c | 85 .ptr = (void *)tb_fw_hash_buf, 92 .ptr = (void *)tb_fw_config_hash_buf, 99 .ptr = (void *)hw_config_hash_buf, 106 .ptr = (void *)fw_config_hash_buf,
|
D | tbbr_cot_bl1_r64.c | 68 .ptr = (void *)trusted_world_pk_buf, 75 .ptr = (void *)non_trusted_world_pk_buf, 110 .ptr = (void *)content_pk_buf, 142 .ptr = (void *)nt_world_bl_hash_buf, 149 .ptr = (void *)nt_fw_config_hash_buf,
|
D | tbbr_cot_bl1.c | 66 .ptr = (void *)scp_fw_hash_buf, 73 .ptr = (void *)tb_fw_hash_buf, 80 .ptr = (void *)nt_world_bl_hash_buf,
|
/trusted-firmware-a-3.6.0-3.5.0/drivers/auth/cca/ |
D | cot.c | 139 .ptr = (void *)tb_fw_hash_buf, 146 .ptr = (void *)tb_fw_config_hash_buf, 153 .ptr = (void *)fw_config_hash_buf, 160 .ptr = (void *)hw_config_hash_buf, 167 .ptr = (void *)soc_fw_hash_buf, 174 .ptr = (void *)soc_fw_config_hash_buf, 181 .ptr = (void *)rmm_hash_buf, 327 .ptr = (void *)core_swd_pk_buf, 361 .ptr = (void *)tos_fw_hash_buf, 368 .ptr = (void *)tos_fw_config_hash_buf, [all …]
|
/trusted-firmware-a-3.6.0-3.5.0/plat/arm/board/juno/ |
D | juno_tbbr_cot_bl2.c | 126 .ptr = (void *)trusted_world_pk_buf, 133 .ptr = (void *)non_trusted_world_pk_buf, 168 .ptr = (void *)content_pk_buf, 200 .ptr = (void *)scp_fw_hash_buf, 249 .ptr = (void *)content_pk_buf, 281 .ptr = (void *)soc_fw_hash_buf, 288 .ptr = (void *)soc_fw_config_hash_buf, 352 .ptr = (void *)content_pk_buf, 384 .ptr = (void *)tos_fw_hash_buf, 391 .ptr = (void *)tos_fw_extra1_hash_buf, [all …]
|
/trusted-firmware-a-3.6.0-3.5.0/include/drivers/nxp/crypto/caam/ |
D | caam_io.h | 47 static inline void *ptov(phys_addr_t *ptr) in ptov() argument 49 return (void *)ptr; in ptov() 52 static inline phys_addr_t *vtop(void *ptr) in vtop() argument 54 return (phys_addr_t *)ptr; in vtop()
|
/trusted-firmware-a-3.6.0-3.5.0/drivers/auth/dualroot/ |
D | cot.c | 157 .ptr = (void *)tb_fw_hash_buf, 164 .ptr = (void *)tb_fw_config_hash_buf, 171 .ptr = (void *)hw_config_hash_buf, 178 .ptr = (void *)fw_config_hash_buf, 280 .ptr = (void *)trusted_world_pk_buf, 314 .ptr = (void *)content_pk_buf, 347 .ptr = (void *)scp_fw_hash_buf, 396 .ptr = (void *)content_pk_buf, 429 .ptr = (void *)soc_fw_hash_buf, 436 .ptr = (void *)soc_fw_config_hash_buf, [all …]
|
/trusted-firmware-a-3.6.0-3.5.0/drivers/nxp/auth/tbbr/ |
D | tbbr_cot.c | 161 .ptr = (void *)trusted_world_pk_buf, 168 .ptr = (void *)non_trusted_world_pk_buf, 204 .ptr = (void *)content_pk_buf, 236 .ptr = (void *)soc_fw_hash_buf, 243 .ptr = (void *)soc_fw_config_hash_buf, 307 .ptr = (void *)content_pk_buf, 339 .ptr = (void *)tos_fw_hash_buf, 346 .ptr = (void *)tos_fw_extra1_hash_buf, 353 .ptr = (void *)tos_fw_extra2_hash_buf, 360 .ptr = (void *)tos_fw_config_hash_buf, [all …]
|
/trusted-firmware-a-3.6.0-3.5.0/lib/coreboot/ |
D | coreboot_table.c | 122 void *ptr; in coreboot_table_setup() local 132 ptr = base + header->header_bytes; in coreboot_table_setup() 135 cb_entry_t *entry = ptr; in coreboot_table_setup() 137 if (ptr - base >= header->header_bytes + header->table_bytes) { in coreboot_table_setup() 164 ptr += read_le32(&entry->size); in coreboot_table_setup()
|
/trusted-firmware-a-3.6.0-3.5.0/common/ |
D | fdt_wrappers.c | 99 const void *ptr; in fdtw_read_bytes() local 108 ptr = fdt_getprop_namelen(dtb, node, prop, (int)strlen(prop), in fdtw_read_bytes() 110 if (ptr == NULL) { in fdtw_read_bytes() 121 (void)memcpy(value, ptr, length); in fdtw_read_bytes() 134 const char *ptr; in fdtw_read_string() local 143 ptr = fdt_getprop_namelen(dtb, node, prop, (int)strlen(prop), NULL); in fdtw_read_string() 144 if (ptr == NULL) { in fdtw_read_string() 149 len = strlcpy(str, ptr, size); in fdtw_read_string() 233 const void *ptr; in fdtw_write_inplace_bytes() local 244 ptr = fdt_getprop_namelen(dtb, node, prop, namelen, &value_len); in fdtw_write_inplace_bytes() [all …]
|
/trusted-firmware-a-3.6.0-3.5.0/include/drivers/auth/ |
D | auth_common.h | 41 void *ptr; member 116 .ptr = (void *)_ptr, \
|
/trusted-firmware-a-3.6.0-3.5.0/drivers/nxp/ddr/fsl-mmdc/ |
D | fsl_mmdc.c | 23 static void set_wait_for_bits_clear(void *ptr, unsigned int value, in set_wait_for_bits_clear() argument 28 ddr_out32(ptr, value); in set_wait_for_bits_clear() 30 while ((ddr_in32(ptr) & bits) != 0) { in set_wait_for_bits_clear() 35 INFO("Error: %llx", (unsigned long long)ptr); in set_wait_for_bits_clear()
|
/trusted-firmware-a-3.6.0-3.5.0/plat/common/ |
D | ubsan.c | 73 unsigned long ptr); 75 unsigned long ptr); 112 unsigned long ptr __unused) in __ubsan_handle_type_mismatch_abort() 119 unsigned long ptr __unused) in __ubsan_handle_type_mismatch_v1_abort()
|
/trusted-firmware-a-3.6.0-3.5.0/drivers/nxp/crypto/caam/src/ |
D | jobdesc.c | 55 void desc_add_ptr(uint32_t *desc, phys_addr_t *ptr) in desc_add_ptr() argument 68 ptr_addr->high = PHYS_ADDR_HI(ptr); in desc_add_ptr() 69 ptr_addr->low = PHYS_ADDR_LO(ptr); in desc_add_ptr() 71 *last = ptr; in desc_add_ptr()
|
/trusted-firmware-a-3.6.0-3.5.0/drivers/st/ddr/ |
D | stm32mp_ddr.c | 38 uintptr_t ptr = base_addr + desc[i].offset; in stm32mp_ddr_set_reg() local 46 mmio_write_32(ptr, value); in stm32mp_ddr_set_reg()
|
/trusted-firmware-a-3.6.0-3.5.0/drivers/nxp/ddr/nxp-ddr/ |
D | dimm.c | 45 int crc16(unsigned char *ptr, int count) in crc16() argument 51 crc = crc ^ (int)*ptr++ << 8; in crc16() 142 unsigned char *ptr; in cal_dimm_params() local 238 ptr = (unsigned char *)&spd->mapping[i]; in cal_dimm_params() 239 *ptr = udimm_rc_e_dq[i]; in cal_dimm_params()
|
/trusted-firmware-a-3.6.0-3.5.0/bl32/tsp/ |
D | tsp_ffa_main.c | 114 char *ptr; in test_memory_send() local 207 ptr = (char *) composite->address_range_array[i].address; in test_memory_send() 209 (uint64_t)ptr, in test_memory_send() 210 (uint64_t)ptr, in test_memory_send() 235 ++(*ptr); in test_memory_send() 242 status = *ptr; in test_memory_send()
|