Home
last modified time | relevance | path

Searched refs:smc_args (Results 1 – 3 of 3) sorted by relevance

/optee_os-3.20.0/core/arch/arm/plat-ti/
A Dsm_platform_handler_a9.c26 uint16_t sip_func = OPTEE_SMC_FUNC_NUM(smc_args->a0); in ti_sip_handler()
35 smc_args->a0 = OPTEE_SMC_RETURN_OK; in ti_sip_handler()
39 smc_args->a0 = OPTEE_SMC_RETURN_OK; in ti_sip_handler()
42 arm_cl2_cleaninvbypa(pl310_base(), smc_args->a1, in ti_sip_handler()
43 smc_args->a1 + smc_args->a2); in ti_sip_handler()
44 smc_args->a0 = OPTEE_SMC_RETURN_OK; in ti_sip_handler()
48 smc_args->a0 = OPTEE_SMC_RETURN_OK; in ti_sip_handler()
52 smc_args->a0 = OPTEE_SMC_RETURN_OK; in ti_sip_handler()
57 smc_args->a0 = OPTEE_SMC_RETURN_OK; in ti_sip_handler()
61 smc_args->a0 = OPTEE_SMC_RETURN_OK; in ti_sip_handler()
[all …]
A Dsm_platform_handler_a15.c41 static enum sm_handler_ret ti_sip_handler(struct thread_smc_args *smc_args) in ti_sip_handler() argument
43 uint16_t sip_func = OPTEE_SMC_FUNC_NUM(smc_args->a0); in ti_sip_handler()
47 write_actlr(smc_args->a1); in ti_sip_handler()
49 smc_args->a0 = OPTEE_SMC_RETURN_OK; in ti_sip_handler()
52 write_cntfrq(smc_args->a1); in ti_sip_handler()
54 smc_args->a0 = OPTEE_SMC_RETURN_OK; in ti_sip_handler()
57 write_wugen_mpu_amba_if_mode(smc_args->a1); in ti_sip_handler()
58 smc_args->a0 = OPTEE_SMC_RETURN_OK; in ti_sip_handler()
62 smc_args->a0 = OPTEE_SMC_RETURN_EBADCMD; in ti_sip_handler()
/optee_os-3.20.0/core/arch/arm/plat-imx/
A Dsm_platform_handler.c13 static enum sm_handler_ret imx_sip_handler(struct thread_smc_args *smc_args) in imx_sip_handler() argument
15 uint16_t sip_func = OPTEE_SMC_FUNC_NUM(smc_args->a0); in imx_sip_handler()
20 smc_args->a0 = pl310_enable(); in imx_sip_handler()
23 smc_args->a0 = pl310_disable(); in imx_sip_handler()
26 smc_args->a0 = pl310_enable_writeback(); in imx_sip_handler()
29 smc_args->a0 = pl310_disable_writeback(); in imx_sip_handler()
32 smc_args->a0 = pl310_enable_wflz(); in imx_sip_handler()
37 smc_args->a0 = OPTEE_SMC_RETURN_EBADCMD; in imx_sip_handler()

Completed in 3 milliseconds