Searched refs:rets (Results 1 – 8 of 8) 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() 244 orig_rets = args.rets; in kvmppc_rtas_hcall() 256 args.rets = &args.args[be32_to_cpu(args.nargs)]; in kvmppc_rtas_hcall() 272 args.rets = orig_rets; in kvmppc_rtas_hcall()
|
/arch/powerpc/platforms/pseries/ |
D | eeh_pseries.c | 103 int ret, rets[3]; in pseries_eeh_get_pe_config_addr() local 110 ret = rtas_call(ibm_get_config_addr_info2, 4, 2, rets, in pseries_eeh_get_pe_config_addr() 113 if (ret || (rets[0] == 0)) in pseries_eeh_get_pe_config_addr() 117 ret = rtas_call(ibm_get_config_addr_info2, 4, 2, rets, in pseries_eeh_get_pe_config_addr() 126 return rets[0]; in pseries_eeh_get_pe_config_addr() 130 ret = rtas_call(ibm_get_config_addr_info, 4, 2, rets, in pseries_eeh_get_pe_config_addr() 139 return rets[0]; in pseries_eeh_get_pe_config_addr() 555 int rets[4]; in pseries_eeh_get_state() local 559 ret = rtas_call(ibm_read_slot_reset_state2, 3, 4, rets, in pseries_eeh_get_state() 564 rets[2] = 0; in pseries_eeh_get_state() [all …]
|
D | ras.c | 478 ret = be32_to_cpu(rtas_args.rets[0]); in fwnmi_release_errinfo()
|
/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 | 425 args->rets = &(args->args[nargs]); in va_rtas_call_unlocked() 431 args->rets[i] = 0; in va_rtas_call_unlocked() 468 if (be32_to_cpu(rtas_args->rets[0]) == -1) in rtas_call() 473 outputs[i] = be32_to_cpu(rtas_args->rets[i+1]); in rtas_call() 474 ret = (nret > 0)? be32_to_cpu(rtas_args->rets[0]): 0; in rtas_call() 945 outputs[i] = be32_to_cpu(args->rets[i + 1]); in rtas_call_reentrant() 948 ret = be32_to_cpu(args->rets[0]); in rtas_call_reentrant() 1184 args.rets = &args.args[nargs]; in SYSCALL_DEFINE1() 1185 memset(args.rets, 0, nret * sizeof(rtas_arg_t)); in SYSCALL_DEFINE1() 1202 args.rets[0] = cpu_to_be32(RTAS_NOT_SUSPENDABLE); in SYSCALL_DEFINE1() [all …]
|
D | prom_init.c | 395 prom_arg_t *rets, ...) in call_prom_ret() argument 405 va_start(list, rets); in call_prom_ret() 416 if (rets != NULL) in call_prom_ret() 418 rets[i-1] = be32_to_cpu(args.args[nargs+i]); in call_prom_ret()
|
/arch/powerpc/include/asm/ |
D | rtas-types.h | 14 rtas_arg_t *rets; /* Pointer to return values in args[]. */ member
|