Home
last modified time | relevance | path

Searched refs:src (Results 1 – 25 of 65) sorted by relevance

123

/tf-a-ffa_el3_spmc/lib/libc/
A Dstrlcat.c31 strlcat(char * dst, const char * src, size_t dsize) in strlcat() argument
34 const char *osrc = src; in strlcat()
45 return(dlen + strlen(src)); in strlcat()
46 while (*src != '\0') { in strlcat()
48 *dst++ = *src; in strlcat()
51 src++; in strlcat()
55 return(dlen + (src - osrc)); /* count does not include NUL */ in strlcat()
A Dstrlcpy.c30 strlcpy(char * dst, const char * src, size_t dsize) in strlcpy() argument
32 const char *osrc = src; in strlcpy()
38 if ((*dst++ = *src++) == '\0') in strlcpy()
47 while (*src++) in strlcpy()
51 return(src - osrc - 1); /* count does not include NUL */ in strlcpy()
A Dmemmove.c9 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()
25 const char *s = (const char *)src + len; in memmove()
A Dmemchr.c10 void *memchr(const void *src, int c, size_t len) in memchr() argument
12 const unsigned char *s = src; in memchr()
A Dmemcpy.c10 void *memcpy(void *dst, const void *src, size_t len) in memcpy() argument
12 const char *s = src; in memcpy()
A Dmemrchr.c11 void *memrchr(const void *src, int c, size_t len) in memrchr() argument
13 const unsigned char *s = src + (len - 1); in memrchr()
/tf-a-ffa_el3_spmc/plat/qti/sc7180/
A Dplatform.mk54 $(QTI_PLAT_PATH)/common/src/pm8998.c \
55 $(QTI_PLAT_PATH)/common/src/qti_stack_protector.c \
56 $(QTI_PLAT_PATH)/common/src/qti_common.c \
57 $(QTI_PLAT_PATH)/common/src/qti_bl31_setup.c \
58 $(QTI_PLAT_PATH)/common/src/qti_gic_v3.c \
59 $(QTI_PLAT_PATH)/common/src/qti_interrupt_svc.c \
60 $(QTI_PLAT_PATH)/common/src/qti_syscall.c \
61 $(QTI_PLAT_PATH)/common/src/qti_topology.c \
62 $(QTI_PLAT_PATH)/common/src/qti_pm.c \
63 $(QTI_PLAT_PATH)/common/src/qti_rng.c \
[all …]
/tf-a-ffa_el3_spmc/tools/cert_create/
A DMakefile26 OBJECTS := src/cert.o \
27 src/cmd_opt.o \
28 src/ext.o \
29 src/key.o \
30 src/main.o \
31 src/sha.o
35 include src/tbbr/tbbr.mk
37 include src/dualroot/cot.mk
78 ${HOSTCC} -c ${HOSTCCFLAGS} -xc - -o src/build_msg.o
79 ${Q}${HOSTCC} src/build_msg.o ${OBJECTS} ${LIB_DIR} ${LIB} -o $@
[all …]
/tf-a-ffa_el3_spmc/include/lib/libc/
A Dstring.h16 void *memcpy(void *dst, const void *src, size_t len);
17 void *memmove(void *dst, const void *src, size_t len);
21 void *memchr(const void *src, int c, size_t len);
22 void *memrchr(const void *src, int c, size_t len);
28 size_t strlcpy(char * dst, const char * src, size_t dsize);
29 size_t strlcat(char * dst, const char * src, size_t dsize);
/tf-a-ffa_el3_spmc/tools/encrypt_fw/
A DMakefile14 OBJECTS := src/encrypt.o \
15 src/cmd_opt.o \
16 src/main.o
54 ${HOSTCC} -c ${HOSTCCFLAGS} -xc - -o src/build_msg.o
55 ${Q}${HOSTCC} src/build_msg.o ${OBJECTS} ${LIB_DIR} ${LIB} -o $@
62 $(call SHELL_DELETE_ALL, src/build_msg.o ${OBJECTS})
/tf-a-ffa_el3_spmc/plat/hisilicon/hikey/
A Dhisi_mcu.c172 int *src, *dst; in hisi_mcu_load_image() local
185 src = (int *)(intptr_t)(buf + head->secs[i].src_offset); in hisi_mcu_load_image()
188 memcpy((void *)dst, (void *)src, head->secs[i].size); in hisi_mcu_load_image()
192 __func__, (unsigned int)(uintptr_t)src); in hisi_mcu_load_image()
198 __func__, (unsigned int)(uintptr_t)src, in hisi_mcu_load_image()
199 src[0], src[1], src[2], src[3]); in hisi_mcu_load_image()
/tf-a-ffa_el3_spmc/plat/brcm/board/stingray/
A Dplatform.mk196 plat/${SOC_DIR}/src/tz_sec.c \
199 plat/${SOC_DIR}/src/topology.c \
212 plat/${SOC_DIR}/src/bl2_setup.c \
236 plat/${SOC_DIR}/src/fsx.c \
237 plat/${SOC_DIR}/src/iommu.c \
238 plat/${SOC_DIR}/src/sdio.c \
259 plat/${SOC_DIR}/src/scp_utils.c \
260 plat/${SOC_DIR}/src/scp_cmd.c \
265 plat/${SOC_DIR}/src/brcm_pm_ops.c
268 plat/${SOC_DIR}/src/pm.c
[all …]
/tf-a-ffa_el3_spmc/plat/arm/board/juno/
A Djuno_trusted_boot.c29 uint32_t *src, tmp; in juno_get_rotpk_info_regs() local
68 src = (uint32_t *)TZ_PUB_KEY_HASH_BASE; in juno_get_rotpk_info_regs()
70 tmp = src[words - 1 - i]; in juno_get_rotpk_info_regs()
79 src = (uint32_t *)(TZ_PUB_KEY_HASH_BASE + ARM_ROTPK_HASH_LEN / 2); in juno_get_rotpk_info_regs()
81 tmp = src[words - 1 - i]; in juno_get_rotpk_info_regs()
/tf-a-ffa_el3_spmc/tools/cert_create/src/tbbr/
A Dtbbr.mk27 OBJECTS += src/tbbr/tbb_cert.o \
28 src/tbbr/tbb_ext.o \
29 src/tbbr/tbb_key.o
/tf-a-ffa_el3_spmc/plat/mediatek/mt8183/drivers/sspm/
A Dsspm.c13 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()
18 src++; 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()
27 src += sizeof(uint32_t); in memcpy_from_sspm()
/tf-a-ffa_el3_spmc/drivers/renesas/common/dma/
A Ddma_driver.c88 static void dma_start(uintptr_t dst, uint32_t src, uint32_t len) in dma_start() argument
94 mmio_write_32(DMA_DMASAR, src); in dma_start()
119 void rcar_dma_exec(uintptr_t dst, uint32_t src, uint32_t len) in rcar_dma_exec() argument
131 if (src & DMA_FRACTION_MASK) { in rcar_dma_exec()
133 src, dma_len); in rcar_dma_exec()
145 dma_start(dst, src, dma_len); in rcar_dma_exec()
/tf-a-ffa_el3_spmc/tools/nxp/cert_create_helper/
A Dcert_create_tbbr.mk24 PLAT_OBJECTS += ${PDEF_CERT_TOOL_PATH}/src/pdef_tbb_cert.o \
25 ${PDEF_CERT_TOOL_PATH}/src/pdef_tbb_ext.o \
26 ${PDEF_CERT_TOOL_PATH}/src/pdef_tbb_key.o
/tf-a-ffa_el3_spmc/drivers/nxp/ddr/phy-gen2/
A Dddrphy.mk14 $(DDR_PHY_C): $(DDR_PHY_H) $(COMMON_HDRS) src
17 $(DDR_PHY_H): src
/tf-a-ffa_el3_spmc/plat/mediatek/mt8192/drivers/spm/
A Dmt_spm_cond.c103 const struct mt_spm_cond_tables *src, in mt_spm_cond_check() argument
110 if ((src == NULL) || (dest == NULL)) { in mt_spm_cond_check()
117 (src->table_cg[i] & dest->table_cg[i]); in mt_spm_cond_check()
128 } else if ((src->table_cg[i] & dest->table_cg[i]) != 0U) { in mt_spm_cond_check()
135 res->table_pll = (src->table_pll & dest->table_pll); in mt_spm_cond_check()
142 } else if ((src->table_pll & dest->table_pll) != 0U) { in mt_spm_cond_check()
/tf-a-ffa_el3_spmc/plat/rockchip/rk3399/drivers/soc/
A Dsoc.c123 static void restore_pll(int pll_id, uint32_t *src) in restore_pll() argument
128 mmio_write_32(CRU_BASE + CRU_PLL_CON(pll_id, 0), src[0] | REG_SOC_WMSK); in restore_pll()
129 mmio_write_32(CRU_BASE + CRU_PLL_CON(pll_id, 1), src[1] | REG_SOC_WMSK); in restore_pll()
130 mmio_write_32(CRU_BASE + CRU_PLL_CON(pll_id, 2), src[2]); in restore_pll()
131 mmio_write_32(CRU_BASE + CRU_PLL_CON(pll_id, 4), src[4] | REG_SOC_WMSK); in restore_pll()
132 mmio_write_32(CRU_BASE + CRU_PLL_CON(pll_id, 5), src[5] | REG_SOC_WMSK); in restore_pll()
135 mmio_write_32(CRU_BASE + CRU_PLL_CON(pll_id, 3), src[3] | REG_SOC_WMSK); in restore_pll()
/tf-a-ffa_el3_spmc/plat/arm/board/morello/
A Dmorello_bl31_setup.c65 static void copy_bl33(uint32_t src, uint32_t dst, uint32_t size) in copy_bl33() argument
71 mmio_write_64((dst + i), mmio_read_64(src + i)); in copy_bl33()
74 if (mmio_read_64(src + i) != mmio_read_64(dst + i)) { in copy_bl33()
/tf-a-ffa_el3_spmc/plat/rockchip/rk3399/drivers/m0/
A DMakefile30 C_SOURCES_COMMON := src/startup.c
31 C_SOURCES := src/dram.c \
32 src/stopwatch.c
33 C_SOURCES_PMU := src/suspend.c
70 LINKERFILE_SRC := src/$(PLAT_M0).ld.S
/tf-a-ffa_el3_spmc/plat/mediatek/mt8195/drivers/spm/
A Dmt_spm_cond.c120 const struct mt_spm_cond_tables *src, in mt_spm_cond_check() argument
127 if ((src == NULL) || (dest == NULL)) { in mt_spm_cond_check()
134 (src->table_cg[i] & dest->table_cg[i]); in mt_spm_cond_check()
145 } else if ((src->table_cg[i] & dest->table_cg[i]) != 0U) { in mt_spm_cond_check()
152 res->table_pll = (src->table_pll & dest->table_pll); in mt_spm_cond_check()
159 } else if ((src->table_pll & dest->table_pll) != 0U) { in mt_spm_cond_check()
/tf-a-ffa_el3_spmc/plat/qti/qtiseclib/inc/
A Dqtiseclib_cb_interface.h18 void *qtiseclib_cb_memcpy(void *dst, const void *src, size_t len);
21 void *qtiseclib_cb_memmove(void *dest, const void *src, size_t n);
/tf-a-ffa_el3_spmc/plat/rockchip/rk3399/drivers/dram/
A Dsuspend.c57 static __pmusramfunc void sram_regcpy(uintptr_t dst, uintptr_t src, in sram_regcpy() argument
61 mmio_write_32(dst, mmio_read_32(src)); in sram_regcpy()
63 src += sizeof(uint32_t); in sram_regcpy()
72 static void dram_regcpy(uintptr_t dst, uintptr_t src, uint32_t num) in dram_regcpy() argument
75 mmio_write_32(dst, mmio_read_32(src)); in dram_regcpy()
77 src += sizeof(uint32_t); in dram_regcpy()
653 __pmusramfunc static void pmusram_restore_pll(int pll_id, uint32_t *src) in pmusram_restore_pll() argument
657 mmio_write_32(CRU_BASE + CRU_PLL_CON(pll_id, 0), src[0] | REG_SOC_WMSK); in pmusram_restore_pll()
658 mmio_write_32(CRU_BASE + CRU_PLL_CON(pll_id, 1), src[1] | REG_SOC_WMSK); in pmusram_restore_pll()
659 mmio_write_32(CRU_BASE + CRU_PLL_CON(pll_id, 2), src[2]); in pmusram_restore_pll()
[all …]

Completed in 26 milliseconds

123