Lines Matching defs:handle
52 void *handle,
137 uint64_t spmc_ffa_error_return(void *handle, int error_code)
139 SMC_RET8(handle, FFA_ERROR,
205 void *handle,
213 cookie, handle, flags);
220 SMC_RET5(handle, smc_fid, x1, x2, x3, x4);
225 x3, x4, handle);
292 void *handle)
295 uint64_t x1 = SMC_GET_GP(handle, CTX_GPREG_X1);
296 uint64_t x2 = SMC_GET_GP(handle, CTX_GPREG_X2);
331 void *handle,
342 return spmc_ffa_error_return(handle,
350 return spmc_ffa_error_return(handle,
361 x3, x4, cookie, handle, flags);
363 handle)) {
380 return spmc_ffa_error_return(handle,
389 return spmc_ffa_error_return(handle,
401 return spmc_ffa_error_return(handle, FFA_ERROR_BUSY);
412 handle, cookie, flags, dst_id);
425 void *handle,
434 return spmc_ffa_error_return(handle,
441 return spmc_ffa_error_return(handle,
452 return spmc_ffa_error_return(handle,
461 return spmc_ffa_error_return(handle,
473 return spmc_ffa_error_return(handle, FFA_ERROR_DENIED);
479 return spmc_ffa_error_return(handle, FFA_ERROR_DENIED);
499 handle, cookie, flags, dst_id);
513 void *handle,
525 return spmc_ffa_error_return(handle, FFA_ERROR_NOT_SUPPORTED);
531 return spmc_ffa_error_return(handle,
542 return spmc_ffa_error_return(handle, FFA_ERROR_DENIED);
575 handle, cookie, flags, FFA_NWD_ID);
585 void *handle,
593 return spmc_ffa_error_return(handle, FFA_ERROR_NOT_SUPPORTED);
599 return spmc_ffa_error_return(handle,
617 return spmc_ffa_error_return(handle, FFA_ERROR_NOT_SUPPORTED);
627 void *handle,
634 SMC_RET1(handle, FFA_ERROR_NOT_SUPPORTED);
657 SMC_RET1(handle, MAKE_FFA_VERSION(FFA_VERSION_MAJOR,
680 void *handle,
699 return spmc_ffa_error_return(handle,
706 return spmc_ffa_error_return(handle,
713 return spmc_ffa_error_return(handle,
723 return spmc_ffa_error_return(handle,
773 SMC_RET1(handle, FFA_SUCCESS_SMC32);
777 return spmc_ffa_error_return(handle, error_code);
787 void *handle,
799 return spmc_ffa_error_return(handle,
808 return spmc_ffa_error_return(handle,
830 SMC_RET1(handle, FFA_SUCCESS_SMC32);
997 void *handle,
1015 info_get_flags = SMC_GET_GP(handle, CTX_GPREG_X5);
1022 return spmc_ffa_error_return(handle,
1102 SMC_RET4(handle, FFA_SUCCESS_SMC32, 0, partition_count, size);
1107 return spmc_ffa_error_return(handle, ret);
1110 static uint64_t ffa_feature_success(void *handle, uint32_t arg2)
1112 SMC_RET3(handle, FFA_SUCCESS_SMC32, 0, arg2);
1117 void *handle)
1125 return spmc_ffa_error_return(handle,
1139 return spmc_ffa_error_return(handle,
1142 return ffa_feature_success(handle,
1150 return ffa_feature_success(handle,
1154 SMC_RET1(handle, FFA_SUCCESS_SMC32);
1164 void *handle,
1173 return spmc_ffa_error_return(handle, FFA_ERROR_NOT_SUPPORTED);
1185 handle);
1193 return spmc_ffa_error_return(handle,
1221 * changes this function must be extended to handle
1225 SMC_RET1(handle, FFA_SUCCESS_SMC32);
1236 return spmc_ffa_error_return(handle,
1239 SMC_RET1(handle, FFA_SUCCESS_SMC32);
1251 return spmc_ffa_error_return(handle,
1254 SMC_RET1(handle, FFA_SUCCESS_SMC32);
1258 return spmc_ffa_error_return(handle,
1270 void *handle,
1274 SMC_RET3(handle, FFA_SUCCESS_SMC32, 0x0,
1277 SMC_RET3(handle, FFA_SUCCESS_SMC32, 0x0,
1292 void *handle,
1299 assert(SMC_GET_GP(handle, CTX_GPREG_X5) == 0UL);
1300 assert(SMC_GET_GP(handle, CTX_GPREG_X6) == 0UL);
1301 assert(SMC_GET_GP(handle, CTX_GPREG_X7) == 0UL);
1303 SMC_RET3(handle, FFA_SUCCESS_SMC32, 0x0, FFA_SPMC_ID);
1313 void *handle,
1326 return spmc_ffa_error_return(handle,
1333 return spmc_ffa_error_return(handle,
1341 return spmc_ffa_error_return(handle,
1348 return spmc_ffa_error_return(handle,
1355 return spmc_ffa_error_return(handle, FFA_ERROR_BUSY);
1381 handle, cookie, flags, target_id);
1391 void *handle,
1400 return spmc_ffa_error_return(handle, FFA_ERROR_DENIED);
1406 SMC_RET1(handle, FFA_SUCCESS_SMC32);
1454 void *handle,
1463 return spmc_ffa_error_return(handle, FFA_ERROR_NOT_SUPPORTED);
1470 return spmc_ffa_error_return(handle,
1477 return spmc_ffa_error_return(handle, FFA_ERROR_DENIED);
1485 return spmc_ffa_error_return(handle, FFA_ERROR_DENIED);
1492 return spmc_ffa_error_return(handle,
1504 SMC_RET1(handle, FFA_SUCCESS_SMC32);
1960 void *handle,
1967 x4, cookie, handle, flags);
1971 x3, x4, cookie, handle, flags);
1975 x4, cookie, handle, flags);
1979 x4, cookie, handle, flags);
1983 x2, x3, x4, cookie, handle,
1989 x3, x4, cookie, handle, flags);
1994 x3, x4, cookie, handle, flags);
1999 cookie, handle, flags);
2003 x4, cookie, handle, flags);
2007 x2, x3, x4, cookie, handle,
2012 x4, cookie, handle, flags);
2016 cookie, handle, flags);
2020 cookie, handle, flags);
2024 cookie, handle, flags);
2031 cookie, handle, flags);
2035 x4, cookie, handle, flags);
2039 x4, cookie, handle, flags);
2044 x3, x4, cookie, handle, flags);
2048 x3, x4, cookie, handle, flags);
2052 x4, cookie, handle, flags);
2058 return spmc_ffa_error_return(handle, FFA_ERROR_NOT_SUPPORTED);
2068 void *handle,
2111 handle);