| /rk3399_ARM-atf/lib/pmf/ |
| H A D | pmf_smc.c | 54 SMC_RET2(handle, SMC_OK, PMF_SMC_VERSION); in pmf_smc_handler() 67 SMC_RET2(handle, rc, ts_value); in pmf_smc_handler() 71 SMC_RET2(handle, SMC_OK, PMF_SMC_VERSION); in pmf_smc_handler()
|
| /rk3399_ARM-atf/plat/mediatek/mt8195/ |
| H A D | plat_sip_calls.c | 39 SMC_RET2(handle, ret, ret_val); in mediatek_plat_sip_handler() 44 SMC_RET2(handle, ret, x4); in mediatek_plat_sip_handler() 54 SMC_RET2(handle, ret, ret_val); in mediatek_plat_sip_handler()
|
| /rk3399_ARM-atf/services/std_svc/ |
| H A D | pci_svc.c | 74 SMC_RET2(handle, SMC_PCI_CALL_INVAL_PARAM, 0U); in pci_smc_handler() 77 SMC_RET2(handle, SMC_PCI_CALL_INVAL_PARAM, 0U); in pci_smc_handler() 80 SMC_RET2(handle, SMC_PCI_CALL_INVAL_PARAM, 0U); in pci_smc_handler() 82 SMC_RET2(handle, SMC_PCI_CALL_SUCCESS, ret); in pci_smc_handler()
|
| /rk3399_ARM-atf/plat/mediatek/mt8192/ |
| H A D | plat_sip_calls.c | 31 SMC_RET2(handle, ret, x4); in mediatek_plat_sip_handler() 36 SMC_RET2(handle, ret, rnd_val0); in mediatek_plat_sip_handler()
|
| /rk3399_ARM-atf/plat/marvell/armada/common/ |
| H A D | mrvl_sip_svc.c | 151 SMC_RET2(handle, ret, read); in mrvl_sip_smc_handler() 155 SMC_RET2(handle, ret, read); in mrvl_sip_smc_handler() 165 SMC_RET2(handle, ret, read); in mrvl_sip_smc_handler() 173 SMC_RET2(handle, ret, read); in mrvl_sip_smc_handler()
|
| /rk3399_ARM-atf/plat/qemu/qemu_sbsa/ |
| H A D | sbsa_sip_svc.c | 68 SMC_RET2(handle, NULL, sbsa_platform_gic_its_addr()); in sbsa_sip_smc_handler() 71 SMC_RET2(handle, NULL, sbsa_platform_num_cpus()); in sbsa_sip_smc_handler() 101 SMC_RET2(handle, NULL, sbsa_platform_num_memnodes()); in sbsa_sip_smc_handler()
|
| /rk3399_ARM-atf/plat/nxp/common/sip_svc/ |
| H A D | sip_svc.c | 97 SMC_RET2(handle, SMC_OK, ret); in nxp_sip_handler() 120 SMC_RET2(handle, SMC_OK, in nxp_sip_handler() 148 SMC_RET2(handle, SMC_OK, ret); in nxp_sip_handler() 177 SMC_RET2(handle, LS_SIP_SVC_VERSION_MAJOR, in sip_smc_handler()
|
| /rk3399_ARM-atf/plat/qti/common/src/ |
| H A D | qti_syscall.c | 287 SMC_RET2(handle, QTI_SIP_SUCCESS, ret); in qti_sip_mem_assign() 295 SMC_RET2(handle, QTI_SIP_INVALID_PARAM, ret); in qti_sip_mem_assign() 333 SMC_RET2(handle, QTI_SIP_SVC_VERSION_MAJOR, in qti_sip_handler() 343 SMC_RET2(handle, QTI_SIP_SUCCESS, 1); in qti_sip_handler() 345 SMC_RET2(handle, QTI_SIP_SUCCESS, 0); in qti_sip_handler() 353 SMC_RET2(handle, QTI_SIP_SUCCESS, in qti_sip_handler()
|
| /rk3399_ARM-atf/plat/intel/soc/common/ |
| H A D | socfpga_sip_svc_v2.c | 161 SMC_RET2(handle, status, x1); in sip_smc_handler_v2() 165 SMC_RET2(handle, status, x1); in sip_smc_handler_v2() 169 SMC_RET2(handle, status, x1); in sip_smc_handler_v2()
|
| H A D | socfpga_sip_svc.c | 971 SMC_RET2(handle, ret_args[0], ret_args[1]); 2039 SMC_RET2(handle, status, retval); 2062 SMC_RET2(handle, INTEL_SIP_SMC_STATUS_OK, 2073 SMC_RET2(handle, INTEL_SIP_SMC_STATUS_OK, rsu_max_retry); 2090 SMC_RET2(handle, status, retval); 2101 SMC_RET2(handle, status, retval); 2154 SMC_RET2(handle, status, mbox_error); 2162 SMC_RET2(handle, status, retval); 2166 SMC_RET2(handle, status, retval); 2170 SMC_RET2(handle, status, mbox_error); [all …]
|
| /rk3399_ARM-atf/plat/arm/common/ |
| H A D | plat_arm_sip_svc.c | 68 SMC_RET2(handle, SMC_INVALID_PARAM, last_updated); in plat_protect_memory() 71 SMC_RET2(handle, SMC_DENIED, last_updated); in plat_protect_memory()
|
| /rk3399_ARM-atf/services/std_svc/drtm/ |
| H A D | drtm_main.c | 152 SMC_RET2(ctx, 1ULL, /* TPM feature is supported */ in drtm_features_tpm() 158 SMC_RET2(ctx, 1ULL, /* memory req Feature is supported */ in drtm_features_mem_req() 164 SMC_RET2(ctx, 1ULL, /* Boot PE feature is supported */ in drtm_features_boot_pe_id() 170 SMC_RET2(ctx, 1ULL, /* DMA protection feature is supported */ in drtm_features_dma_prot() 176 SMC_RET2(ctx, 1ULL, /* TCB hash feature is supported */ in drtm_features_tcb_hashes() 182 SMC_RET2(ctx, 1ULL, /* DLME Image auth is supported */ in drtm_features_dlme_img_auth_features() 716 SMC_RET2(handle, args.dlme_paddr, args.dlme_data_off); in drtm_dynamic_launch()
|
| H A D | drtm_remediation.c | 41 SMC_RET2(ctx, SUCCESS, error_code); in drtm_get_error()
|
| /rk3399_ARM-atf/plat/xilinx/zynqmp/pm_service/ |
| H A D | zynqmp_pm_svc_main.c | 403 SMC_RET2(handle, in pm_smc_handler() 421 SMC_RET2(handle, ((uint64_t)data[0] | ((uint64_t)data[1] << 32)), in pm_smc_handler() 487 SMC_RET2(handle, ((uint64_t)ret | ((uint64_t)result[0] << 32U)), in pm_smc_handler() 566 SMC_RET2(handle, ((uint64_t)ret | ((uint64_t)ret_payload[0] << 32U)), in pm_smc_handler() 578 SMC_RET2(handle, ((uint64_t)ret | ((uint64_t)version_type << 32U)), in pm_smc_handler() 588 SMC_RET2(handle, ((uint64_t)ret | ((uint64_t)result[0] << 32U)), in pm_smc_handler()
|
| /rk3399_ARM-atf/plat/hisilicon/hikey/ |
| H A D | hisi_sip_svc.c | 67 SMC_RET2(handle, HISI_SIP_SVC_VERSION_MAJOR, HISI_SIP_SVC_VERSION_MINOR); in hisi_sip_handler()
|
| /rk3399_ARM-atf/plat/mediatek/mt8186/ |
| H A D | plat_sip_calls.c | 31 SMC_RET2(handle, ret, x4); in mediatek_plat_sip_handler()
|
| /rk3399_ARM-atf/plat/st/common/ |
| H A D | stm32mp_svc_setup.c | 68 SMC_RET2(handle, ret1, ret2); in stm32mp_svc_smc_handler()
|
| /rk3399_ARM-atf/plat/xilinx/common/pm_service/ |
| H A D | pm_svc_main.c | 326 SMC_RET2(handle, (uint64_t)ret | ((uint64_t)result[0] << 32U), in eemi_for_compatibility() 451 SMC_RET2(handle, in TF_A_specific_handler() 509 SMC_RET2(handle, (uint64_t)buf[0] | ((uint64_t)buf[1] << 32U), in eemi_handler() 514 SMC_RET2(handle, (uint64_t)ret | ((uint64_t)buf[0] << 32U), in eemi_handler()
|
| /rk3399_ARM-atf/plat/rockchip/common/ |
| H A D | rockchip_sip_svc.c | 67 SMC_RET2(handle, RK_SIP_SVC_VERSION_MAJOR, in sip_smc_handler()
|
| /rk3399_ARM-atf/services/el3/ |
| H A D | ven_el3_svc.c | 93 SMC_RET2(handle, VEN_EL3_SVC_VERSION_MAJOR, VEN_EL3_SVC_VERSION_MINOR); in ven_el3_svc_handler()
|
| /rk3399_ARM-atf/plat/xilinx/versal_net/ |
| H A D | sip_svc_setup.c | 94 SMC_RET2(handle, SIP_SVC_VERSION_MAJOR, SIP_SVC_VERSION_MINOR); in sip_svc_smc_handler()
|
| /rk3399_ARM-atf/include/arch/aarch32/ |
| H A D | smccc_helpers.h | 121 #define SMC_RET2(_h, _r0, _r1) { \ macro 127 SMC_RET2(_h, (_r0), (_r1)); \
|
| /rk3399_ARM-atf/services/arm_arch_svc/ |
| H A D | arm_arch_svc_setup.c | 240 SMC_RET2(handle, SMC_INVALID_PARAM, ULL(0)); in smccc_arch_feature_availability() 254 SMC_RET2(handle, SMC_ARCH_CALL_SUCCESS, bitmask); in smccc_arch_feature_availability()
|
| /rk3399_ARM-atf/services/spd/tspd/ |
| H A D | tspd_main.c | 215 SMC_RET2(&tsp_ctx->cpu_ctx, TSP_HANDLE_SEL1_INTR_AND_RETURN, read_elr_el3()); in tspd_sel1_interrupt_handler() 780 SMC_RET2(handle, x1, x2); in tspd_smc_handler() 795 SMC_RET2(handle, TSP_VERSION_MAJOR, TSP_VERSION_MINOR); in tspd_smc_handler()
|
| /rk3399_ARM-atf/plat/xilinx/zynqmp/ |
| H A D | sip_svc_setup.c | 106 SMC_RET2(handle, SIP_SVC_VERSION_MAJOR, SIP_SVC_VERSION_MINOR); in sip_svc_smc_handler()
|