| /linux-6.15/arch/powerpc/include/asm/ |
| H A D | plpar_wrappers.h | 100 *slot = retbuf[0]; in plpar_pte_enter() 114 *old_pteh_ret = retbuf[0]; in plpar_pte_remove() 115 *old_ptel_ret = retbuf[1]; in plpar_pte_remove() 130 *old_pteh_ret = retbuf[0]; in plpar_pte_remove_raw() 131 *old_ptel_ret = retbuf[1]; in plpar_pte_remove_raw() 144 *old_pteh_ret = retbuf[0]; in plpar_pte_read() 226 *tce_ret = retbuf[0]; in plpar_tce_get() 350 *guest_id = retbuf[0]; in plpar_guest_create() 353 token = retbuf[0]; in plpar_guest_create() 358 token = retbuf[0]; in plpar_guest_create() [all …]
|
| H A D | hvcall.h | 562 long plpar_hcall(unsigned long opcode, unsigned long retbuf[static PLPAR_HCALL_BUFSIZE], ...); 576 long plpar_hcall_raw(unsigned long opcode, unsigned long retbuf[static PLPAR_HCALL_BUFSIZE], ...); 587 long plpar_hcall9(unsigned long opcode, unsigned long retbuf[static PLPAR_HCALL9_BUFSIZE], ...); 588 long plpar_hcall9_raw(unsigned long opcode, unsigned long retbuf[static PLPAR_HCALL9_BUFSIZE], ...); 593 void __trace_hcall_exit(long opcode, long retval, unsigned long *retbuf);
|
| H A D | trace.h | 100 TP_PROTO(unsigned long opcode, long retval, unsigned long *retbuf), 102 TP_ARGS(opcode, retval, retbuf),
|
| /linux-6.15/arch/powerpc/sysdev/xive/ |
| H A D | spapr.c | 195 *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 …]
|
| /linux-6.15/arch/powerpc/platforms/pseries/ |
| H A D | plpks.c | 131 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 …]
|
| H A D | hvconsole.c | 31 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()
|
| H A D | lparcfg.c | 118 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 …]
|
| H A D | rng.c | 18 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()
|
| H A D | vphn.c | 82 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()
|
| H A D | pseries_energy.c | 191 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()
|
| H A D | lpar.c | 1107 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 …]
|
| H A D | suspend.c | 31 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()
|
| H A D | vas.c | 76 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()
|
| H A D | mobility.c | 397 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()
|
| H A D | hvCall_inst.c | 99 unsigned long *retbuf) in probe_hcall_exit() argument
|
| /linux-6.15/drivers/net/ethernet/ibm/ |
| H A D | ibmveth.h | 58 unsigned long retbuf[PLPAR_HCALL9_BUFSIZE]; in h_send_logical_lan() local 61 rc = plpar_hcall9(H_SEND_LOGICAL_LAN, retbuf, unit_address, in h_send_logical_lan() 64 rc = plpar_hcall9(H_SEND_LOGICAL_LAN, retbuf, unit_address, in h_send_logical_lan() 67 *corellator_out = retbuf[0]; in h_send_logical_lan() 77 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in h_illan_attributes() local 79 rc = plpar_hcall(H_ILLAN_ATTRIBUTES, retbuf, unit_address, in h_illan_attributes() 82 *ret_attributes = retbuf[0]; in h_illan_attributes()
|
| H A D | ibmvnic.c | 376 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in h_reg_sub_crq() local 379 rc = plpar_hcall(H_REG_SUB_CRQ, retbuf, unit_address, token, length); in h_reg_sub_crq() 380 *number = retbuf[0]; in h_reg_sub_crq() 381 *irq = retbuf[1]; in h_reg_sub_crq() 6612 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in failover_store() local 6619 rc = plpar_hcall(H_VIOCTL, retbuf, adapter->vdev->unit_address, in failover_store() 6627 session_token = (__be64)retbuf[0]; in failover_store()
|
| /linux-6.15/tools/testing/selftests/powerpc/vphn/ |
| H A D | vphn.c | 82 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()
|
| /linux-6.15/arch/powerpc/sysdev/xics/ |
| H A D | icp-hv.c | 23 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()
|
| /linux-6.15/fs/smb/client/ |
| H A D | smb2ops.c | 1803 struct copychunk_ioctl_rsp *retbuf = NULL; in smb2_copychunk_range() local 1841 kfree(retbuf); in smb2_copychunk_range() 1842 retbuf = NULL; in smb2_copychunk_range() 1854 if (retbuf->TotalBytesWritten == 0) { in smb2_copychunk_range() 1882 le32_to_cpu(retbuf->ChunksWritten), in smb2_copychunk_range() 1893 le32_to_cpu(retbuf->ChunksWritten), in smb2_copychunk_range() 1923 kfree(retbuf); in smb2_copychunk_range() 2156 char *retbuf = NULL; in smb3_enum_snapshots() local 2189 (char **)&retbuf, in smb3_enum_snapshots() 2201 kfree(retbuf); in smb3_enum_snapshots() [all …]
|
| /linux-6.15/drivers/misc/ |
| H A D | ibmvmc.c | 97 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in h_request_vmc() local 104 rc = plpar_hcall(H_REQUEST_VMC, retbuf); in h_request_vmc() 106 *vmc_index = retbuf[0]; in h_request_vmc()
|
| /linux-6.15/drivers/scsi/ibmvscsi/ |
| H A D | ibmvfc.c | 179 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in h_reg_sub_crq() local 182 rc = plpar_hcall(H_REG_SUB_CRQ, retbuf, unit_address, ioba, length); in h_reg_sub_crq() 183 *cookie = retbuf[0]; in h_reg_sub_crq() 184 *irq = retbuf[1]; in h_reg_sub_crq()
|