Home
last modified time | relevance | path

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

12

/device/linaro/bootloader/arm-trusted-firmware/plat/mediatek/common/custom/
Doem_svc.c35 uint64_t oem_smc_handler(uint32_t smc_fid, in oem_smc_handler() argument
46 switch (smc_fid) { in oem_smc_handler()
49 WARN("Unimplemented OEM Call: 0x%x\n", smc_fid); in oem_smc_handler()
59 uint64_t oem_svc_smc_handler(uint32_t smc_fid, in oem_svc_smc_handler() argument
71 if (is_oem_fid(smc_fid)) { in oem_svc_smc_handler()
72 return oem_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in oem_svc_smc_handler()
76 switch (smc_fid) { in oem_svc_smc_handler()
92 WARN("Unimplemented OEM Service Call: 0x%x\n", smc_fid); in oem_svc_smc_handler()
/device/linaro/bootloader/arm-trusted-firmware/plat/mediatek/common/
Dmtk_sip_svc.c22 uint64_t mediatek_plat_sip_handler(uint32_t smc_fid, in mediatek_plat_sip_handler() argument
31 ERROR("%s: unhandled SMC (0x%x)\n", __func__, smc_fid); in mediatek_plat_sip_handler()
37 uint64_t mediatek_sip_handler(uint32_t smc_fid, in mediatek_sip_handler() argument
49 clean_top_32b_of_param(smc_fid, &x1, &x2, &x3, &x4); in mediatek_sip_handler()
58 switch (smc_fid) { in mediatek_sip_handler()
77 return mediatek_plat_sip_handler(smc_fid, x1, x2, x3, x4, in mediatek_sip_handler()
85 uint64_t sip_smc_handler(uint32_t smc_fid, in sip_smc_handler() argument
94 switch (smc_fid) { in sip_smc_handler()
110 return mediatek_sip_handler(smc_fid, x1, x2, x3, x4, in sip_smc_handler()
Dmtk_plat_common.c21 void clean_top_32b_of_param(uint32_t smc_fid, in clean_top_32b_of_param() argument
28 if (0 == (smc_fid & SMC_AARCH64_BIT)) { in clean_top_32b_of_param()
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/common/
Darm_sip_svc.c31 static uintptr_t arm_sip_handler(unsigned int smc_fid, in arm_sip_handler() argument
46 if (is_pmf_fid(smc_fid)) { in arm_sip_handler()
47 return pmf_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in arm_sip_handler()
51 switch (smc_fid) { in arm_sip_handler()
67 return arm_execution_state_switch(smc_fid, (uint32_t) x1, in arm_sip_handler()
90 WARN("Unimplemented ARM SiP Service Call: 0x%x \n", smc_fid); in arm_sip_handler()
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/hikey/
Dhisi_sip_svc.c30 static uintptr_t hisi_sip_handler(unsigned int smc_fid, in hisi_sip_handler() argument
45 if (is_pmf_fid(smc_fid)) { in hisi_sip_handler()
46 return pmf_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in hisi_sip_handler()
50 switch (smc_fid) { in hisi_sip_handler()
69 WARN("Unimplemented HISI SiP Service Call: 0x%x \n", smc_fid); in hisi_sip_handler()
/device/linaro/bootloader/arm-trusted-firmware/lib/pmf/
Dpmf_smc.c15 uintptr_t pmf_smc_handler(unsigned int smc_fid, in pmf_smc_handler() argument
27 if (((smc_fid >> FUNCID_CC_SHIFT) & FUNCID_CC_MASK) == SMC_32) { in pmf_smc_handler()
33 switch (smc_fid) { in pmf_smc_handler()
49 switch (smc_fid) { in pmf_smc_handler()
65 WARN("Unimplemented PMF Call: 0x%x \n", smc_fid); in pmf_smc_handler()
/device/linaro/bootloader/arm-trusted-firmware/plat/xilinx/zynqmp/
Dsip_svc_setup.c51 uint64_t sip_svc_smc_handler(uint32_t smc_fid, in sip_svc_smc_handler() argument
61 if (is_pm_fid(smc_fid)) { in sip_svc_smc_handler()
62 return pm_smc_handler(smc_fid, x1, x2, x3, x4, cookie, handle, in sip_svc_smc_handler()
66 switch (smc_fid) { in sip_svc_smc_handler()
78 WARN("Unimplemented SiP Service Call: 0x%x\n", smc_fid); in sip_svc_smc_handler()
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/common/
Drockchip_sip_svc.c21 uint64_t rockchip_plat_sip_handler(uint32_t smc_fid, in rockchip_plat_sip_handler() argument
30 ERROR("%s: unhandled SMC (0x%x)\n", __func__, smc_fid); in rockchip_plat_sip_handler()
37 uint64_t sip_smc_handler(uint32_t smc_fid, in sip_smc_handler() argument
53 switch (smc_fid) { in sip_smc_handler()
71 return rockchip_plat_sip_handler(smc_fid, x1, x2, x3, x4, in sip_smc_handler()
/device/linaro/bootloader/arm-trusted-firmware/services/std_svc/
Dstd_svc_setup.c43 uintptr_t std_svc_smc_handler(uint32_t smc_fid, in std_svc_smc_handler() argument
56 if (is_psci_fid(smc_fid)) { in std_svc_smc_handler()
71 ret = psci_smc_handler(smc_fid, x1, x2, x3, x4, in std_svc_smc_handler()
83 switch (smc_fid) { in std_svc_smc_handler()
100 WARN("Unimplemented Standard Service Call: 0x%x \n", smc_fid); in std_svc_smc_handler()
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/soc/t186/
Dplat_sip_calls.c56 int plat_sip_handler(uint32_t smc_fid, in plat_sip_handler() argument
69 if (((smc_fid >> FUNCID_CC_SHIFT) & FUNCID_CC_MASK) == SMC_32) { in plat_sip_handler()
80 smc_fid |= (SMC_64 << FUNCID_CC_SHIFT); in plat_sip_handler()
82 switch (smc_fid) { in plat_sip_handler()
107 smc_fid &= MCE_CMD_MASK; in plat_sip_handler()
110 mce_ret = mce_command_handler(smc_fid, x1, x2, x3); in plat_sip_handler()
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/common/
Dtegra_sip_calls.c37 int plat_sip_handler(uint32_t smc_fid, in plat_sip_handler() argument
52 uint64_t tegra_sip_handler(uint32_t smc_fid, in tegra_sip_handler() argument
65 err = plat_sip_handler(smc_fid, x1, x2, x3, x4, cookie, handle, flags); in tegra_sip_handler()
69 switch (smc_fid) { in tegra_sip_handler()
166 ERROR("%s: unhandled SMC (0x%x)\n", __func__, smc_fid); in tegra_sip_handler()
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/rk3368/
Dplat_sip_calls.c13 uint64_t rockchip_plat_sip_handler(uint32_t smc_fid, in rockchip_plat_sip_handler() argument
22 switch (smc_fid) { in rockchip_plat_sip_handler()
24 ERROR("%s: unhandled SMC (0x%x)\n", __func__, smc_fid); in rockchip_plat_sip_handler()
/device/linaro/bootloader/arm-trusted-firmware/bl1/
Dbl1_main.c244 register_t bl1_smc_handler(unsigned int smc_fid, in bl1_smc_handler() argument
259 if (is_fwu_fid(smc_fid)) { in bl1_smc_handler()
260 return bl1_fwu_smc_handler(smc_fid, x1, x2, x3, x4, cookie, in bl1_smc_handler()
265 switch (smc_fid) { in bl1_smc_handler()
279 WARN("Unimplemented BL1 SMC Call: 0x%x \n", smc_fid); in bl1_smc_handler()
287 register_t bl1_smc_wrapper(uint32_t smc_fid, in bl1_smc_wrapper() argument
297 return bl1_smc_handler(smc_fid, x1, x2, x3, x4, cookie, handle, flags); in bl1_smc_wrapper()
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/soc/t132/
Dplat_sip_calls.c34 int plat_sip_handler(uint32_t smc_fid, in plat_sip_handler() argument
43 switch (smc_fid) { in plat_sip_handler()
68 ERROR("%s: unhandled SMC (0x%x)\n", __func__, smc_fid); in plat_sip_handler()
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/rk3399/
Dplat_sip_calls.c49 uint64_t rockchip_plat_sip_handler(uint32_t smc_fid, in rockchip_plat_sip_handler() argument
60 switch (smc_fid) { in rockchip_plat_sip_handler()
70 ERROR("%s: unhandled SMC (0x%x)\n", __func__, smc_fid); in rockchip_plat_sip_handler()
/device/linaro/bootloader/arm-trusted-firmware/plat/mediatek/mt8173/
Dplat_sip_calls.c67 uint64_t mediatek_plat_sip_handler(uint32_t smc_fid, in mediatek_plat_sip_handler() argument
78 switch (smc_fid) { in mediatek_plat_sip_handler()
104 ERROR("%s: unhandled SMC (0x%x)\n", __func__, smc_fid); in mediatek_plat_sip_handler()
/device/linaro/bootloader/arm-trusted-firmware/lib/psci/
Dpsci_main.c339 u_register_t psci_smc_handler(uint32_t smc_fid, in psci_smc_handler() argument
352 if (!(psci_caps & define_psci_cap(smc_fid))) in psci_smc_handler()
355 if (((smc_fid >> FUNCID_CC_SHIFT) & FUNCID_CC_MASK) == SMC_32) { in psci_smc_handler()
362 switch (smc_fid) { in psci_smc_handler()
427 switch (smc_fid) { in psci_smc_handler()
469 WARN("Unimplemented PSCI Call: 0x%x \n", smc_fid); in psci_smc_handler()
/device/linaro/bootloader/arm-trusted-firmware/common/
Druntime_svc.c33 uintptr_t handle_runtime_svc(uint32_t smc_fid, in handle_runtime_svc() argument
44 idx = get_unique_oen_from_smc_fid(smc_fid); in handle_runtime_svc()
55 return rt_svc_descs[index].handle(smc_fid, x1, x2, x3, x4, cookie, in handle_runtime_svc()
/device/linaro/bootloader/arm-trusted-firmware/services/spd/tlkd/
Dtlkd_main.c136 uint64_t tlkd_smc_handler(uint32_t smc_fid, in tlkd_smc_handler() argument
160 switch (smc_fid) { in tlkd_smc_handler()
224 if (smc_fid == TLK_RESUME_FID) { in tlkd_smc_handler()
264 SMC_RET4(&tlk_ctx.cpu_ctx, smc_fid, 0, (uint32_t)x1, in tlkd_smc_handler()
/device/linaro/bootloader/arm-trusted-firmware/services/spd/opteed/
Dopteed_main.c190 uint64_t opteed_smc_handler(uint32_t smc_fid, in opteed_smc_handler() argument
237 if (GET_SMC_TYPE(smc_fid) == SMC_TYPE_FAST) { in opteed_smc_handler()
266 SMC_RET4(&optee_ctx->cpu_ctx, smc_fid, x1, x2, x3); in opteed_smc_handler()
273 switch (smc_fid) { in opteed_smc_handler()
/device/linaro/bootloader/arm-trusted-firmware/services/spd/trusty/
Dtrusty.c221 static uint64_t trusty_smc_handler(uint32_t smc_fid, in trusty_smc_handler() argument
239 if (!ep_info && (smc_fid == SMC_YC_SET_ROT_PARAMS)) { in trusty_smc_handler()
246 if (smc_fid == SMC_YC_NS_RETURN) { in trusty_smc_handler()
253 __func__, smc_fid, x1, x2, x3, x4, cookie, handle, flags, in trusty_smc_handler()
257 switch (smc_fid) { in trusty_smc_handler()
277 ret = trusty_context_switch(NON_SECURE, smc_fid, x1, in trusty_smc_handler()
/device/linaro/bootloader/arm-trusted-firmware/include/common/
Druntime_svc.h52 typedef uintptr_t (*rt_svc_handle_t)(uint32_t smc_fid,
123 uintptr_t handle_runtime_svc(uint32_t smc_fid, void *cookie, void *handle,
/device/linaro/bootloader/arm-trusted-firmware/services/spd/tspd/
Dtspd_main.c275 uint64_t tspd_smc_handler(uint32_t smc_fid, in tspd_smc_handler() argument
295 switch (smc_fid) { in tspd_smc_handler()
528 if (GET_SMC_TYPE(smc_fid) == SMC_TYPE_FAST) { in tspd_smc_handler()
547 SMC_RET3(&tsp_ctx->cpu_ctx, smc_fid, x1, x2); in tspd_smc_handler()
565 if (GET_SMC_TYPE(smc_fid) == SMC_TYPE_YIELD) { in tspd_smc_handler()
/device/linaro/bootloader/arm-trusted-firmware/plat/xilinx/zynqmp/pm_service/
Dpm_svc_main.c86 uint64_t pm_smc_handler(uint32_t smc_fid, uint64_t x1, uint64_t x2, uint64_t x3, in pm_smc_handler() argument
102 switch (smc_fid & FUNCID_NUM_MASK) { in pm_smc_handler()
249 WARN("Unimplemented PM Service Call: 0x%x\n", smc_fid); in pm_smc_handler()
Dpm_svc_main.h13 uint64_t pm_smc_handler(uint32_t smc_fid, uint64_t x1, uint64_t x2, uint64_t x3,

12