/trusted-firmware-a/plat/nxp/common/tbbr/ |
A D | x509_tbbr.c | 22 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 32 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument 38 assert(cookie != NULL); in plat_get_nv_ctr() 41 oid = (const char *)cookie; in plat_get_nv_ctr() 64 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument 69 assert(cookie != NULL); in plat_set_nv_ctr() 76 oid = (const char *)cookie; in plat_set_nv_ctr()
|
A D | csf_tbbr.c | 28 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 67 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument 78 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
|
/trusted-firmware-a/plat/arm/board/fvp/ |
A D | fvp_trusted_boot.c | 32 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 35 return arm_get_rotpk_info(cookie, key_ptr, key_len, flags); in plat_get_rotpk_info() 46 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument 51 assert(cookie != NULL); in plat_set_nv_ctr() 53 oid = (const char *)cookie; in plat_set_nv_ctr()
|
/trusted-firmware-a/plat/arm/board/fvp_r/ |
A D | fvp_r_trusted_boot.c | 34 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 37 return arm_get_rotpk_info(cookie, key_ptr, key_len, flags); in plat_get_rotpk_info() 48 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument 53 assert(cookie != NULL); in plat_set_nv_ctr() 55 oid = (const char *)cookie; in plat_set_nv_ctr()
|
/trusted-firmware-a/drivers/auth/cryptocell/712/ |
A D | cryptocell_plat_helpers.c | 75 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument 79 if (strcmp(cookie, TRUSTED_FW_NVCOUNTER_OID) == 0) { in plat_get_nv_ctr() 82 } else if (strcmp(cookie, NON_TRUSTED_FW_NVCOUNTER_OID) == 0) { in plat_get_nv_ctr() 99 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument 103 if (strcmp(cookie, TRUSTED_FW_NVCOUNTER_OID) == 0) { in plat_set_nv_ctr() 106 } else if (strcmp(cookie, NON_TRUSTED_FW_NVCOUNTER_OID) == 0) { in plat_set_nv_ctr()
|
/trusted-firmware-a/services/std_svc/ |
A D | std_svc_setup.c | 84 void *cookie, in std_svc_smc_handler() argument 117 cookie, handle, flags); in std_svc_smc_handler() 134 return spm_mm_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in std_svc_smc_handler() 145 return spmd_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in std_svc_smc_handler() 152 return sdei_smc_handler(smc_fid, x1, x2, x3, x4, cookie, handle, in std_svc_smc_handler() 159 return trng_smc_handler(smc_fid, x1, x2, x3, x4, cookie, handle, in std_svc_smc_handler() 169 return rmmd_gtsi_handler(smc_fid, x1, x2, x3, x4, cookie, in std_svc_smc_handler() 176 return pci_smc_handler(smc_fid, x1, x2, x3, x4, cookie, handle, in std_svc_smc_handler()
|
/trusted-firmware-a/plat/arm/board/diphda/common/ |
A D | diphda_trusted_boot.c | 28 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 31 return arm_get_rotpk_info(cookie, key_ptr, key_len, flags); in plat_get_rotpk_info() 39 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument 50 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
|
/trusted-firmware-a/drivers/auth/cryptocell/713/ |
A D | cryptocell_plat_helpers.c | 71 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument 75 if (strcmp(cookie, TRUSTED_FW_NVCOUNTER_OID) == 0) { in plat_get_nv_ctr() 78 } else if (strcmp(cookie, NON_TRUSTED_FW_NVCOUNTER_OID) == 0) { in plat_get_nv_ctr() 95 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument 99 if (strcmp(cookie, TRUSTED_FW_NVCOUNTER_OID) == 0) { in plat_set_nv_ctr() 102 } else if (strcmp(cookie, NON_TRUSTED_FW_NVCOUNTER_OID) == 0) { in plat_set_nv_ctr()
|
/trusted-firmware-a/plat/common/tbbr/ |
A D | plat_tbbr.c | 29 int plat_set_nv_ctr2(void *cookie, const auth_img_desc_t *img_desc, in plat_set_nv_ctr2() argument 34 assert(cookie != NULL); in plat_set_nv_ctr2() 37 trusted_nv_ctr = strcmp(cookie, TRUSTED_FW_NVCOUNTER_OID) == 0; in plat_set_nv_ctr2() 45 return plat_set_nv_ctr(cookie, nv_ctr); in plat_set_nv_ctr2()
|
/trusted-firmware-a/plat/arm/board/common/ |
A D | board_arm_trusted_boot.c | 153 int arm_get_rotpk_info(void *cookie __unused, void **key_ptr, in arm_get_rotpk_info() 161 int arm_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in arm_get_rotpk_info() argument 170 if (cookie == NULL) { in arm_get_rotpk_info() 172 } else if (strcmp(cookie, PROT_PK_OID) == 0) { in arm_get_rotpk_info() 192 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument 197 assert(cookie != NULL); in plat_get_nv_ctr() 200 oid = (const char *)cookie; in plat_get_nv_ctr() 224 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
|
/trusted-firmware-a/plat/mediatek/common/ |
A D | mtk_sip_svc.c | 30 void *cookie, in mediatek_plat_sip_handler() argument 45 void *cookie, in mediatek_sip_handler() argument 84 cookie, handle, flags); in mediatek_sip_handler() 96 void *cookie, in sip_smc_handler() argument 117 cookie, handle, flags); in sip_smc_handler()
|
/trusted-firmware-a/lib/extensions/ras/ |
A D | ras_common.c | 64 int ras_ea_handler(unsigned int ea_reason, uint64_t syndrome, void *cookie, in ras_ea_handler() argument 77 .cookie = cookie, in ras_ea_handler() 124 void *handle, void *cookie) in ras_interrupt_handler() argument 135 .cookie = cookie, in ras_interrupt_handler()
|
/trusted-firmware-a/plat/hisilicon/hikey/ |
A D | hikey_tbbr.c | 11 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 21 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument 28 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
|
/trusted-firmware-a/plat/hisilicon/hikey960/ |
A D | hikey960_tbbr.c | 11 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 21 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument 28 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
|
/trusted-firmware-a/plat/imx/imx7/common/ |
A D | imx7_trusted_boot.c | 11 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 21 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument 28 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
|
/trusted-firmware-a/plat/imx/imx8m/imx8mm/ |
A D | imx8mm_trusted_boot.c | 11 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 21 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument 28 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
|
/trusted-firmware-a/plat/imx/imx8m/imx8mp/ |
A D | imx8mp_trusted_boot.c | 11 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 21 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument 28 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
|
/trusted-firmware-a/plat/qemu/common/ |
A D | qemu_trusted_boot.c | 11 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 21 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument 28 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
|
/trusted-firmware-a/plat/rpi/common/ |
A D | rpi3_trusted_boot.c | 11 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 21 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument 28 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
|
/trusted-firmware-a/plat/socionext/uniphier/ |
A D | uniphier_tbbr.c | 11 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 21 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument 32 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
|
/trusted-firmware-a/include/plat/common/ |
A D | platform.h | 154 void plat_default_ea_handler(unsigned int ea_reason, uint64_t syndrome, void *cookie, 156 void plat_ea_handler(unsigned int ea_reason, uint64_t syndrome, void *cookie, 308 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, 310 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr); 311 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr); 312 int plat_set_nv_ctr2(void *cookie, const struct auth_img_desc_s *img_desc, 322 const struct mmap_region *plat_get_secure_partition_mmap(void *cookie); 324 void *cookie);
|
/trusted-firmware-a/plat/xilinx/zynqmp/ |
A D | sip_svc_setup.c | 61 void *cookie, in sip_svc_smc_handler() argument 67 return em_smc_handler(smc_fid, x1, x2, x3, x4, cookie, handle, in sip_svc_smc_handler() 71 return pm_smc_handler(smc_fid, x1, x2, x3, x4, cookie, handle, in sip_svc_smc_handler() 77 return ipi_smc_handler(smc_fid, x1, x2, x3, x4, cookie, handle, in sip_svc_smc_handler()
|
/trusted-firmware-a/plat/arm/common/ |
A D | arm_sip_svc.c | 48 void *cookie, in arm_sip_handler() argument 61 return pmf_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in arm_sip_handler() 70 return debugfs_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in arm_sip_handler() 79 return ethosn_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in arm_sip_handler()
|
/trusted-firmware-a/plat/nvidia/tegra/soc/t194/ |
A D | plat_ras.c | 52 void *cookie, void *handle, uint64_t flags) in tegra194_ea_handler() argument 62 ret = ras_ea_handler(ea_reason, syndrome, cookie, handle, flags); in tegra194_ea_handler() 173 void tegra194_ras_corrected_err_clear(uint64_t *cookie) in tegra194_ras_corrected_err_clear() argument 192 if (cookie == NULL) { in tegra194_ras_corrected_err_clear() 196 prev.value = *cookie; in tegra194_ras_corrected_err_clear() 246 *cookie = prev.value; in tegra194_ras_corrected_err_clear() 257 *cookie = 0ULL; in tegra194_ras_corrected_err_clear() 491 void plat_ea_handler(unsigned int ea_reason, uint64_t syndrome, void *cookie, in plat_ea_handler() argument 495 tegra194_ea_handler(ea_reason, syndrome, cookie, handle, flags); in plat_ea_handler() 497 plat_default_ea_handler(ea_reason, syndrome, cookie, handle, flags); in plat_ea_handler()
|
/trusted-firmware-a/plat/mediatek/common/custom/ |
A D | oem_svc.c | 42 void *cookie, in oem_smc_handler() argument 59 void *cookie, in oem_svc_smc_handler() argument 67 return oem_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in oem_svc_smc_handler()
|