Home
last modified time | relevance | path

Searched refs:smc_fid (Results 1 – 25 of 62) sorted by relevance

123

/external/arm-trusted-firmware/plat/imx/common/
Dimx_sip_svc.c19 static uintptr_t imx_sip_handler(unsigned int smc_fid, in imx_sip_handler() argument
28 switch (smc_fid) { in imx_sip_handler()
31 SMC_RET1(handle, imx_soc_info_handler(smc_fid, x1, x2, x3)); in imx_sip_handler()
36 return imx_srtc_handler(smc_fid, handle, x1, x2, x3, x4); in imx_sip_handler()
38 SMC_RET1(handle, imx_cpufreq_handler(smc_fid, x1, x2, x3)); in imx_sip_handler()
41 SMC_RET1(handle, imx_wakeup_src_handler(smc_fid, x1, x2, x3)); in imx_sip_handler()
44 return imx_otp_handler(smc_fid, handle, x1, x2); in imx_sip_handler()
46 SMC_RET1(handle, imx_misc_set_temp_handler(smc_fid, x1, x2, x3, x4)); in imx_sip_handler()
49 SMC_RET1(handle, imx_buildinfo_handler(smc_fid, x1, x2, x3, x4)); in imx_sip_handler()
51 WARN("Unimplemented i.MX SiP Service Call: 0x%x\n", smc_fid); in imx_sip_handler()
Dimx_sip_handler.c35 int imx_srtc_handler(uint32_t smc_fid, in imx_srtc_handler() argument
67 int imx_cpufreq_handler(uint32_t smc_fid, in imx_cpufreq_handler() argument
90 int imx_wakeup_src_handler(uint32_t smc_fid, in imx_wakeup_src_handler() argument
109 int imx_otp_handler(uint32_t smc_fid, in imx_otp_handler() argument
117 switch (smc_fid) { in imx_otp_handler()
135 int imx_misc_set_temp_handler(uint32_t smc_fid, in imx_misc_set_temp_handler() argument
170 uint64_t imx_buildinfo_handler(uint32_t smc_fid, in imx_buildinfo_handler() argument
/external/arm-trusted-firmware/services/std_svc/
Dstd_svc_setup.c66 static uintptr_t std_svc_smc_handler(uint32_t smc_fid, in std_svc_smc_handler() argument
79 if (is_psci_fid(smc_fid)) { in std_svc_smc_handler()
94 ret = psci_smc_handler(smc_fid, x1, x2, x3, x4, in std_svc_smc_handler()
111 if (is_spm_mm_fid(smc_fid)) { in std_svc_smc_handler()
112 return spm_mm_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in std_svc_smc_handler()
118 if (is_sdei_fid(smc_fid)) { in std_svc_smc_handler()
119 return sdei_smc_handler(smc_fid, x1, x2, x3, x4, cookie, handle, in std_svc_smc_handler()
124 switch (smc_fid) { in std_svc_smc_handler()
141 WARN("Unimplemented Standard Service Call: 0x%x \n", smc_fid); in std_svc_smc_handler()
/external/arm-trusted-firmware/plat/mediatek/common/
Dmtk_sip_svc.c25 uintptr_t mediatek_plat_sip_handler(uint32_t smc_fid, in mediatek_plat_sip_handler() argument
34 ERROR("%s: unhandled SMC (0x%x)\n", __func__, smc_fid); in mediatek_plat_sip_handler()
40 uintptr_t mediatek_sip_handler(uint32_t smc_fid, in mediatek_sip_handler() argument
52 clean_top_32b_of_param(smc_fid, &x1, &x2, &x3, &x4); in mediatek_sip_handler()
61 switch (smc_fid) { in mediatek_sip_handler()
83 return mediatek_plat_sip_handler(smc_fid, x1, x2, x3, x4, in mediatek_sip_handler()
91 uintptr_t sip_smc_handler(uint32_t smc_fid, in sip_smc_handler() argument
100 switch (smc_fid) { in sip_smc_handler()
116 return mediatek_sip_handler(smc_fid, x1, x2, x3, x4, in sip_smc_handler()
/external/arm-trusted-firmware/plat/arm/common/
Darm_sip_svc.c42 static uintptr_t arm_sip_handler(unsigned int smc_fid, in arm_sip_handler() argument
57 if (is_pmf_fid(smc_fid)) { in arm_sip_handler()
58 return pmf_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in arm_sip_handler()
64 if (is_debugfs_fid(smc_fid)) { in arm_sip_handler()
65 return debugfs_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in arm_sip_handler()
71 switch (smc_fid) { in arm_sip_handler()
82 return (uintptr_t) arm_execution_state_switch(smc_fid, in arm_sip_handler()
109 WARN("Unimplemented ARM SiP Service Call: 0x%x \n", smc_fid); in arm_sip_handler()
/external/arm-trusted-firmware/plat/mediatek/common/custom/
Doem_svc.c37 uintptr_t oem_smc_handler(uint32_t smc_fid, in oem_smc_handler() argument
46 WARN("Unimplemented OEM Call: 0x%x\n", smc_fid); in oem_smc_handler()
54 uintptr_t oem_svc_smc_handler(uint32_t smc_fid, in oem_svc_smc_handler() argument
66 if (is_oem_fid(smc_fid)) { in oem_svc_smc_handler()
67 return oem_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in oem_svc_smc_handler()
71 switch (smc_fid) { in oem_svc_smc_handler()
87 WARN("Unimplemented OEM Service Call: 0x%x\n", smc_fid); in oem_svc_smc_handler()
/external/arm-trusted-firmware/plat/xilinx/versal/
Dsip_svc_setup.c56 uintptr_t sip_svc_smc_handler(uint32_t smc_fid, in sip_svc_smc_handler() argument
66 if (is_pm_fid(smc_fid)) { in sip_svc_smc_handler()
67 return pm_smc_handler(smc_fid, x1, x2, x3, x4, cookie, handle, in sip_svc_smc_handler()
72 if (is_ipi_fid(smc_fid)) { in sip_svc_smc_handler()
73 return ipi_smc_handler(smc_fid, x1, x2, x3, x4, cookie, handle, in sip_svc_smc_handler()
78 switch (smc_fid) { in sip_svc_smc_handler()
90 WARN("Unimplemented SiP Service Call: 0x%x\n", smc_fid); in sip_svc_smc_handler()
/external/arm-trusted-firmware/plat/xilinx/zynqmp/
Dsip_svc_setup.c55 uintptr_t sip_svc_smc_handler(uint32_t smc_fid, in sip_svc_smc_handler() argument
65 if (is_pm_fid(smc_fid)) { in sip_svc_smc_handler()
66 return pm_smc_handler(smc_fid, x1, x2, x3, x4, cookie, handle, in sip_svc_smc_handler()
71 if (is_ipi_fid(smc_fid)) { in sip_svc_smc_handler()
72 return ipi_smc_handler(smc_fid, x1, x2, x3, x4, cookie, handle, in sip_svc_smc_handler()
76 switch (smc_fid) { in sip_svc_smc_handler()
88 WARN("Unimplemented SiP Service Call: 0x%x\n", smc_fid); in sip_svc_smc_handler()
/external/arm-trusted-firmware/plat/imx/common/include/
Dimx_sip_svc.h32 int imx_soc_info_handler(uint32_t smc_fid, u_register_t x1,
37 int imx_cpufreq_handler(uint32_t smc_fid, u_register_t x1,
39 int imx_srtc_handler(uint32_t smc_fid, void *handle, u_register_t x1,
41 int imx_wakeup_src_handler(uint32_t smc_fid, u_register_t x1,
43 int imx_otp_handler(uint32_t smc_fid, void *handle,
45 int imx_misc_set_temp_handler(uint32_t smc_fid, u_register_t x1,
49 uint64_t imx_buildinfo_handler(uint32_t smc_fid, u_register_t x1,
/external/arm-trusted-firmware/plat/marvell/a3700/common/
Da3700_sip_svc.c29 uintptr_t mrvl_sip_smc_handler(uint32_t smc_fid, in mrvl_sip_smc_handler() argument
41 __func__, smc_fid, x1, x2); in mrvl_sip_smc_handler()
42 if (is_comphy_fid(smc_fid)) { in mrvl_sip_smc_handler()
45 __func__, smc_fid, x2); in mrvl_sip_smc_handler()
50 switch (smc_fid) { in mrvl_sip_smc_handler()
71 ERROR("%s: unhandled SMC (0x%x)\n", __func__, smc_fid); in mrvl_sip_smc_handler()
/external/arm-trusted-firmware/plat/marvell/common/
Dmrvl_sip_svc.c61 uintptr_t mrvl_sip_smc_handler(uint32_t smc_fid, in mrvl_sip_smc_handler() argument
74 __func__, smc_fid, x1, x2, x3); in mrvl_sip_smc_handler()
76 if (is_comphy_fid(smc_fid)) { in mrvl_sip_smc_handler()
80 __func__, smc_fid, x1); in mrvl_sip_smc_handler()
88 __func__, smc_fid, x2); in mrvl_sip_smc_handler()
93 switch (smc_fid) { in mrvl_sip_smc_handler()
136 ERROR("%s: unhandled SMC (0x%x)\n", __func__, smc_fid); in mrvl_sip_smc_handler()
/external/arm-trusted-firmware/plat/hisilicon/hikey/
Dhisi_sip_svc.c31 static uintptr_t hisi_sip_handler(unsigned int smc_fid, in hisi_sip_handler() argument
46 if (is_pmf_fid(smc_fid)) { in hisi_sip_handler()
47 return pmf_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in hisi_sip_handler()
51 switch (smc_fid) { in hisi_sip_handler()
70 WARN("Unimplemented HISI SiP Service Call: 0x%x \n", smc_fid); in hisi_sip_handler()
/external/arm-trusted-firmware/lib/pmf/
Dpmf_smc.c17 uintptr_t pmf_smc_handler(unsigned int smc_fid, in pmf_smc_handler() argument
29 if (((smc_fid >> FUNCID_CC_SHIFT) & FUNCID_CC_MASK) == SMC_32) { in pmf_smc_handler()
35 if (smc_fid == PMF_SMC_GET_TIMESTAMP_32) { in pmf_smc_handler()
48 if (smc_fid == PMF_SMC_GET_TIMESTAMP_64) { in pmf_smc_handler()
61 WARN("Unimplemented PMF Call: 0x%x \n", smc_fid); in pmf_smc_handler()
/external/arm-trusted-firmware/plat/nvidia/tegra/common/
Dtegra_sip_calls.c32 int32_t plat_sip_handler(uint32_t smc_fid, in plat_sip_handler() argument
42 (void)smc_fid; in plat_sip_handler()
57 uintptr_t tegra_sip_handler(uint32_t smc_fid, in tegra_sip_handler() argument
70 err = plat_sip_handler(smc_fid, x1, x2, x3, x4, cookie, handle, flags); in tegra_sip_handler()
77 switch (smc_fid) { in tegra_sip_handler()
160 ERROR("%s: unhandled SMC (0x%x)\n", __func__, smc_fid); in tegra_sip_handler()
/external/arm-trusted-firmware/plat/rockchip/common/
Drockchip_sip_svc.c23 uintptr_t rockchip_plat_sip_handler(uint32_t smc_fid, in rockchip_plat_sip_handler() argument
32 ERROR("%s: unhandled SMC (0x%x)\n", __func__, smc_fid); in rockchip_plat_sip_handler()
39 uintptr_t sip_smc_handler(uint32_t smc_fid, in sip_smc_handler() argument
55 switch (smc_fid) { in sip_smc_handler()
71 return rockchip_plat_sip_handler(smc_fid, x1, x2, x3, x4, in sip_smc_handler()
/external/arm-trusted-firmware/bl1/
Dbl1_main.c229 register_t bl1_smc_handler(unsigned int smc_fid, in bl1_smc_handler() argument
244 if (is_fwu_fid(smc_fid)) { in bl1_smc_handler()
245 return bl1_fwu_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in bl1_smc_handler()
250 switch (smc_fid) { in bl1_smc_handler()
264 WARN("Unimplemented BL1 SMC Call: 0x%x \n", smc_fid); in bl1_smc_handler()
272 register_t bl1_smc_wrapper(uint32_t smc_fid, in bl1_smc_wrapper() argument
282 return bl1_smc_handler(smc_fid, x1, x2, x3, x4, cookie, handle, flags); in bl1_smc_wrapper()
/external/arm-trusted-firmware/services/std_svc/spm_mm/
Dspm_mm_main.c187 uint64_t spm_mm_sp_call(uint32_t smc_fid, uint64_t x1, uint64_t x2, uint64_t x3) in spm_mm_sp_call() argument
198 write_ctx_reg(get_gpregs_ctx(cpu_ctx), CTX_GPREG_X0, smc_fid); in spm_mm_sp_call()
216 static uint64_t mm_communicate(uint32_t smc_fid, uint64_t mm_cookie, in mm_communicate() argument
253 rc = spm_mm_sp_call(smc_fid, comm_buffer_address, comm_size_address, in mm_communicate()
272 uint64_t spm_mm_smc_handler(uint32_t smc_fid, in spm_mm_smc_handler() argument
295 switch (smc_fid) { in spm_mm_smc_handler()
333 switch (smc_fid) { in spm_mm_smc_handler()
340 return mm_communicate(smc_fid, x1, x2, x3, handle); in spm_mm_smc_handler()
/external/arm-trusted-firmware/plat/xilinx/common/ipi_mailbox_service/
Dipi_mailbox_svc.c66 uint64_t ipi_smc_handler(uint32_t smc_fid, uint64_t x1, uint64_t x2, in ipi_smc_handler() argument
78 if (SMC_ENTITY(smc_fid) >= SMC_ENTITY_TRUSTED_APP) in ipi_smc_handler()
88 switch (SMC_FUNCTION(smc_fid)) { in ipi_smc_handler()
130 WARN("Unimplemented IPI service call: 0x%x\n", smc_fid); in ipi_smc_handler()
/external/arm-trusted-firmware/plat/nvidia/tegra/soc/t132/
Dplat_sip_calls.c36 int plat_sip_handler(uint32_t smc_fid, in plat_sip_handler() argument
45 switch (smc_fid) { in plat_sip_handler()
70 ERROR("%s: unhandled SMC (0x%x)\n", __func__, smc_fid); in plat_sip_handler()
/external/arm-trusted-firmware/services/spd/tlkd/
Dtlkd_main.c138 static uintptr_t tlkd_smc_handler(uint32_t smc_fid, in tlkd_smc_handler() argument
162 switch (smc_fid) { in tlkd_smc_handler()
232 if (smc_fid == TLK_RESUME_FID) { in tlkd_smc_handler()
272 SMC_RET4(&tlk_ctx.cpu_ctx, smc_fid, 0, (uint32_t)x1, in tlkd_smc_handler()
407 WARN("%s: Unhandled SMC: 0x%x\n", __func__, smc_fid); in tlkd_smc_handler()
/external/arm-trusted-firmware/services/arm_arch_svc/
Darm_arch_svc_setup.c84 static uintptr_t arm_arch_svc_smc_handler(uint32_t smc_fid, in arm_arch_svc_smc_handler() argument
93 switch (smc_fid) { in arm_arch_svc_smc_handler()
119 smc_fid); in arm_arch_svc_smc_handler()
/external/arm-trusted-firmware/lib/debugfs/
Ddebugfs_smc.c62 uintptr_t debugfs_smc_handler(unsigned int smc_fid, in debugfs_smc_handler() argument
80 if ((GET_SMC_TYPE(smc_fid) != SMC_TYPE_FAST) || in debugfs_smc_handler()
81 (GET_SMC_OEN(smc_fid) != OEN_SIP_START)) { in debugfs_smc_handler()
86 if (GET_SMC_CC(smc_fid) == SMC_32) { in debugfs_smc_handler()
/external/arm-trusted-firmware/lib/psci/
Dpsci_main.c376 u_register_t psci_smc_handler(uint32_t smc_fid, in psci_smc_handler() argument
391 if ((psci_caps & define_psci_cap(smc_fid)) == 0U) in psci_smc_handler()
394 if (((smc_fid >> FUNCID_CC_SHIFT) & FUNCID_CC_MASK) == SMC_32) { in psci_smc_handler()
401 switch (smc_fid) { in psci_smc_handler()
479 WARN("Unimplemented PSCI Call: 0x%x\n", smc_fid); in psci_smc_handler()
486 switch (smc_fid) { in psci_smc_handler()
538 WARN("Unimplemented PSCI Call: 0x%x\n", smc_fid); in psci_smc_handler()
/external/arm-trusted-firmware/services/spd/trusty/
Dgeneric-arm64-smcall.c63 static uintptr_t trusty_generic_platform_smc(uint32_t smc_fid, in trusty_generic_platform_smc() argument
72 switch (smc_fid) { in trusty_generic_platform_smc()
82 NOTICE("%s(0x%x, 0x%lx) unknown smc\n", __func__, smc_fid, x1); in trusty_generic_platform_smc()
/external/arm-trusted-firmware/plat/rockchip/rk3399/
Dplat_sip_calls.c50 uintptr_t rockchip_plat_sip_handler(uint32_t smc_fid, in rockchip_plat_sip_handler() argument
63 switch (smc_fid) { in rockchip_plat_sip_handler()
75 ERROR("%s: unhandled SMC (0x%x)\n", __func__, smc_fid); in rockchip_plat_sip_handler()

123