Lines Matching refs:handle

83 static uint64_t spmd_ffa_error_return(void *handle,
91 void *handle);
180 void *handle, in spmd_secure_interrupt_handler() argument
192 assert(handle == cm_get_context(NON_SECURE)); in spmd_secure_interrupt_handler()
413 void *handle) in spmd_smc_forward() argument
440 SMC_GET_GP(handle, CTX_GPREG_X5), in spmd_smc_forward()
441 SMC_GET_GP(handle, CTX_GPREG_X6), in spmd_smc_forward()
442 SMC_GET_GP(handle, CTX_GPREG_X7)); in spmd_smc_forward()
448 static uint64_t spmd_ffa_error_return(void *handle, int error_code) in spmd_ffa_error_return() argument
450 SMC_RET8(handle, (uint32_t) FFA_ERROR, in spmd_ffa_error_return()
499 void *handle, in spmd_smc_handler() argument
514 SMC_GET_GP(handle, CTX_GPREG_X5), in spmd_smc_handler()
515 SMC_GET_GP(handle, CTX_GPREG_X6), in spmd_smc_handler()
516 SMC_GET_GP(handle, CTX_GPREG_X7)); in spmd_smc_handler()
530 x1, x2, x3, x4, handle); in spmd_smc_handler()
553 SMC_RET8(handle, (uint32_t)ret, FFA_TARGET_INFO_MBZ, in spmd_smc_handler()
567 x1, x2, x3, x4, handle); in spmd_smc_handler()
575 SMC_RET8(handle, FFA_SUCCESS_SMC32, x1, x2, x3, x4, in spmd_smc_handler()
576 SMC_GET_GP(handle, CTX_GPREG_X5), in spmd_smc_handler()
577 SMC_GET_GP(handle, CTX_GPREG_X6), in spmd_smc_handler()
578 SMC_GET_GP(handle, CTX_GPREG_X7)); in spmd_smc_handler()
587 SMC_RET8(handle, FFA_SUCCESS_SMC32, in spmd_smc_handler()
594 SMC_RET8(handle, FFA_SUCCESS_SMC32, in spmd_smc_handler()
607 SMC_RET8(handle, FFA_ERROR_SMC64, in spmd_smc_handler()
613 SMC_RET8(handle, FFA_SUCCESS_SMC64, in spmd_smc_handler()
621 return spmd_ffa_error_return(handle, FFA_ERROR_NOT_SUPPORTED); in spmd_smc_handler()
626 return spmd_ffa_error_return(handle, in spmd_smc_handler()
634 SMC_RET8(handle, FFA_SUCCESS_SMC32, in spmd_smc_handler()
640 SMC_RET8(handle, FFA_SUCCESS_SMC32, in spmd_smc_handler()
651 SMC_GET_GP(handle, CTX_GPREG_X5), in spmd_smc_handler()
652 SMC_GET_GP(handle, CTX_GPREG_X6), in spmd_smc_handler()
653 SMC_GET_GP(handle, CTX_GPREG_X7)); in spmd_smc_handler()
655 SMC_RET8(handle, FFA_SUCCESS_SMC32, in spmd_smc_handler()
663 x1, x2, x3, x4, handle); in spmd_smc_handler()
673 x1, x2, x3, x4, handle); in spmd_smc_handler()
702 return spmd_ffa_error_return(handle, in spmd_smc_handler()
731 x1, x2, x3, x4, handle); in spmd_smc_handler()
749 return spmd_ffa_error_return(handle, in spmd_smc_handler()
754 x1, x2, x3, x4, handle); in spmd_smc_handler()
761 return spmd_ffa_error_return(handle, FFA_ERROR_DENIED); in spmd_smc_handler()
767 return spmd_ffa_error_return(handle, FFA_ERROR_NOT_SUPPORTED); in spmd_smc_handler()