Searched refs:rets (Results 1 – 7 of 7) sorted by relevance
/arch/powerpc/kvm/ |
D | book3s_rtas.c | 40 args->rets[0] = cpu_to_be32(rc); in kvm_rtas_set_xive() 65 args->rets[1] = cpu_to_be32(server); in kvm_rtas_get_xive() 66 args->rets[2] = cpu_to_be32(priority); in kvm_rtas_get_xive() 68 args->rets[0] = cpu_to_be32(rc); in kvm_rtas_get_xive() 90 args->rets[0] = cpu_to_be32(rc); in kvm_rtas_int_off() 112 args->rets[0] = cpu_to_be32(rc); in kvm_rtas_int_on() 242 orig_rets = args.rets; in kvmppc_rtas_hcall() 243 args.rets = &args.args[be32_to_cpu(args.nargs)]; in kvmppc_rtas_hcall() 259 args.rets = orig_rets; in kvmppc_rtas_hcall()
|
/arch/powerpc/platforms/pseries/ |
D | eeh_pseries.c | 384 int rets[3]; in pseries_eeh_get_pe_addr() local 392 ret = rtas_call(ibm_get_config_addr_info2, 4, 2, rets, in pseries_eeh_get_pe_addr() 395 if (ret || (rets[0] == 0)) in pseries_eeh_get_pe_addr() 399 ret = rtas_call(ibm_get_config_addr_info2, 4, 2, rets, in pseries_eeh_get_pe_addr() 408 return rets[0]; in pseries_eeh_get_pe_addr() 412 ret = rtas_call(ibm_get_config_addr_info, 4, 2, rets, in pseries_eeh_get_pe_addr() 421 return rets[0]; in pseries_eeh_get_pe_addr() 444 int rets[4]; in pseries_eeh_get_state() local 453 ret = rtas_call(ibm_read_slot_reset_state2, 3, 4, rets, in pseries_eeh_get_state() 458 rets[2] = 0; in pseries_eeh_get_state() [all …]
|
/arch/hexagon/kernel/ |
D | stacktrace.c | 16 unsigned long rets; member 39 trace->entries[trace->nr_entries++] = frame->rets; in save_stack_trace()
|
/arch/powerpc/boot/ |
D | oflib.c | 66 prom_arg_t *rets, ...) in of_call_prom_ret() argument 76 va_start(list, rets); in of_call_prom_ret() 87 if (rets != NULL) in of_call_prom_ret() 89 rets[i-1] = be32_to_cpu(args.args[nargs+i]); in of_call_prom_ret()
|
/arch/powerpc/kernel/ |
D | rtas.c | 424 args->rets = &(args->args[nargs]); in va_rtas_call_unlocked() 430 args->rets[i] = 0; in va_rtas_call_unlocked() 467 if (be32_to_cpu(rtas_args->rets[0]) == -1) in rtas_call() 472 outputs[i] = be32_to_cpu(rtas_args->rets[i+1]); in rtas_call() 473 ret = (nret > 0)? be32_to_cpu(rtas_args->rets[0]): 0; in rtas_call() 1095 args.rets = &args.args[nargs]; in SYSCALL_DEFINE1() 1096 memset(args.rets, 0, nret * sizeof(rtas_arg_t)); in SYSCALL_DEFINE1() 1110 args.rets[0] = cpu_to_be32(RTAS_NOT_SUSPENDABLE); in SYSCALL_DEFINE1() 1112 args.rets[0] = cpu_to_be32(-1); in SYSCALL_DEFINE1() 1128 if (be32_to_cpu(args.rets[0]) == -1) in SYSCALL_DEFINE1()
|
D | prom_init.c | 386 prom_arg_t *rets, ...) in call_prom_ret() argument 396 va_start(list, rets); in call_prom_ret() 407 if (rets != NULL) in call_prom_ret() 409 rets[i-1] = be32_to_cpu(args.args[nargs+i]); in call_prom_ret()
|
/arch/powerpc/include/asm/ |
D | rtas.h | 52 rtas_arg_t *rets; /* Pointer to return values in args[]. */ member
|