Home
last modified time | relevance | path

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

/linux-3.4.99/arch/powerpc/platforms/pseries/
Dplpar_wrappers.h128 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in plpar_pte_enter() local
130 rc = plpar_hcall(H_ENTER, retbuf, flags, hpte_group, hpte_v, hpte_r); in plpar_pte_enter()
132 *slot = retbuf[0]; in plpar_pte_enter()
142 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in plpar_pte_remove() local
144 rc = plpar_hcall(H_REMOVE, retbuf, flags, ptex, avpn); in plpar_pte_remove()
146 *old_pteh_ret = retbuf[0]; in plpar_pte_remove()
147 *old_ptel_ret = retbuf[1]; in plpar_pte_remove()
158 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in plpar_pte_remove_raw() local
160 rc = plpar_hcall_raw(H_REMOVE, retbuf, flags, ptex, avpn); in plpar_pte_remove_raw()
162 *old_pteh_ret = retbuf[0]; in plpar_pte_remove_raw()
[all …]
Dlpar.c580 unsigned long *retbuf) in __trace_hcall_exit() argument
596 trace_hcall_exit(opcode, retval, retbuf); in __trace_hcall_exit()
612 unsigned long retbuf[PLPAR_HCALL9_BUFSIZE]; in h_get_mpp() local
614 rc = plpar_hcall9(H_GET_MPP, retbuf); in h_get_mpp()
616 mpp_data->entitled_mem = retbuf[0]; in h_get_mpp()
617 mpp_data->mapped_mem = retbuf[1]; in h_get_mpp()
619 mpp_data->group_num = (retbuf[2] >> 2 * 8) & 0xffff; in h_get_mpp()
620 mpp_data->pool_num = retbuf[2] & 0xffff; in h_get_mpp()
622 mpp_data->mem_weight = (retbuf[3] >> 7 * 8) & 0xff; in h_get_mpp()
623 mpp_data->unallocated_mem_weight = (retbuf[3] >> 6 * 8) & 0xff; in h_get_mpp()
[all …]
Dpseries_energy.c151 unsigned long retbuf[PLPAR_HCALL9_BUFSIZE]; in get_best_energy_list() local
164 rc = plpar_hcall9(H_BEST_ENERGY, retbuf, flags, 0, __pa(buf_page), in get_best_energy_list()
171 cnt = retbuf[0]; in get_best_energy_list()
191 unsigned long retbuf[PLPAR_HCALL9_BUFSIZE]; in get_best_energy_data() local
198 rc = plpar_hcall9(H_BEST_ENERGY, retbuf, flags, in get_best_energy_data()
205 return sprintf(page, "%lu\n", retbuf[1] >> 32); in get_best_energy_data()
Dsuspend.c47 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in pseries_suspend_begin() local
50 rc = plpar_hcall(H_VASI_STATE, retbuf, stream_id); in pseries_suspend_begin()
52 vasi_state = retbuf[0]; in pseries_suspend_begin()
DhvCall_inst.c118 unsigned long *retbuf) in probe_hcall_exit() argument
/linux-3.4.99/arch/powerpc/kernel/
Dlparcfg.c117 unsigned long retbuf[PLPAR_HCALL9_BUFSIZE]; in h_get_ppp() local
119 rc = plpar_hcall9(H_GET_PPP, retbuf); in h_get_ppp()
121 ppp_data->entitlement = retbuf[0]; in h_get_ppp()
122 ppp_data->unallocated_entitlement = retbuf[1]; in h_get_ppp()
124 ppp_data->group_num = (retbuf[2] >> 2 * 8) & 0xffff; in h_get_ppp()
125 ppp_data->pool_num = retbuf[2] & 0xffff; in h_get_ppp()
127 ppp_data->capped = (retbuf[3] >> 6 * 8) & 0x01; in h_get_ppp()
128 ppp_data->weight = (retbuf[3] >> 5 * 8) & 0xff; in h_get_ppp()
129 ppp_data->unallocated_weight = (retbuf[3] >> 4 * 8) & 0xff; in h_get_ppp()
130 ppp_data->active_procs_in_pool = (retbuf[3] >> 2 * 8) & 0xffff; in h_get_ppp()
[all …]
Drtas.c905 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in rtas_ibm_suspend_me() local
915 rc = plpar_hcall(H_VASI_STATE, retbuf, in rtas_ibm_suspend_me()
918 state = retbuf[0]; in rtas_ibm_suspend_me()
/linux-3.4.99/drivers/net/ethernet/ibm/
Dibmveth.h66 unsigned long retbuf[PLPAR_HCALL9_BUFSIZE]; in h_send_logical_lan() local
68 rc = plpar_hcall9(H_SEND_LOGICAL_LAN, retbuf, unit_address, desc1, in h_send_logical_lan()
71 *corellator_out = retbuf[0]; in h_send_logical_lan()
81 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in h_illan_attributes() local
83 rc = plpar_hcall(H_ILLAN_ATTRIBUTES, retbuf, unit_address, in h_illan_attributes()
86 *ret_attributes = retbuf[0]; in h_illan_attributes()
/linux-3.4.99/arch/powerpc/platforms/cell/
Dbeat_wrapper.h30 extern s64 beat_hcall1(u64 opcode, u64 retbuf[1], ...);
31 extern s64 beat_hcall2(u64 opcode, u64 retbuf[2], ...);
32 extern s64 beat_hcall3(u64 opcode, u64 retbuf[3], ...);
33 extern s64 beat_hcall4(u64 opcode, u64 retbuf[4], ...);
34 extern s64 beat_hcall5(u64 opcode, u64 retbuf[5], ...);
35 extern s64 beat_hcall6(u64 opcode, u64 retbuf[6], ...);
61 static inline s64 beat_detect_pending_interrupts(u64 index, u64 *retbuf) in beat_detect_pending_interrupts() argument
63 return beat_hcall4(HV_detect_pending_interrupts, retbuf, index); in beat_detect_pending_interrupts()
71 static inline s64 beat_read_htab_entries(u64 htab_id, u64 index, u64 *retbuf) in beat_read_htab_entries() argument
73 return beat_hcall5(HV_read_htab_entries, retbuf, htab_id, index); in beat_read_htab_entries()
/linux-3.4.99/arch/powerpc/include/asm/
Dhvcall.h269 long plpar_hcall(unsigned long opcode, unsigned long *retbuf, ...);
283 long plpar_hcall_raw(unsigned long opcode, unsigned long *retbuf, ...);
294 long plpar_hcall9(unsigned long opcode, unsigned long *retbuf, ...);
295 long plpar_hcall9_raw(unsigned long opcode, unsigned long *retbuf, ...);
Dtrace.h105 unsigned long *retbuf),
107 TP_ARGS(opcode, retval, retbuf),
/linux-3.4.99/arch/powerpc/sysdev/xics/
Dicp-hv.c28 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in icp_hv_get_xirr() local
32 rc = plpar_hcall(H_XIRR, retbuf, cppr); in icp_hv_get_xirr()
34 ret = (unsigned int)retbuf[0]; in icp_hv_get_xirr()
/linux-3.4.99/arch/powerpc/mm/
Dnuma.c1402 long retbuf[PLPAR_HCALL9_BUFSIZE] = {0}; in hcall_vphn() local
1406 rc = plpar_hcall9(H_HOME_NODE_ASSOCIATIVITY, retbuf, flags, hwcpu); in hcall_vphn()
1407 vphn_unpack_associativity(retbuf, associativity); in hcall_vphn()