| /rk3399_ARM-atf/plat/imx/common/ |
| H A D | imx_sip_svc.c | 35 SMC_RET1(handle, imx_kernel_entry_handler(smc_fid, x1, x2, x3, x4)); in imx_sip_handler() 40 SMC_RET1(handle, 0); in imx_sip_handler() 43 SMC_RET1(handle, imx_hifi_xrdc(smc_fid)); in imx_sip_handler() 50 SMC_RET1(handle, imx_soc_info_handler(smc_fid, x1, x2, x3)); in imx_sip_handler() 53 SMC_RET1(handle, imx_gpc_handler(smc_fid, x1, x2, x3)); in imx_sip_handler() 62 SMC_RET1(handle, imx_gpc_handler(smc_fid, x1, x2, x3)); in imx_sip_handler() 69 SMC_RET1(handle, imx_cpufreq_handler(smc_fid, x1, x2, x3)); in imx_sip_handler() 72 SMC_RET1(handle, imx_wakeup_src_handler(smc_fid, x1, x2, x3)); in imx_sip_handler() 77 SMC_RET1(handle, imx_misc_set_temp_handler(smc_fid, x1, x2, x3, x4)); in imx_sip_handler() 82 SMC_RET1(handle, imx_src_handler(smc_fid, x1, x2, x3, handle)); in imx_sip_handler() [all …]
|
| /rk3399_ARM-atf/plat/marvell/armada/common/ |
| H A D | mrvl_sip_svc.c | 93 SMC_RET1(handle, SMC_UNK); in mrvl_sip_smc_handler() 102 SMC_RET1(handle, SMC_UNK); in mrvl_sip_smc_handler() 112 SMC_RET1(handle, ret); in mrvl_sip_smc_handler() 116 SMC_RET1(handle, ret); in mrvl_sip_smc_handler() 120 SMC_RET1(handle, ret); in mrvl_sip_smc_handler() 124 SMC_RET1(handle, ret); in mrvl_sip_smc_handler() 128 SMC_RET1(handle, ret); in mrvl_sip_smc_handler() 133 SMC_RET1(handle, ret); in mrvl_sip_smc_handler() 138 SMC_RET1(handle, 0); in mrvl_sip_smc_handler() 142 SMC_RET1(handle, 0); in mrvl_sip_smc_handler() [all …]
|
| /rk3399_ARM-atf/services/std_svc/trng/ |
| H A D | trng_main.c | 29 SMC_RET1(handle, TRNG_E_INVALID_PARAMS); in trng_rnd32() 33 SMC_RET1(handle, TRNG_E_NO_ENTROPY); in trng_rnd32() 53 SMC_RET1(handle, TRNG_E_INVALID_PARAMS); in trng_rnd32() 65 SMC_RET1(handle, TRNG_E_INVALID_PARAMS); in trng_rnd64() 69 SMC_RET1(handle, TRNG_E_NO_ENTROPY); in trng_rnd64() 88 SMC_RET1(handle, TRNG_E_INVALID_PARAMS); in trng_rnd64() 114 SMC_RET1(handle, TRNG_E_NOT_IMPLEMENTED); in trng_smc_handler() 119 SMC_RET1(handle, MAKE_SMCCC_VERSION( in trng_smc_handler() 125 SMC_RET1(handle, TRNG_E_SUCCESS); in trng_smc_handler() 127 SMC_RET1(handle, TRNG_E_NOT_SUPPORTED); in trng_smc_handler() [all …]
|
| /rk3399_ARM-atf/plat/nvidia/tegra/common/ |
| H A D | tegra_sip_calls.c | 48 SMC_RET1(handle, (uint64_t)err); in tegra_sip_handler() 59 SMC_RET1(handle, (uint64_t)-ENOTSUP); in tegra_sip_handler() 68 SMC_RET1(handle, (uint64_t)err); in tegra_sip_handler() 76 SMC_RET1(handle, (uint64_t)-ENOTSUP); in tegra_sip_handler() 88 SMC_RET1(handle, (uint64_t)-ENOTSUP); in tegra_sip_handler() 104 SMC_RET1(handle, 0); in tegra_sip_handler() 115 SMC_RET1(handle, SMC_UNK); in tegra_sip_handler() 125 SMC_RET1(handle, 0); in tegra_sip_handler() 146 SMC_RET1(handle, SMC_UNK); in tegra_sip_handler()
|
| /rk3399_ARM-atf/plat/amlogic/common/ |
| H A D | aml_sip_svc.c | 57 SMC_RET1(handle, AML_SHARE_MEM_INPUT_BASE); in aml_sip_handler() 60 SMC_RET1(handle, AML_SHARE_MEM_OUTPUT_BASE); in aml_sip_handler() 67 SMC_RET1(handle, ret); in aml_sip_handler() 70 SMC_RET1(handle, aml_efuse_user_max()); in aml_sip_handler() 74 SMC_RET1(handle, 0); in aml_sip_handler() 78 SMC_RET1(handle, 0); in aml_sip_handler() 81 SMC_RET1(handle, aml_sip_get_chip_id(x1)); in aml_sip_handler() 88 SMC_RET1(handle, SMC_UNK); in aml_sip_handler()
|
| /rk3399_ARM-atf/plat/xilinx/zynqmp/pm_service/ |
| H A D | zynqmp_pm_svc_main.c | 301 SMC_RET1(handle, SMC_UNK); in pm_smc_handler() 327 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler() 332 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler() 343 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler() 348 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler() 352 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler() 356 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler() 360 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler() 365 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler() 378 SMC_RET1(handle, (uint64_t)PM_RET_SUCCESS | in pm_smc_handler() [all …]
|
| /rk3399_ARM-atf/plat/xilinx/common/ipi_mailbox_service/ |
| H A D | ipi_mailbox_svc.c | 98 SMC_RET1(handle, ret); in ipi_smc_handler() 103 SMC_RET1(handle, 0); in ipi_smc_handler() 106 SMC_RET1(handle, 0); in ipi_smc_handler() 116 SMC_RET1(handle, ret); in ipi_smc_handler() 124 SMC_RET1(handle, 0); in ipi_smc_handler() 135 SMC_RET1(handle, 0); in ipi_smc_handler() 139 SMC_RET1(handle, 0); in ipi_smc_handler() 142 SMC_RET1(handle, 0); in ipi_smc_handler() 145 SMC_RET1(handle, SMC_UNK); in ipi_smc_handler()
|
| /rk3399_ARM-atf/services/spd/tlkd/ |
| H A D | tlkd_main.c | 217 SMC_RET1(handle, SMC_UNK); in tlkd_smc_handler() 231 SMC_RET1(handle, SMC_UNK); in tlkd_smc_handler() 248 SMC_RET1(ns_cpu_context, x1); in tlkd_smc_handler() 280 SMC_RET1(handle, SMC_UNK); in tlkd_smc_handler() 297 SMC_RET1(handle, SMC_UNK); in tlkd_smc_handler() 300 SMC_RET1(handle, SMC_UNK); in tlkd_smc_handler() 350 SMC_RET1(handle, SMC_UNK); in tlkd_smc_handler() 357 SMC_RET1(handle, SMC_UNK); in tlkd_smc_handler() 376 SMC_RET1(handle, SMC_UNK); in tlkd_smc_handler() 399 SMC_RET1(ns_cpu_context, x1); in tlkd_smc_handler() [all …]
|
| /rk3399_ARM-atf/plat/nxp/common/sip_svc/ |
| H A D | sip_svc.c | 36 SMC_RET1(handle, SMC_UNK); in nxp_plat_sip_handler() 91 SMC_RET1(handle, SMC_UNK); in nxp_sip_handler() 99 SMC_RET1(handle, SMC_UNK); in nxp_sip_handler() 105 SMC_RET1(handle, SMC_UNK); in nxp_sip_handler() 110 SMC_RET1(handle, SMC_OK); in nxp_sip_handler() 112 SMC_RET1(handle, SMC_UNK); in nxp_sip_handler() 123 SMC_RET1(handle, SMC_UNK); in nxp_sip_handler() 134 SMC_RET1(handle, SMC_OK); in nxp_sip_handler() 136 SMC_RET1(handle, SMC_UNK); in nxp_sip_handler() 144 SMC_RET1(handle, SMC_UNK); in nxp_sip_handler() [all …]
|
| /rk3399_ARM-atf/plat/marvell/armada/a3k/common/ |
| H A D | a3700_sip_svc.c | 46 SMC_RET1(handle, SMC_UNK); in mrvl_sip_smc_handler() 55 SMC_RET1(handle, ret); in mrvl_sip_smc_handler() 59 SMC_RET1(handle, ret); in mrvl_sip_smc_handler() 63 SMC_RET1(handle, ret); in mrvl_sip_smc_handler() 68 SMC_RET1(handle, ret); in mrvl_sip_smc_handler() 72 SMC_RET1(handle, SMC_UNK); in mrvl_sip_smc_handler()
|
| /rk3399_ARM-atf/plat/mediatek/mt8173/ |
| H A D | plat_sip_calls.c | 84 SMC_RET1(handle, ret); in mediatek_plat_sip_handler() 88 SMC_RET1(handle, ret); in mediatek_plat_sip_handler() 92 SMC_RET1(handle, ret); in mediatek_plat_sip_handler() 96 SMC_RET1(handle, ret); in mediatek_plat_sip_handler() 100 SMC_RET1(handle, ret); in mediatek_plat_sip_handler() 104 SMC_RET1(handle, ret); in mediatek_plat_sip_handler() 114 SMC_RET1(handle, SMC_UNK); in mediatek_plat_sip_handler()
|
| /rk3399_ARM-atf/plat/arm/common/ |
| H A D | plat_arm_sip_svc.c | 35 SMC_RET1(handle, SMC_UNK); in plat_protect_memory() 42 SMC_RET1(handle, SMC_INVALID_PARAM); in plat_protect_memory() 48 SMC_RET1(handle, SMC_INVALID_PARAM); in plat_protect_memory() 79 SMC_RET1(handle, SMC_OK); in plat_protect_memory() 102 SMC_RET1(handle, SMC_UNK); in plat_arm_sip_handler() 108 SMC_RET1(handle, SMC_OK); in plat_arm_sip_handler() 129 SMC_RET1(handle, SMC_UNK); in plat_arm_sip_handler()
|
| /rk3399_ARM-atf/services/std_svc/spm/spm_mm/ |
| H A D | spm_mm_main.c | 218 SMC_RET1(handle, SPM_MM_INVALID_PARAMETER); in mm_communicate() 223 SMC_RET1(handle, SPM_MM_INVALID_PARAMETER); in mm_communicate() 259 SMC_RET1(handle, rc); in mm_communicate() 280 SMC_RET1(handle, SMC_UNK); in spm_mm_tpm_start_handler() 292 SMC_RET1(handle, SMC_UNK); in spm_mm_tpm_start_handler() 334 SMC_RET1(handle, SPM_MM_VERSION_COMPILED); in spm_mm_smc_handler() 344 SMC_RET1(handle, SPM_MM_NOT_SUPPORTED); in spm_mm_smc_handler() 353 SMC_RET1(handle, ret); in spm_mm_smc_handler() 363 SMC_RET1(handle, SPM_MM_NOT_SUPPORTED); in spm_mm_smc_handler() 365 SMC_RET1(handle, in spm_mm_smc_handler() [all …]
|
| /rk3399_ARM-atf/services/std_svc/drtm/ |
| H A D | drtm_main.c | 636 SMC_RET1(handle, ret); in drtm_dynamic_launch() 645 SMC_RET1(handle, ret); in drtm_dynamic_launch() 650 SMC_RET1(handle, ret); in drtm_dynamic_launch() 656 SMC_RET1(handle, DENIED); in drtm_dynamic_launch() 668 SMC_RET1(handle, ret); in drtm_dynamic_launch() 726 SMC_RET1(handle, ret); in drtm_dynamic_launch() 740 SMC_RET1(handle, NOT_SUPPORTED); in drtm_smc_handler() 747 SMC_RET1(handle, ARM_DRTM_VERSION); in drtm_smc_handler() 756 SMC_RET1(handle, SUCCESS); in drtm_smc_handler() 760 SMC_RET1(handle, SUCCESS); in drtm_smc_handler() [all …]
|
| H A D | drtm_remediation.c | 24 SMC_RET1(ctx, NOT_FOUND); in drtm_set_error() 27 SMC_RET1(ctx, SUCCESS); in drtm_set_error() 38 SMC_RET1(ctx, NOT_FOUND); in drtm_get_error()
|
| /rk3399_ARM-atf/services/std_svc/lfa/ |
| H A D | lfa_main.c | 281 SMC_RET1(handle, LFA_VERSION_VAL); in lfa_smc_handler() 285 SMC_RET1(handle, is_lfa_fid(x1) ? LFA_SUCCESS : LFA_NOT_SUPPORTED); in lfa_smc_handler() 296 SMC_RET1(handle, LFA_INVALID_PARAMETERS); in lfa_smc_handler() 302 SMC_RET1(handle, LFA_WRONG_STATE); in lfa_smc_handler() 310 SMC_RET1(handle, LFA_INVALID_PARAMETERS); in lfa_smc_handler() 351 SMC_RET1(handle, LFA_BUSY); in lfa_smc_handler() 359 SMC_RET1(handle, ret); in lfa_smc_handler() 374 SMC_RET1(handle, ret); in lfa_smc_handler() 379 SMC_RET1(handle, SMC_UNK); in lfa_smc_handler() 384 SMC_RET1(handle, SMC_UNK); in lfa_smc_handler()
|
| /rk3399_ARM-atf/services/oem/chromeos/ |
| H A D | widevine_smc_handlers.c | 50 SMC_RET1(handle, PSCI_E_ALREADY_ON); in cros_write_data() 54 SMC_RET1(handle, PSCI_E_INVALID_PARAMS); in cros_write_data() 67 SMC_RET1(handle, PSCI_E_INVALID_ADDRESS); in cros_write_data() 74 SMC_RET1(handle, SMC_OK); in cros_write_data() 92 SMC_RET1(handle, SMC_UNK); in cros_oem_svc_smc_handler()
|
| /rk3399_ARM-atf/plat/intel/soc/common/ |
| H A D | socfpga_sip_svc.c | 58 SMC_RET1(handle, SMC_UNK); in socfpga_sip_handler() 966 SMC_RET1(handle, ret_args[0]); 1042 SMC_RET1(handle, INTEL_SIP_SMC_STATUS_ERROR); 1162 SMC_RET1(handle, status); 1177 SMC_RET1(handle, status); 1192 SMC_RET1(handle, status); 1207 SMC_RET1(handle, status); 1231 SMC_RET1(handle, status); 1244 SMC_RET1(handle, status); 1252 SMC_RET1(handle, status); [all …]
|
| /rk3399_ARM-atf/plat/rockchip/rk3399/ |
| H A D | plat_sip_calls.c | 65 SMC_RET1(handle, ddr_smc_handler(x1, x2, x3, x4)); in rockchip_plat_sip_handler() 68 SMC_RET1(handle, dp_hdcp_ctrl(x1)); in rockchip_plat_sip_handler() 72 SMC_RET1(handle, dp_hdcp_store_key(x1, x2, x3, x4, x5, x6)); in rockchip_plat_sip_handler() 76 SMC_RET1(handle, SMC_UNK); in rockchip_plat_sip_handler()
|
| /rk3399_ARM-atf/services/std_svc/ |
| H A D | pci_svc.c | 65 SMC_RET1(handle, SMC_PCI_CALL_SUCCESS); in pci_smc_handler() 67 SMC_RET1(handle, SMC_PCI_CALL_NOT_SUPPORTED); in pci_smc_handler() 90 SMC_RET1(handle, SMC_PCI_CALL_INVAL_PARAM); in pci_smc_handler() 93 SMC_RET1(handle, ret); in pci_smc_handler() 111 SMC_RET1(handle, SMC_PCI_CALL_NOT_SUPPORTED); in pci_smc_handler()
|
| /rk3399_ARM-atf/plat/qemu/qemu_sbsa/ |
| H A D | sbsa_sip_svc.c | 55 SMC_RET1(handle, SMC_UNK); in sbsa_sip_smc_handler() 82 SMC_RET1(handle, SMC_ARCH_CALL_INVAL_PARAM); in sbsa_sip_smc_handler() 96 SMC_RET1(handle, SMC_UNK); in sbsa_sip_smc_handler() 113 SMC_RET1(handle, SMC_ARCH_CALL_INVAL_PARAM); in sbsa_sip_smc_handler() 119 SMC_RET1(handle, SMC_UNK); in sbsa_sip_smc_handler()
|
| /rk3399_ARM-atf/plat/mediatek/mt8173/drivers/wdt/ |
| H A D | wdt.c | 104 SMC_RET1(handle, ret); in wdt_smc_handler() 107 SMC_RET1(handle, PSCI_E_SUCCESS); in wdt_smc_handler() 110 SMC_RET1(handle, PSCI_E_SUCCESS); in wdt_smc_handler() 113 SMC_RET1(handle, PSCI_E_NOT_SUPPORTED); in wdt_smc_handler()
|
| /rk3399_ARM-atf/services/spd/tspd/ |
| H A D | tspd_main.c | 88 SMC_RET1(ns_cpu_context, SMC_PREEMPTED); in tspd_handle_sp_preemption() 370 SMC_RET1(handle, SMC_UNK); in tspd_smc_handler() 382 SMC_RET1(handle, SMC_UNK); in tspd_smc_handler() 425 SMC_RET1(ns_cpu_context, SMC_PREEMPTED); in tspd_smc_handler() 440 SMC_RET1(handle, SMC_UNK); in tspd_smc_handler() 548 SMC_RET1(handle, SMC_UNK); in tspd_smc_handler() 594 SMC_RET1(handle, SMC_UNK); in tspd_smc_handler() 715 SMC_RET1(handle, SMC_OK); in tspd_smc_handler() 737 SMC_RET1(handle, SMC_UNK); in tspd_smc_handler() 777 SMC_RET1(handle, SMC_UNK); in tspd_smc_handler() [all …]
|
| /rk3399_ARM-atf/plat/mediatek/mt8186/ |
| H A D | plat_sip_calls.c | 36 SMC_RET1(handle, ret); in mediatek_plat_sip_handler() 41 SMC_RET1(handle, ret); in mediatek_plat_sip_handler() 48 SMC_RET1(handle, SMC_UNK); in mediatek_plat_sip_handler()
|
| /rk3399_ARM-atf/services/std_svc/errata_abi/ |
| H A D | errata_abi_main.c | 236 SMC_RET1(handle, MAKE_SMCCC_VERSION( in errata_abi_smc_handler() 242 SMC_RET1(handle, EM_SUCCESS); in errata_abi_smc_handler() 245 SMC_RET1(handle, EM_NOT_SUPPORTED); in errata_abi_smc_handler() 255 SMC_RET1(handle, EM_INVALID_PARAMETERS); in errata_abi_smc_handler() 258 SMC_RET1(handle, ret_id); in errata_abi_smc_handler() 263 SMC_RET1(handle, EM_UNKNOWN_ERRATUM); in errata_abi_smc_handler()
|