/linux-3.4.99/arch/powerpc/platforms/pseries/ |
D | plpar_wrappers.h | 128 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 …]
|
D | lpar.c | 580 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 …]
|
D | pseries_energy.c | 151 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()
|
D | suspend.c | 47 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()
|
D | hvCall_inst.c | 118 unsigned long *retbuf) in probe_hcall_exit() argument
|
/linux-3.4.99/arch/powerpc/kernel/ |
D | lparcfg.c | 117 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 …]
|
D | rtas.c | 905 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/ |
D | ibmveth.h | 66 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/ |
D | beat_wrapper.h | 30 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/ |
D | hvcall.h | 269 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, ...);
|
D | trace.h | 105 unsigned long *retbuf), 107 TP_ARGS(opcode, retval, retbuf),
|
/linux-3.4.99/arch/powerpc/sysdev/xics/ |
D | icp-hv.c | 28 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/ |
D | numa.c | 1402 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()
|