/trusted-firmware-a-3.6.0-3.5.0/lib/libc/ |
D | strlcat.c | 31 strlcat(char * dst, const char * src, size_t dsize) in strlcat() argument 33 const char *odst = dst; in strlcat() 39 while (n-- != 0 && *dst != '\0') in strlcat() 40 dst++; in strlcat() 41 dlen = dst - odst; in strlcat() 48 *dst++ = *src; in strlcat() 53 *dst = '\0'; in strlcat()
|
D | memmove.c | 9 void *memmove(void *dst, const void *src, size_t len) in memmove() argument 19 if ((size_t)dst - (size_t)src >= len) { in memmove() 21 return memcpy(dst, src, len); in memmove() 24 const char *end = dst; in memmove() 26 char *d = (char *)dst + len; in memmove() 30 return dst; in memmove()
|
D | memset.c | 11 void *memset(void *dst, int val, size_t count) in memset() argument 13 uint8_t *ptr = dst; in memset() 19 return dst; in memset() 27 return dst; in memset() 50 return dst; in memset()
|
D | memcpy.c | 10 void *memcpy(void *dst, const void *src, size_t len) in memcpy() argument 13 char *d = dst; in memcpy() 18 return dst; in memcpy()
|
D | strlcpy.c | 30 strlcpy(char * dst, const char * src, size_t dsize) in strlcpy() argument 38 if ((*dst++ = *src++) == '\0') in strlcpy() 46 *dst = '\0'; /* NUL-terminate dst */ in strlcpy()
|
/trusted-firmware-a-3.6.0-3.5.0/plat/arm/board/juno/ |
D | juno_trusted_boot.c | 28 uint8_t *dst; in juno_get_rotpk_info_regs() local 38 dst = (uint8_t *)&rotpk_hash_der[ARM_ROTPK_HEADER_LEN]; in juno_get_rotpk_info_regs() 72 *dst++ = (uint8_t)((tmp >> 24) & 0xFF); in juno_get_rotpk_info_regs() 73 *dst++ = (uint8_t)((tmp >> 16) & 0xFF); in juno_get_rotpk_info_regs() 74 *dst++ = (uint8_t)((tmp >> 8) & 0xFF); in juno_get_rotpk_info_regs() 75 *dst++ = (uint8_t)(tmp & 0xFF); in juno_get_rotpk_info_regs() 82 *dst++ = (uint8_t)((tmp >> 24) & 0xFF); in juno_get_rotpk_info_regs() 83 *dst++ = (uint8_t)((tmp >> 16) & 0xFF); in juno_get_rotpk_info_regs() 84 *dst++ = (uint8_t)((tmp >> 8) & 0xFF); in juno_get_rotpk_info_regs() 85 *dst++ = (uint8_t)(tmp & 0xFF); in juno_get_rotpk_info_regs()
|
/trusted-firmware-a-3.6.0-3.5.0/drivers/renesas/common/dma/ |
D | dma_driver.c | 88 static void dma_start(uintptr_t dst, uint32_t src, uint32_t len) in dma_start() argument 91 mmio_write_32(DMA_DMAFIXDAR, (dst >> DMAFIXDAR_32BIT_SHIFT) & in dma_start() 93 mmio_write_32(DMA_DMADAR, dst & UINT32_MAX); in dma_start() 119 void rcar_dma_exec(uintptr_t dst, uint32_t src, uint32_t len) in rcar_dma_exec() argument 137 if ((dst & UINT32_MAX) + dma_len > DMADAR_BOUNDARY_ADDR || in rcar_dma_exec() 138 (dst + dma_len > DMA_DST_LIMIT) || in rcar_dma_exec() 139 (dst & DMA_FRACTION_MASK)) { in rcar_dma_exec() 141 dst, dma_len); in rcar_dma_exec() 145 dma_start(dst, src, dma_len); in rcar_dma_exec()
|
/trusted-firmware-a-3.6.0-3.5.0/include/lib/libc/ |
D | string.h | 16 void *memcpy(void *dst, const void *src, size_t len); 17 void *memmove(void *dst, const void *src, size_t len); 24 void *memset(void *dst, int val, size_t count); 28 size_t strlcpy(char * dst, const char * src, size_t dsize); 29 size_t strlcat(char * dst, const char * src, size_t dsize);
|
/trusted-firmware-a-3.6.0-3.5.0/plat/brcm/board/common/ |
D | board_arm_trusted_boot.c | 130 uint8_t *dst; in plat_get_rotpk_info() local 140 dst = (uint8_t *)&rotpk_hash_der[rotpk_hash_hdr_len]; in plat_get_rotpk_info() 143 memcpy(dst, arm_devel_rotpk_hash, SHA256_BYTES); in plat_get_rotpk_info() 179 *dst++ = (uint8_t)((tmp >> 24) & 0xFF); in plat_get_rotpk_info() 180 *dst++ = (uint8_t)((tmp >> 16) & 0xFF); in plat_get_rotpk_info() 181 *dst++ = (uint8_t)((tmp >> 8) & 0xFF); in plat_get_rotpk_info() 182 *dst++ = (uint8_t)(tmp & 0xFF); in plat_get_rotpk_info() 189 *dst++ = (uint8_t)((tmp >> 24) & 0xFF); in plat_get_rotpk_info() 190 *dst++ = (uint8_t)((tmp >> 16) & 0xFF); in plat_get_rotpk_info() 191 *dst++ = (uint8_t)((tmp >> 8) & 0xFF); in plat_get_rotpk_info() [all …]
|
D | bcm_elog.c | 44 extern void memcpy16(void *dst, const void *src, unsigned int len); 145 int bcm_elog_copy_log(void *dst, uint32_t max_size) in bcm_elog_copy_log() argument 150 if (!elog->is_active || ((uintptr_t)dst == elog->base)) in bcm_elog_copy_log() 175 memcpy16(dst, (const void *)elog->base, len + BCM_ELOG_HEADER_LEN); in bcm_elog_copy_log() 176 elog->base = (uintptr_t)dst; in bcm_elog_copy_log()
|
/trusted-firmware-a-3.6.0-3.5.0/plat/hisilicon/hikey/ |
D | hisi_mcu.c | 172 int *src, *dst; in hisi_mcu_load_image() local 186 dst = (int *)(intptr_t)mcu2ap_addr(head->secs[i].dst_offset); in hisi_mcu_load_image() 188 memcpy((void *)dst, (void *)src, head->secs[i].size); in hisi_mcu_load_image() 194 __func__, (unsigned int)(uintptr_t)dst); in hisi_mcu_load_image() 201 __func__, (unsigned int)(uintptr_t)dst, in hisi_mcu_load_image() 202 dst[0], dst[1], dst[2], dst[3]); in hisi_mcu_load_image()
|
/trusted-firmware-a-3.6.0-3.5.0/plat/arm/board/common/ |
D | board_arm_trusted_boot.c | 64 uint8_t *dst; in arm_get_rotpk_info_regs() local 75 dst = (uint8_t *)&rotpk_hash_der[ARM_ROTPK_HEADER_LEN]; in arm_get_rotpk_info_regs() 83 *dst++ = (uint8_t)(tmp & 0xFF); in arm_get_rotpk_info_regs() 84 *dst++ = (uint8_t)((tmp >> 8) & 0xFF); in arm_get_rotpk_info_regs() 85 *dst++ = (uint8_t)((tmp >> 16) & 0xFF); in arm_get_rotpk_info_regs() 86 *dst++ = (uint8_t)((tmp >> 24) & 0xFF); in arm_get_rotpk_info_regs() 122 unsigned char *dst; in arm_get_rotpk_info_cc() local 130 dst = &rotpk_hash_der[ARM_ROTPK_HEADER_LEN]; in arm_get_rotpk_info_cc() 133 return cc_get_rotpk_hash(dst, ARM_ROTPK_HASH_LEN, flags); in arm_get_rotpk_info_cc()
|
/trusted-firmware-a-3.6.0-3.5.0/drivers/renesas/common/io/ |
D | io_rcar.c | 50 uintptr_t dst; member 205 void rcar_read_certificate(uint64_t cert, uint32_t *len, uintptr_t *dst) in rcar_read_certificate() argument 221 *dst = 0; in rcar_read_certificate() 228 *dst = 0; in rcar_read_certificate() 250 *dst = ((uintptr_t) mmio_read_32(dsth) << 32) + in rcar_read_certificate() 259 *dst = ((uintptr_t) mmio_read_32(dsth) << 32) + in rcar_read_certificate() 263 static int32_t check_load_area(uintptr_t dst, uintptr_t len) in check_load_area() argument 265 uint32_t legacy = dst + len <= UINT32_MAX - 1 ? 1 : 0; in check_load_area() 279 if (dst < dram_start || dst > dram_end - len) { in check_load_area() 286 if (dst >= prot_start && dst < prot_end) { in check_load_area() [all …]
|
/trusted-firmware-a-3.6.0-3.5.0/plat/mediatek/mt8183/drivers/sspm/ |
D | sspm.c | 13 static void memcpy_to_sspm(uint32_t dst, uint32_t *src, uint32_t len) in memcpy_to_sspm() argument 16 mmio_write_32(dst, *src); in memcpy_to_sspm() 17 dst += sizeof(uint32_t); in memcpy_to_sspm() 22 static void memcpy_from_sspm(uint32_t *dst, uint32_t src, uint32_t len) in memcpy_from_sspm() argument 25 *dst = mmio_read_32(src); in memcpy_from_sspm() 26 dst++; in memcpy_from_sspm()
|
/trusted-firmware-a-3.6.0-3.5.0/plat/amlogic/common/ |
D | aml_scpi.c | 108 uint32_t aml_scpi_efuse_read(void *dst, uint32_t base, uint32_t size) in aml_scpi_efuse_read() argument 128 memcpy(dst, response + 1, *response); in aml_scpi_efuse_read() 170 void *dst = (void *)AML_MHU_SECURE_AP_TO_SCP_PAYLOAD; in aml_scpi_copy_scp_data() local 178 memcpy(dst, data + sz, MIN(SIZE_FWBLK, len - sz)); in aml_scpi_copy_scp_data() 185 volatile uint64_t *dst = (uint64_t *)AML_MHU_SECURE_AP_TO_SCP_PAYLOAD; in aml_scpi_set_scp_addr() local 191 *dst = addr; in aml_scpi_set_scp_addr() 202 void *dst = (void *)AML_MHU_SECURE_AP_TO_SCP_PAYLOAD; in aml_scpi_send_fw_hash() local 204 memcpy(dst, hash, len); in aml_scpi_send_fw_hash()
|
D | aml_efuse.c | 14 uint64_t aml_efuse_read(void *dst, uint32_t offset, uint32_t size) in aml_efuse_read() argument 19 return aml_scpi_efuse_read(dst, offset + EFUSE_BASE, size); in aml_efuse_read()
|
D | aml_sip_svc.c | 64 void *dst = (void *)AML_SHARE_MEM_OUTPUT_BASE; in aml_sip_handler() local 65 uint64_t ret = aml_efuse_read(dst, (uint32_t)x1, x2); in aml_sip_handler()
|
/trusted-firmware-a-3.6.0-3.5.0/drivers/rpi3/rng/ |
D | rpi3_rng.c | 57 uint32_t *dst = buf; in rpi3_rng_read() local 67 *dst++ = data; in rpi3_rng_read() 73 memcpy(dst, &data, left); in rpi3_rng_read()
|
/trusted-firmware-a-3.6.0-3.5.0/include/plat/brcm/common/ |
D | bcm_elog.h | 17 int bcm_elog_copy_log(void *dst, uint32_t max_size); 28 static inline int bcm_elog_copy_log(void *dst, uint32_t max_size) in bcm_elog_copy_log() argument
|
/trusted-firmware-a-3.6.0-3.5.0/drivers/auth/cryptocell/712/ |
D | cryptocell_plat_helpers.c | 31 int cc_get_rotpk_hash(unsigned char *dst, unsigned int len, unsigned int *flags) in cc_get_rotpk_hash() argument 36 assert(dst != NULL); in cc_get_rotpk_hash() 61 (uint32_t *)dst, HASH_RESULT_SIZE_IN_WORDS); in cc_get_rotpk_hash()
|
/trusted-firmware-a-3.6.0-3.5.0/drivers/auth/cryptocell/713/ |
D | cryptocell_plat_helpers.c | 23 int cc_get_rotpk_hash(unsigned char *dst, unsigned int len, unsigned int *flags) in cc_get_rotpk_hash() argument 28 uint32_t *key = (uint32_t *)dst; in cc_get_rotpk_hash() 30 assert(dst != NULL); in cc_get_rotpk_hash()
|
/trusted-firmware-a-3.6.0-3.5.0/include/drivers/partition/ |
D | efi.h | 23 static inline void *guidcpy(void *dst, const void *src) in guidcpy() argument 25 return memcpy(dst, src, sizeof(struct efi_guid)); in guidcpy()
|
/trusted-firmware-a-3.6.0-3.5.0/plat/amlogic/common/include/ |
D | aml_private.h | 30 uint32_t aml_scpi_efuse_read(void *dst, uint32_t base, uint32_t size); 38 uint64_t aml_efuse_read(void *dst, uint32_t offset, uint32_t size);
|
/trusted-firmware-a-3.6.0-3.5.0/include/drivers/arm/cryptocell/ |
D | cc_rotpk.h | 10 int cc_get_rotpk_hash(unsigned char *dst, unsigned int len,
|
/trusted-firmware-a-3.6.0-3.5.0/drivers/renesas/common/rom/ |
D | rom_api.h | 26 typedef uint32_t(*rom_read_flash_f) (uint64_t src, uint8_t *dst, uint32_t len);
|