Home
last modified time | relevance | path

Searched refs:retbuf (Results 1 – 16 of 16) sorted by relevance

/arch/powerpc/include/asm/
A Dplpar_wrappers.h108 *slot = retbuf[0]; in plpar_pte_enter()
122 *old_pteh_ret = retbuf[0]; in plpar_pte_remove()
123 *old_ptel_ret = retbuf[1]; in plpar_pte_remove()
138 *old_pteh_ret = retbuf[0]; in plpar_pte_remove_raw()
139 *old_ptel_ret = retbuf[1]; in plpar_pte_remove_raw()
152 *old_pteh_ret = retbuf[0]; in plpar_pte_read()
234 *tce_ret = retbuf[0]; in plpar_tce_get()
358 *guest_id = retbuf[0]; in plpar_guest_create()
361 token = retbuf[0]; in plpar_guest_create()
366 token = retbuf[0]; in plpar_guest_create()
[all …]
A Dhvcall.h564 long plpar_hcall(unsigned long opcode, unsigned long retbuf[static PLPAR_HCALL_BUFSIZE], ...);
578 long plpar_hcall_raw(unsigned long opcode, unsigned long retbuf[static PLPAR_HCALL_BUFSIZE], ...);
589 long plpar_hcall9(unsigned long opcode, unsigned long retbuf[static PLPAR_HCALL9_BUFSIZE], ...);
590 long plpar_hcall9_raw(unsigned long opcode, unsigned long retbuf[static PLPAR_HCALL9_BUFSIZE], ...);
595 void __trace_hcall_exit(long opcode, long retval, unsigned long *retbuf);
A Dtrace.h100 TP_PROTO(unsigned long opcode, long retval, unsigned long *retbuf),
102 TP_ARGS(opcode, retval, retbuf),
/arch/powerpc/platforms/pseries/
A Dhvconsole.c31 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in hvc_get_chars() local
34 ret = plpar_hcall(H_GET_TERM_CHAR, retbuf, vtermno); in hvc_get_chars()
35 lbuf[0] = be64_to_cpu(retbuf[1]); in hvc_get_chars()
36 lbuf[1] = be64_to_cpu(retbuf[2]); in hvc_get_chars()
39 return retbuf[0]; in hvc_get_chars()
A Dplpks.c131 unsigned long retbuf[PLPAR_HCALL_BUFSIZE] = { 0 }; in plpks_gen_password() local
237 unsigned long retbuf[PLPAR_HCALL_BUFSIZE] = { 0 }; in _plpks_get_config() local
394 unsigned long retbuf[PLPAR_HCALL_BUFSIZE] = { 0 }; in plpks_confirm_object_flushed() local
405 status = retbuf[0]; in plpks_confirm_object_flushed()
430 unsigned long retbuf[PLPAR_HCALL9_BUFSIZE] = {0}; in plpks_signed_update_var() local
458 rc = plpar_hcall9(H_PKS_SIGNED_UPDATE, retbuf, in plpks_signed_update_var()
464 continuetoken = retbuf[0]; in plpks_signed_update_var()
486 unsigned long retbuf[PLPAR_HCALL_BUFSIZE] = { 0 }; in plpks_write_var() local
602 if (!var->data || var->datalen > retbuf[0]) in plpks_read_var()
603 var->datalen = retbuf[0]; in plpks_read_var()
[all …]
A Dlparcfg.c118 rc = plpar_hcall9(H_GET_PPP, retbuf); in h_get_ppp()
120 ppp_data->entitlement = retbuf[0]; in h_get_ppp()
121 ppp_data->unallocated_entitlement = retbuf[1]; in h_get_ppp()
124 ppp_data->pool_num = retbuf[2] & 0xffff; in h_get_ppp()
126 ppp_data->capped = (retbuf[3] >> 6 * 8) & 0x01; in h_get_ppp()
127 ppp_data->weight = (retbuf[3] >> 5 * 8) & 0xff; in h_get_ppp()
176 unsigned long retbuf[PLPAR_HCALL_BUFSIZE] = {0}; in h_pic() local
178 rc = plpar_hcall(H_PIC, retbuf); in h_pic()
181 *pool_idle_time = retbuf[0]; in h_pic()
183 *num_procs = retbuf[1]; in h_pic()
[all …]
A Drng.c18 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in pseries_get_random_long() local
20 if (plpar_hcall(H_RANDOM, retbuf) == H_SUCCESS) { in pseries_get_random_long()
21 *v = retbuf[0]; in pseries_get_random_long()
A Dvphn.c82 long retbuf[PLPAR_HCALL9_BUFSIZE] = {0}; in hcall_vphn() local
84 rc = plpar_hcall9(H_HOME_NODE_ASSOCIATIVITY, retbuf, flags, cpu); in hcall_vphn()
86 vphn_unpack_associativity(retbuf, associativity); in hcall_vphn()
A Dpseries_energy.c191 unsigned long retbuf[PLPAR_HCALL9_BUFSIZE]; in get_best_energy_list() local
204 rc = plpar_hcall9(H_BEST_ENERGY, retbuf, flags, 0, __pa(buf_page), in get_best_energy_list()
211 cnt = retbuf[0]; in get_best_energy_list()
231 unsigned long retbuf[PLPAR_HCALL9_BUFSIZE]; in get_best_energy_data() local
238 rc = plpar_hcall9(H_BEST_ENERGY, retbuf, flags, in get_best_energy_data()
245 return sprintf(page, "%lu\n", retbuf[1] >> 32); in get_best_energy_data()
A Dsuspend.c31 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in pseries_suspend_begin() local
34 rc = plpar_hcall(H_VASI_STATE, retbuf, stream_id); in pseries_suspend_begin()
36 vasi_state = retbuf[0]; in pseries_suspend_begin()
A Dlpar.c1107 rc = plpar_hcall9(H_BLOCK_REMOVE, retbuf, in call_block_remove()
1877 trace_hcall_exit(opcode, retval, retbuf); in __trace_hcall_exit()
1895 rc = plpar_hcall9(H_GET_MPP, retbuf); in h_get_mpp()
1897 mpp_data->entitled_mem = retbuf[0]; in h_get_mpp()
1898 mpp_data->mapped_mem = retbuf[1]; in h_get_mpp()
1901 mpp_data->pool_num = retbuf[2] & 0xffff; in h_get_mpp()
1907 mpp_data->pool_size = retbuf[4]; in h_get_mpp()
1908 mpp_data->loan_request = retbuf[5]; in h_get_mpp()
1909 mpp_data->backing_mem = retbuf[6]; in h_get_mpp()
1920 rc = plpar_hcall9(H_GET_MPP_X, retbuf); in h_get_mpp_x()
[all …]
A Dvas.c76 long retbuf[PLPAR_HCALL9_BUFSIZE] = {0}; in h_allocate_vas_window() local
80 rc = plpar_hcall9(H_ALLOCATE_VAS_WINDOW, retbuf, wintype, in h_allocate_vas_window()
92 win->vas_win.winid = retbuf[0]; in h_allocate_vas_window()
93 win->win_addr = retbuf[1]; in h_allocate_vas_window()
94 win->complete_irq = retbuf[2]; in h_allocate_vas_window()
95 win->fault_irq = retbuf[3]; in h_allocate_vas_window()
A Dmobility.c397 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in poll_vasi_state() local
401 hvrc = plpar_hcall(H_VASI_STATE, retbuf, handle); in poll_vasi_state()
405 *res = retbuf[0]; in poll_vasi_state()
A DhvCall_inst.c99 unsigned long *retbuf) in probe_hcall_exit() argument
/arch/powerpc/sysdev/xive/
A Dspapr.c195 *src_flags = retbuf[0]; in plpar_int_get_source_info()
196 *eoi_page = retbuf[1]; in plpar_int_get_source_info()
197 *trig_page = retbuf[2]; in plpar_int_get_source_info()
201 lisn, retbuf[0], retbuf[1], retbuf[2], retbuf[3]); in plpar_int_get_source_info()
258 *target = retbuf[0]; in plpar_int_get_source_config()
259 *prio = retbuf[1]; in plpar_int_get_source_config()
260 *sw_irq = retbuf[2]; in plpar_int_get_source_config()
263 retbuf[0], retbuf[1], retbuf[2]); in plpar_int_get_source_config()
288 *esn_page = retbuf[0]; in plpar_int_get_queue_info()
289 *esn_size = retbuf[1]; in plpar_int_get_queue_info()
[all …]
/arch/powerpc/sysdev/xics/
A Dicp-hv.c23 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in icp_hv_get_xirr() local
27 rc = plpar_hcall(H_XIRR, retbuf, cppr); in icp_hv_get_xirr()
29 ret = (unsigned int)retbuf[0]; in icp_hv_get_xirr()

Completed in 32 milliseconds