Home
last modified time | relevance | path

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

/linux/arch/powerpc/include/asm/
A Dplpar_wrappers.h106 *slot = retbuf[0]; in plpar_pte_enter()
120 *old_pteh_ret = retbuf[0]; in plpar_pte_remove()
121 *old_ptel_ret = retbuf[1]; in plpar_pte_remove()
136 *old_pteh_ret = retbuf[0]; in plpar_pte_remove_raw()
137 *old_ptel_ret = retbuf[1]; in plpar_pte_remove_raw()
150 *old_pteh_ret = retbuf[0]; in plpar_pte_read()
151 *old_ptel_ret = retbuf[1]; in plpar_pte_read()
165 *old_pteh_ret = retbuf[0]; in plpar_pte_read_raw()
166 *old_ptel_ret = retbuf[1]; in plpar_pte_read_raw()
232 *tce_ret = retbuf[0]; in plpar_tce_get()
[all …]
A Dhvcall.h475 long plpar_hcall(unsigned long opcode, unsigned long *retbuf, ...);
489 long plpar_hcall_raw(unsigned long opcode, unsigned long *retbuf, ...);
500 long plpar_hcall9(unsigned long opcode, unsigned long *retbuf, ...);
501 long plpar_hcall9_raw(unsigned long opcode, unsigned long *retbuf, ...);
A Dtrace.h100 TP_PROTO(unsigned long opcode, long retval, unsigned long *retbuf),
102 TP_ARGS(opcode, retval, retbuf),
A Dasm-prototypes.h36 void __trace_hcall_exit(long opcode, long retval, unsigned long *retbuf);
/linux/drivers/misc/cxl/
A Dhcalls.c54 memset(retbuf, 0, sizeof(retbuf)); \
57 token = retbuf[0]; \
141 trace_cxl_hcall_attach(unit_address, virt_to_phys(element), retbuf[0], retbuf[1], retbuf[2], rc); in cxl_h_attach_process()
144 retbuf[0], retbuf[1], retbuf[2]); in cxl_h_attach_process()
221 *out = retbuf[0]; in cxl_h_control_function()
444 memset(retbuf, 0, sizeof(retbuf)); in cxl_h_control_faults()
451 rc, retbuf[0]); in cxl_h_control_faults()
492 *out = retbuf[0]; in cxl_h_control_facility()
570 memset(retbuf, 0, sizeof(retbuf)); in cxl_h_download_facility()
575 token = retbuf[0]; in cxl_h_download_facility()
[all …]
/linux/arch/powerpc/sysdev/xive/
A Dspapr.c180 *src_flags = retbuf[0]; in plpar_int_get_source_info()
181 *eoi_page = retbuf[1]; in plpar_int_get_source_info()
182 *trig_page = retbuf[2]; in plpar_int_get_source_info()
186 retbuf[0], retbuf[1], retbuf[2], retbuf[3]); in plpar_int_get_source_info()
243 *target = retbuf[0]; in plpar_int_get_source_config()
244 *prio = retbuf[1]; in plpar_int_get_source_config()
245 *sw_irq = retbuf[2]; in plpar_int_get_source_config()
248 retbuf[0], retbuf[1], retbuf[2]); in plpar_int_get_source_config()
273 *esn_page = retbuf[0]; in plpar_int_get_queue_info()
274 *esn_size = retbuf[1]; in plpar_int_get_queue_info()
[all …]
/linux/arch/powerpc/platforms/pseries/
A Dlparcfg.c116 unsigned long retbuf[PLPAR_HCALL9_BUFSIZE]; in h_get_ppp() local
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()
176 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in h_pic() local
178 rc = plpar_hcall(H_PIC, retbuf); in h_pic()
180 *pool_idle_time = retbuf[0]; in h_pic()
181 *num_procs = retbuf[1]; in h_pic()
[all …]
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 Drng.c17 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in pseries_get_random_long() local
19 if (plpar_hcall(H_RANDOM, retbuf) == H_SUCCESS) { in pseries_get_random_long()
20 *v = retbuf[0]; in pseries_get_random_long()
A Dlpar.c1065 rc = plpar_hcall9(H_BLOCK_REMOVE, retbuf, in call_block_remove()
1882 trace_hcall_exit(opcode, retval, retbuf); in __trace_hcall_exit()
1900 rc = plpar_hcall9(H_GET_MPP, retbuf); in h_get_mpp()
1902 mpp_data->entitled_mem = retbuf[0]; in h_get_mpp()
1903 mpp_data->mapped_mem = retbuf[1]; in h_get_mpp()
1906 mpp_data->pool_num = retbuf[2] & 0xffff; in h_get_mpp()
1912 mpp_data->pool_size = retbuf[4]; in h_get_mpp()
1913 mpp_data->loan_request = retbuf[5]; in h_get_mpp()
1914 mpp_data->backing_mem = retbuf[6]; in h_get_mpp()
1925 rc = plpar_hcall9(H_GET_MPP_X, retbuf); in h_get_mpp_x()
[all …]
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 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 Dsuspend.c30 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in pseries_suspend_begin() local
33 rc = plpar_hcall(H_VASI_STATE, retbuf, stream_id); in pseries_suspend_begin()
35 vasi_state = retbuf[0]; in pseries_suspend_begin()
A Dvas.c52 long retbuf[PLPAR_HCALL9_BUFSIZE] = {0}; in h_allocate_vas_window() local
56 rc = plpar_hcall9(H_ALLOCATE_VAS_WINDOW, retbuf, wintype, in h_allocate_vas_window()
68 win->vas_win.winid = retbuf[0]; in h_allocate_vas_window()
69 win->win_addr = retbuf[1]; in h_allocate_vas_window()
70 win->complete_irq = retbuf[2]; in h_allocate_vas_window()
71 win->fault_irq = retbuf[3]; in h_allocate_vas_window()
A Dmobility.c371 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in poll_vasi_state() local
375 hvrc = plpar_hcall(H_VASI_STATE, retbuf, handle); in poll_vasi_state()
379 *res = retbuf[0]; in poll_vasi_state()
A DhvCall_inst.c99 unsigned long *retbuf) in probe_hcall_exit() argument
/linux/drivers/net/ethernet/ibm/
A Dibmveth.h56 unsigned long retbuf[PLPAR_HCALL9_BUFSIZE]; in h_send_logical_lan() local
59 rc = plpar_hcall9(H_SEND_LOGICAL_LAN, retbuf, unit_address, in h_send_logical_lan()
63 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()
A Dibmvnic.c175 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in h_reg_sub_crq() local
178 rc = plpar_hcall(H_REG_SUB_CRQ, retbuf, unit_address, token, length); in h_reg_sub_crq()
179 *number = retbuf[0]; in h_reg_sub_crq()
180 *irq = retbuf[1]; in h_reg_sub_crq()
5854 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in failover_store() local
5861 rc = plpar_hcall(H_VIOCTL, retbuf, adapter->vdev->unit_address, in failover_store()
5869 session_token = (__be64)retbuf[0]; in failover_store()
/linux/tools/testing/selftests/powerpc/vphn/
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()
/linux/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()
/linux/fs/cifs/
A Dsmb2ops.c1872 kfree(retbuf); in smb2_copychunk_range()
1873 retbuf = NULL; in smb2_copychunk_range()
1878 (char **)&retbuf, &ret_data_len); in smb2_copychunk_range()
1886 if (retbuf->TotalBytesWritten == 0) { in smb2_copychunk_range()
1914 le32_to_cpu(retbuf->ChunksWritten), in smb2_copychunk_range()
1922 le32_to_cpu(retbuf->ChunksWritten), in smb2_copychunk_range()
1952 kfree(retbuf); in smb2_copychunk_range()
2177 char *retbuf = NULL; in smb3_enum_snapshots() local
2211 (char **)&retbuf, in smb3_enum_snapshots()
2223 kfree(retbuf); in smb3_enum_snapshots()
[all …]
/linux/drivers/misc/
A Dibmvmc.c97 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/drivers/scsi/ibmvscsi/
A Dibmvfc.c172 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in h_reg_sub_crq() local
175 rc = plpar_hcall(H_REG_SUB_CRQ, retbuf, unit_address, ioba, length); in h_reg_sub_crq()
176 *cookie = retbuf[0]; in h_reg_sub_crq()
177 *irq = retbuf[1]; in h_reg_sub_crq()

Completed in 72 milliseconds