Home
last modified time | relevance | path

Searched refs:nret (Results 1 – 17 of 17) sorted by relevance

/qemu/hw/ppc/
H A Dspapr_rtas.c57 uint32_t nret, target_ulong rets) in rtas_display_character() argument
72 uint32_t nret, target_ulong rets) in rtas_power_off() argument
74 if (nargs != 2 || nret != 1) { in rtas_power_off()
86 uint32_t nret, target_ulong rets) in rtas_system_reboot() argument
88 if (nargs != 0 || nret != 1) { in rtas_system_reboot()
100 uint32_t nret, target_ulong rets) in rtas_query_cpu_stopped_state() argument
105 if (nargs != 1 || nret != 2) { in rtas_query_cpu_stopped_state()
131 uint32_t nret, target_ulong rets) in rtas_start_cpu() argument
139 if (nargs != 3 || nret != 1) { in rtas_start_cpu()
207 uint32_t nret, target_ulong rets) in rtas_stop_self() argument
[all …]
H A Dspapr_rtas_ddw.c97 uint32_t nret, target_ulong rets) in rtas_ibm_query_pe_dma_window() argument
103 if ((nargs != 3) || ((nret != 5) && (nret != 6))) { in rtas_ibm_query_pe_dma_window()
121 if (nret == 6) { in rtas_ibm_query_pe_dma_window()
147 uint32_t nret, target_ulong rets) in rtas_ibm_create_pe_dma_window() argument
155 if ((nargs != 5) || (nret != 4)) { in rtas_ibm_create_pe_dma_window()
224 uint32_t nret, target_ulong rets) in rtas_ibm_remove_pe_dma_window() argument
231 if ((nargs != 1) || (nret != 1)) { in rtas_ibm_remove_pe_dma_window()
274 uint32_t nret, target_ulong rets) in rtas_ibm_reset_pe_dma_window() argument
280 if ((nargs != 3) || (nret != 1)) { in rtas_ibm_reset_pe_dma_window()
H A Dspapr_rtc.c72 uint32_t nret, target_ulong rets) in rtas_get_time_of_day() argument
77 if ((nargs != 0) || (nret != 8)) { in rtas_get_time_of_day()
97 uint32_t nret, target_ulong rets) in rtas_set_time_of_day() argument
105 if ((nargs != 7) || (nret != 1)) { in rtas_set_time_of_day()
H A Dvof.c62 static bool cmpservice(const char *s, unsigned nargs, unsigned nret, in cmpservice() argument
69 (nretcheck && (nret != nretcheck))) { in cmpservice()
70 trace_vof_error_param(s, nargscheck, nretcheck, nargs, nret); in cmpservice()
936 uint32_t nret; member
947 unsigned nargs, nret, i; in vof_client_call() local
970 nret = be32_to_cpu(args_be.nret); in vof_client_call()
971 if (nret > ARRAY_SIZE(args_be.args) - nargs) { in vof_client_call()
974 ret = vof_client_handle(ms, fdt, vof, service, args, nargs, rets, nret); in vof_client_call()
975 if (!nret) { in vof_client_call()
981 for (i = 1; i < nret; ++i) { in vof_client_call()
[all …]
H A Dspapr_pci.c134 uint32_t nret, target_ulong rets) in rtas_ibm_read_pci_config() argument
139 if ((nargs != 4) || (nret != 2)) { in rtas_ibm_read_pci_config()
154 uint32_t nret, target_ulong rets) in rtas_read_pci_config() argument
158 if ((nargs != 2) || (nret != 2)) { in rtas_read_pci_config()
200 uint32_t nret, target_ulong rets) in rtas_ibm_write_pci_config() argument
205 if ((nargs != 5) || (nret != 1)) { in rtas_ibm_write_pci_config()
221 uint32_t nret, target_ulong rets) in rtas_write_pci_config() argument
225 if ((nargs != 3) || (nret != 1)) { in rtas_write_pci_config()
269 target_ulong args, uint32_t nret, in rtas_ibm_change_msi() argument
428 if (nret > 3) { in rtas_ibm_change_msi()
[all …]
H A Dspapr_drc.c1063 uint32_t nret, target_ulong rets) in rtas_set_indicator() argument
1068 if (nargs != 3 || nret != 1) { in rtas_set_indicator()
1097 target_ulong args, uint32_t nret, in rtas_get_sensor_state() argument
1107 if (nargs != 2 || nret != 2) { in rtas_get_sensor_state()
1159 target_ulong args, uint32_t nret, in rtas_ibm_configure_connector() argument
1170 if (nargs != 2 || nret != 1) { in rtas_ibm_configure_connector()
H A Dspapr_events.c937 uint32_t nret, target_ulong rets) in check_exception() argument
944 if ((nargs < 6) || (nargs > 7) || nret != 1) { in check_exception()
997 uint32_t nret, target_ulong rets) in event_scan() argument
1000 if (nargs != 4 || nret != 1) { in event_scan()
H A Dspapr_vio.c333 uint32_t nret, target_ulong rets) in rtas_set_tce_bypass() argument
364 uint32_t nret, target_ulong rets) in rtas_quiesce() argument
H A Dtrace-events76 vof_error_param(const char *method, int nargscheck, int nretcheck, int nargs, int nret) "%s takes/r…
77 vof_error_unknown_service(const char *service, int nargs, int nret) "\"%s\" args=%d rets=%d"
H A Dspapr_hcall.c662 uint32_t nret = rtas_ld(rtas_r3, 2); in h_rtas() local
665 nret, rtas_r3 + 12 + 4*nargs); in h_rtas()
/qemu/pc-bios/vof/
H A Dci.c6 uint32_t nret; member
51 static int call_ci(const char *service, int nargs, int nret, ...) in call_ci() argument
59 args.nret = nret; in call_ci()
61 va_start(list, nret); in call_ci()
67 for (i = 0; i < nret; i++) { in call_ci()
75 return (nret > 0) ? args.args[nargs] : 0; in call_ci()
/qemu/tests/qtest/libqos/
H A Drtas.c21 uint32_t nret, uint32_t *ret) in qrtas_copy_ret() argument
25 for (i = 0; i < nret; i++) { in qrtas_copy_ret()
33 uint32_t nret, uint32_t *ret) in qrtas_call() argument
39 target_ret = guest_alloc(alloc, nret * sizeof(uint32_t)); in qrtas_call()
42 res = qtest_rtas_call(qts, name, nargs, target_args, nret, target_ret); in qrtas_call()
43 qrtas_copy_ret(qts, target_ret, nret, ret); in qrtas_call()
/qemu/hw/intc/
H A Dxics_spapr.c154 uint32_t nret, target_ulong rets) in rtas_set_xive() argument
161 if ((nargs != 3) || (nret != 1)) { in rtas_set_xive()
189 uint32_t nret, target_ulong rets) in rtas_get_xive() argument
196 if ((nargs != 1) || (nret != 3)) { in rtas_get_xive()
221 uint32_t nret, target_ulong rets) in rtas_int_off() argument
228 if ((nargs != 1) || (nret != 1)) { in rtas_int_off()
254 uint32_t nret, target_ulong rets) in rtas_int_on() argument
261 if ((nargs != 1) || (nret != 1)) { in rtas_int_on()
/qemu/hw/nvram/
H A Dspapr_nvram.c61 uint32_t nret, target_ulong rets) in OBJECT_DECLARE_SIMPLE_TYPE()
67 if ((nargs != 3) || (nret != 2)) { in OBJECT_DECLARE_SIMPLE_TYPE()
102 uint32_t nret, target_ulong rets) in rtas_nvram_store() argument
109 if ((nargs != 3) || (nret != 2)) { in rtas_nvram_store()
/qemu/include/hw/ppc/
H A Dspapr.h824 uint32_t nret, target_ulong rets);
828 uint32_t nret, target_ulong rets);
/qemu/tests/qtest/
H A Dlibqtest.h622 uint32_t nret, uint64_t ret);
H A Dlibqtest.c1301 uint32_t nret, uint64_t ret) in qtest_rtas_call() argument
1304 name, nargs, args, nret, ret); in qtest_rtas_call()