Home
last modified time | relevance | path

Searched refs:SMC_RET1 (Results 1 – 25 of 52) sorted by relevance

123

/trusted-firmware-a/plat/xilinx/zynqmp/pm_service/
A Dpm_svc_main.c270 SMC_RET1(handle, SMC_UNK); in pm_smc_handler()
282 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler()
287 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler()
298 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler()
303 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler()
307 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler()
311 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler()
315 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler()
319 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler()
639 SMC_RET1(handle, SMC_UNK); in pm_smc_handler()
[all …]
/trusted-firmware-a/plat/xilinx/versal/pm_service/
A Dpm_svc_main.c142 SMC_RET1(handle, SMC_UNK); in pm_smc_handler()
162 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler()
166 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler()
171 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler()
175 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler()
179 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler()
184 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler()
189 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler()
194 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler()
198 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler()
[all …]
/trusted-firmware-a/plat/marvell/armada/common/
A Dmrvl_sip_svc.c93 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()
145 SMC_RET1(handle, 0); in mrvl_sip_smc_handler()
[all …]
/trusted-firmware-a/services/std_svc/trng/
A Dtrng_main.c29 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 …]
/trusted-firmware-a/plat/xilinx/common/ipi_mailbox_service/
A Dipi_mailbox_svc.c86 SMC_RET1(handle, ret); in ipi_smc_handler()
91 SMC_RET1(handle, 0); in ipi_smc_handler()
94 SMC_RET1(handle, 0); in ipi_smc_handler()
103 SMC_RET1(handle, ret); in ipi_smc_handler()
111 SMC_RET1(handle, 0); in ipi_smc_handler()
121 SMC_RET1(handle, 0); in ipi_smc_handler()
125 SMC_RET1(handle, 0); in ipi_smc_handler()
128 SMC_RET1(handle, 0); in ipi_smc_handler()
131 SMC_RET1(handle, SMC_UNK); in ipi_smc_handler()
/trusted-firmware-a/plat/nvidia/tegra/common/
A Dtegra_sip_calls.c48 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()
/trusted-firmware-a/plat/amlogic/common/
A Daml_sip_svc.c57 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()
/trusted-firmware-a/plat/imx/common/
A Dimx_sip_svc.c30 SMC_RET1(handle, imx_kernel_entry_handler(smc_fid, x1, x2, x3, x4)); in imx_sip_handler()
34 SMC_RET1(handle, imx_soc_info_handler(smc_fid, x1, x2, x3)); in imx_sip_handler()
41 SMC_RET1(handle, imx_cpufreq_handler(smc_fid, x1, x2, x3)); in imx_sip_handler()
44 SMC_RET1(handle, imx_wakeup_src_handler(smc_fid, x1, x2, x3)); in imx_sip_handler()
49 SMC_RET1(handle, imx_misc_set_temp_handler(smc_fid, x1, x2, x3, x4)); in imx_sip_handler()
53 SMC_RET1(handle, imx_src_handler(smc_fid, x1, x2, x3, handle)); in imx_sip_handler()
57 SMC_RET1(handle, imx_buildinfo_handler(smc_fid, x1, x2, x3, x4)); in imx_sip_handler()
60 SMC_RET1(handle, SMC_UNK); in imx_sip_handler()
/trusted-firmware-a/services/spd/tlkd/
A Dtlkd_main.c217 SMC_RET1(handle, SMC_UNK); in tlkd_smc_handler()
231 SMC_RET1(handle, SMC_UNK); in tlkd_smc_handler()
280 SMC_RET1(handle, SMC_UNK); in tlkd_smc_handler()
297 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()
407 SMC_RET1(handle, SMC_UNK); in tlkd_smc_handler()
438 SMC_RET1(handle, SMC_UNK); in tlkd_smc_handler()
456 SMC_RET1(handle, SMC_UNK); in tlkd_smc_handler()
[all …]
/trusted-firmware-a/plat/nxp/common/sip_svc/
A Dsip_svc.c36 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 …]
/trusted-firmware-a/plat/marvell/armada/a3k/common/
A Da3700_sip_svc.c46 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()
/trusted-firmware-a/plat/mediatek/mt8173/
A Dplat_sip_calls.c84 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()
/trusted-firmware-a/services/std_svc/spm_mm/
A Dspm_mm_main.c225 SMC_RET1(handle, SPM_MM_INVALID_PARAMETER); in mm_communicate()
230 SMC_RET1(handle, SPM_MM_INVALID_PARAMETER); in mm_communicate()
266 SMC_RET1(handle, rc); in mm_communicate()
298 SMC_RET1(handle, SPM_MM_VERSION_COMPILED); in spm_mm_smc_handler()
308 SMC_RET1(handle, SPM_MM_NOT_SUPPORTED); in spm_mm_smc_handler()
310 SMC_RET1(handle, in spm_mm_smc_handler()
319 SMC_RET1(handle, SPM_MM_NOT_SUPPORTED); in spm_mm_smc_handler()
321 SMC_RET1(handle, in spm_mm_smc_handler()
336 SMC_RET1(handle, MM_VERSION_COMPILED); in spm_mm_smc_handler()
345 SMC_RET1(handle, SPM_MM_NOT_SUPPORTED); in spm_mm_smc_handler()
[all …]
/trusted-firmware-a/drivers/arm/ethosn/
A Dethosn_smc.c128 SMC_RET1(handle, SMC_UNK); in ethosn_smc_handler()
140 SMC_RET1(handle, SMC_UNK); in ethosn_smc_handler()
151 SMC_RET1(handle, ETHOSN_UNKNOWN_CORE_ADDRESS); in ethosn_smc_handler()
157 SMC_RET1(handle, ethosn_is_sec(core_addr)); in ethosn_smc_handler()
163 SMC_RET1(handle, ETHOSN_FAILURE); in ethosn_smc_handler()
166 SMC_RET1(handle, ETHOSN_SUCCESS); in ethosn_smc_handler()
168 SMC_RET1(handle, SMC_UNK); in ethosn_smc_handler()
/trusted-firmware-a/services/spd/tspd/
A Dtspd_main.c88 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()
440 SMC_RET1(handle, SMC_UNK); in tspd_smc_handler()
548 SMC_RET1(handle, SMC_UNK); in tspd_smc_handler()
584 SMC_RET1(handle, SMC_UNK); in tspd_smc_handler()
705 SMC_RET1(handle, SMC_OK); in tspd_smc_handler()
727 SMC_RET1(handle, SMC_UNK); in tspd_smc_handler()
767 SMC_RET1(handle, SMC_UNK); in tspd_smc_handler()
777 SMC_RET1(handle, TSP_NUM_FID); in tspd_smc_handler()
[all …]
/trusted-firmware-a/services/std_svc/
A Dpci_svc.c65 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()
/trusted-firmware-a/plat/rockchip/rk3399/
A Dplat_sip_calls.c65 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()
/trusted-firmware-a/plat/mediatek/mt8173/drivers/wdt/
A Dwdt.c104 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()
/trusted-firmware-a/services/std_svc/sdei/
A Dsdei_main.c979 SMC_RET1(ctx, ret); in sdei_smc_handler()
987 SMC_RET1(ctx, ret); in sdei_smc_handler()
993 SMC_RET1(ctx, ret); in sdei_smc_handler()
999 SMC_RET1(ctx, ret); in sdei_smc_handler()
1005 SMC_RET1(ctx, ret); in sdei_smc_handler()
1033 SMC_RET1(ctx, ret); in sdei_smc_handler()
1039 SMC_RET1(ctx, ret); in sdei_smc_handler()
1045 SMC_RET1(ctx, ret); in sdei_smc_handler()
1051 SMC_RET1(ctx, 0); in sdei_smc_handler()
1057 SMC_RET1(ctx, ret); in sdei_smc_handler()
[all …]
/trusted-firmware-a/plat/arm/common/
A Darm_sip_svc.c91 SMC_RET1(handle, STATE_SW_E_DENIED); in arm_sip_handler()
101 SMC_RET1(handle, STATE_SW_E_DENIED); in arm_sip_handler()
117 SMC_RET1(handle, call_count); in arm_sip_handler()
129 SMC_RET1(handle, SMC_UNK); in arm_sip_handler()
/trusted-firmware-a/services/arm_arch_svc/
A Darm_arch_svc_setup.c121 SMC_RET1(handle, smccc_version()); in arm_arch_svc_smc_handler()
123 SMC_RET1(handle, smccc_arch_features(x1)); in arm_arch_svc_smc_handler()
125 SMC_RET1(handle, smccc_arch_id(x1)); in arm_arch_svc_smc_handler()
158 SMC_RET1(handle, SMC_UNK); in arm_arch_svc_smc_handler()
/trusted-firmware-a/plat/mediatek/common/custom/
A Doem_svc.c47 SMC_RET1(handle, SMC_UNK); in oem_smc_handler()
76 SMC_RET1(handle, OEM_SVC_NUM_CALLS); in oem_svc_smc_handler()
88 SMC_RET1(handle, SMC_UNK); in oem_svc_smc_handler()
/trusted-firmware-a/plat/rockchip/common/
A Drockchip_sip_svc.c33 SMC_RET1(handle, SMC_UNK); in rockchip_plat_sip_handler()
53 SMC_RET1(handle, SMC_UNK); in sip_smc_handler()
58 SMC_RET1(handle, in sip_smc_handler()
/trusted-firmware-a/services/spd/trusty/
A Dgeneric-arm64-smcall.c94 SMC_RET1(handle, 0); in trusty_generic_platform_smc()
98 SMC_RET1(handle, trusty_get_reg_base(x1)); in trusty_generic_platform_smc()
102 SMC_RET1(handle, SMC_UNK); in trusty_generic_platform_smc()
/trusted-firmware-a/services/std_svc/rmmd/
A Drmmd_main.c231 SMC_RET1(handle, SMC_UNK); in rmmd_rmi_handler()
258 SMC_RET1(handle, SMC_UNK); in rmmd_rmi_handler()
333 SMC_RET1(handle, SMC_UNK); in rmmd_gtsi_handler()
338 SMC_RET1(handle, gtsi_transition_granule(x1, SMC_FROM_REALM, in rmmd_gtsi_handler()
341 SMC_RET1(handle, gtsi_transition_granule(x1, SMC_FROM_REALM, in rmmd_gtsi_handler()
345 SMC_RET1(handle, SMC_UNK); in rmmd_gtsi_handler()

Completed in 31 milliseconds

123