Home
last modified time | relevance | path

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

/arch/powerpc/platforms/pseries/
Dplpar_wrappers.h135 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in plpar_pte_enter() local
137 rc = plpar_hcall(H_ENTER, retbuf, flags, hpte_group, hpte_v, hpte_r); in plpar_pte_enter()
139 *slot = retbuf[0]; in plpar_pte_enter()
149 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in plpar_pte_remove() local
151 rc = plpar_hcall(H_REMOVE, retbuf, flags, ptex, avpn); in plpar_pte_remove()
153 *old_pteh_ret = retbuf[0]; in plpar_pte_remove()
154 *old_ptel_ret = retbuf[1]; in plpar_pte_remove()
165 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in plpar_pte_remove_raw() local
167 rc = plpar_hcall_raw(H_REMOVE, retbuf, flags, ptex, avpn); in plpar_pte_remove_raw()
169 *old_pteh_ret = retbuf[0]; in plpar_pte_remove_raw()
[all …]
Dlpar.c565 unsigned long *retbuf) in __trace_hcall_exit() argument
581 trace_hcall_exit(opcode, retval, retbuf); in __trace_hcall_exit()
597 unsigned long retbuf[PLPAR_HCALL9_BUFSIZE]; in h_get_mpp() local
599 rc = plpar_hcall9(H_GET_MPP, retbuf); in h_get_mpp()
601 mpp_data->entitled_mem = retbuf[0]; in h_get_mpp()
602 mpp_data->mapped_mem = retbuf[1]; in h_get_mpp()
604 mpp_data->group_num = (retbuf[2] >> 2 * 8) & 0xffff; in h_get_mpp()
605 mpp_data->pool_num = retbuf[2] & 0xffff; in h_get_mpp()
607 mpp_data->mem_weight = (retbuf[3] >> 7 * 8) & 0xff; in h_get_mpp()
608 mpp_data->unallocated_mem_weight = (retbuf[3] >> 6 * 8) & 0xff; in h_get_mpp()
[all …]
Dpseries_energy.c118 unsigned long retbuf[PLPAR_HCALL9_BUFSIZE]; in get_best_energy_list() local
131 rc = plpar_hcall9(H_BEST_ENERGY, retbuf, flags, 0, __pa(buf_page), in get_best_energy_list()
138 cnt = retbuf[0]; in get_best_energy_list()
158 unsigned long retbuf[PLPAR_HCALL9_BUFSIZE]; in get_best_energy_data() local
165 rc = plpar_hcall9(H_BEST_ENERGY, retbuf, flags, in get_best_energy_data()
172 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
/arch/powerpc/kernel/
Dlparcfg.c109 unsigned long retbuf[PLPAR_HCALL9_BUFSIZE]; in h_get_ppp() local
111 rc = plpar_hcall9(H_GET_PPP, retbuf); in h_get_ppp()
113 ppp_data->entitlement = retbuf[0]; in h_get_ppp()
114 ppp_data->unallocated_entitlement = retbuf[1]; in h_get_ppp()
116 ppp_data->group_num = (retbuf[2] >> 2 * 8) & 0xffff; in h_get_ppp()
117 ppp_data->pool_num = retbuf[2] & 0xffff; in h_get_ppp()
119 ppp_data->capped = (retbuf[3] >> 6 * 8) & 0x01; in h_get_ppp()
120 ppp_data->weight = (retbuf[3] >> 5 * 8) & 0xff; in h_get_ppp()
121 ppp_data->unallocated_weight = (retbuf[3] >> 4 * 8) & 0xff; in h_get_ppp()
122 ppp_data->active_procs_in_pool = (retbuf[3] >> 2 * 8) & 0xffff; in h_get_ppp()
[all …]
Drtas.c904 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in rtas_ibm_suspend_me() local
914 rc = plpar_hcall(H_VASI_STATE, retbuf, in rtas_ibm_suspend_me()
917 state = retbuf[0]; in rtas_ibm_suspend_me()
/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()
/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()
/arch/powerpc/include/asm/
Dhvcall.h300 long plpar_hcall(unsigned long opcode, unsigned long *retbuf, ...);
314 long plpar_hcall_raw(unsigned long opcode, unsigned long *retbuf, ...);
325 long plpar_hcall9(unsigned long opcode, unsigned long *retbuf, ...);
326 long plpar_hcall9_raw(unsigned long opcode, unsigned long *retbuf, ...);
Dtrace.h82 unsigned long *retbuf),
84 TP_ARGS(opcode, retval, retbuf),
/arch/powerpc/mm/
Dnuma.c1384 long retbuf[PLPAR_HCALL9_BUFSIZE] = {0}; in hcall_vphn() local
1388 rc = plpar_hcall9(H_HOME_NODE_ASSOCIATIVITY, retbuf, flags, hwcpu); in hcall_vphn()
1389 vphn_unpack_associativity(retbuf, associativity); in hcall_vphn()