Lines Matching refs:nret
395 err_args.nret = cpu_to_be32(1); in __fetch_rtas_last_error()
433 va_rtas_call_unlocked(struct rtas_args *args, int token, int nargs, int nret, in va_rtas_call_unlocked() argument
440 args->nret = cpu_to_be32(nret); in va_rtas_call_unlocked()
446 for (i = 0; i < nret; ++i) in va_rtas_call_unlocked()
452 void rtas_call_unlocked(struct rtas_args *args, int token, int nargs, int nret, ...) in rtas_call_unlocked() argument
456 va_start(list, nret); in rtas_call_unlocked()
457 va_rtas_call_unlocked(args, token, nargs, nret, list); in rtas_call_unlocked()
461 int rtas_call(int token, int nargs, int nret, int *outputs, ...) in rtas_call() argument
479 va_rtas_call_unlocked(rtas_args, token, nargs, nret, list); in rtas_call()
487 if (nret > 1 && outputs != NULL) in rtas_call()
488 for (i = 0; i < nret-1; ++i) in rtas_call()
490 ret = (nret > 0)? be32_to_cpu(rtas_args->rets[0]): 0; in rtas_call()
1059 int nargs, nret, token; in SYSCALL_DEFINE1() local
1071 nret = be32_to_cpu(args.nret); in SYSCALL_DEFINE1()
1075 || nret > ARRAY_SIZE(args.args) in SYSCALL_DEFINE1()
1076 || nargs + nret > ARRAY_SIZE(args.args)) in SYSCALL_DEFINE1()
1088 memset(args.rets, 0, nret * sizeof(rtas_arg_t)); in SYSCALL_DEFINE1()
1138 nret * sizeof(rtas_arg_t)) != 0) in SYSCALL_DEFINE1()