Lines Matching refs:unit_address

131 long cxl_h_attach_process(u64 unit_address,  in cxl_h_attach_process()  argument
138 CXL_H_WAIT_UNTIL_DONE(rc, retbuf, H_ATTACH_CA_PROCESS, unit_address, virt_to_phys(element)); in cxl_h_attach_process()
140 unit_address, virt_to_phys(element), rc); in cxl_h_attach_process()
141 trace_cxl_hcall_attach(unit_address, virt_to_phys(element), retbuf[0], retbuf[1], retbuf[2], rc); in cxl_h_attach_process()
174 long cxl_h_detach_process(u64 unit_address, u64 process_token) in cxl_h_detach_process() argument
179 CXL_H_WAIT_UNTIL_DONE(rc, retbuf, H_DETACH_CA_PROCESS, unit_address, process_token); in cxl_h_detach_process()
180 _PRINT_MSG(rc, "cxl_h_detach_process(%#.16llx, 0x%.8llx): %li\n", unit_address, process_token, rc); in cxl_h_detach_process()
181 trace_cxl_hcall_detach(unit_address, process_token, rc); in cxl_h_detach_process()
205 static long cxl_h_control_function(u64 unit_address, u64 op, in cxl_h_control_function() argument
211 CXL_H9_WAIT_UNTIL_DONE(rc, retbuf, H_CONTROL_CA_FUNCTION, unit_address, op, p1, p2, p3, p4); in cxl_h_control_function()
213 unit_address, OP_STR_AFU(op), p1, p2, p3, p4, retbuf[0], rc); in cxl_h_control_function()
214 trace_cxl_hcall_control_function(unit_address, OP_STR_AFU(op), p1, p2, p3, p4, retbuf[0], rc); in cxl_h_control_function()
244 long cxl_h_reset_afu(u64 unit_address) in cxl_h_reset_afu() argument
246 return cxl_h_control_function(unit_address, in cxl_h_reset_afu()
257 long cxl_h_suspend_process(u64 unit_address, u64 process_token) in cxl_h_suspend_process() argument
259 return cxl_h_control_function(unit_address, in cxl_h_suspend_process()
270 long cxl_h_resume_process(u64 unit_address, u64 process_token) in cxl_h_resume_process() argument
272 return cxl_h_control_function(unit_address, in cxl_h_resume_process()
283 long cxl_h_read_error_state(u64 unit_address, u64 *state) in cxl_h_read_error_state() argument
285 return cxl_h_control_function(unit_address, in cxl_h_read_error_state()
298 long cxl_h_get_afu_err(u64 unit_address, u64 offset, in cxl_h_get_afu_err() argument
301 return cxl_h_control_function(unit_address, in cxl_h_get_afu_err()
318 long cxl_h_get_config(u64 unit_address, u64 cr_num, u64 offset, in cxl_h_get_config() argument
321 return cxl_h_control_function(unit_address, in cxl_h_get_config()
332 long cxl_h_terminate_process(u64 unit_address, u64 process_token) in cxl_h_terminate_process() argument
334 return cxl_h_control_function(unit_address, in cxl_h_terminate_process()
349 long cxl_h_collect_vpd(u64 unit_address, u64 record, u64 list_address, in cxl_h_collect_vpd() argument
352 return cxl_h_control_function(unit_address, in cxl_h_collect_vpd()
361 long cxl_h_get_fn_error_interrupt(u64 unit_address, u64 *reg) in cxl_h_get_fn_error_interrupt() argument
363 return cxl_h_control_function(unit_address, in cxl_h_get_fn_error_interrupt()
373 long cxl_h_ack_fn_error_interrupt(u64 unit_address, u64 value) in cxl_h_ack_fn_error_interrupt() argument
375 return cxl_h_control_function(unit_address, in cxl_h_ack_fn_error_interrupt()
385 long cxl_h_get_error_log(u64 unit_address, u64 value) in cxl_h_get_error_log() argument
387 return cxl_h_control_function(unit_address, in cxl_h_get_error_log()
397 long cxl_h_collect_int_info(u64 unit_address, u64 process_token, in cxl_h_collect_int_info() argument
405 unit_address, process_token); in cxl_h_collect_int_info()
407 unit_address, process_token, rc); in cxl_h_collect_int_info()
408 trace_cxl_hcall_collect_int_info(unit_address, process_token, rc); in cxl_h_collect_int_info()
438 long cxl_h_control_faults(u64 unit_address, u64 process_token, in cxl_h_control_faults() argument
446 rc = plpar_hcall(H_CONTROL_CA_FAULTS, retbuf, unit_address, in cxl_h_control_faults()
450 unit_address, process_token, control_mask, reset_mask, in cxl_h_control_faults()
452 trace_cxl_hcall_control_faults(unit_address, process_token, in cxl_h_control_faults()
478 static long cxl_h_control_facility(u64 unit_address, u64 op, in cxl_h_control_facility() argument
484 CXL_H9_WAIT_UNTIL_DONE(rc, retbuf, H_CONTROL_CA_FACILITY, unit_address, op, p1, p2, p3, p4); in cxl_h_control_facility()
486 unit_address, OP_STR_CONTROL_ADAPTER(op), p1, p2, p3, p4, retbuf[0], rc); in cxl_h_control_facility()
487 …trace_cxl_hcall_control_facility(unit_address, OP_STR_CONTROL_ADAPTER(op), p1, p2, p3, p4, retbuf[… in cxl_h_control_facility()
515 long cxl_h_reset_adapter(u64 unit_address) in cxl_h_reset_adapter() argument
517 return cxl_h_control_facility(unit_address, in cxl_h_reset_adapter()
530 long cxl_h_collect_vpd_adapter(u64 unit_address, u64 list_address, in cxl_h_collect_vpd_adapter() argument
533 return cxl_h_control_facility(unit_address, in cxl_h_collect_vpd_adapter()
558 static long cxl_h_download_facility(u64 unit_address, u64 op, in cxl_h_download_facility() argument
573 unit_address, op, list_address, num, in cxl_h_download_facility()
593 unit_address, OP_STR_DOWNLOAD_ADAPTER(op), list_address, num, retbuf[0], rc); in cxl_h_download_facility()
594 …trace_cxl_hcall_download_facility(unit_address, OP_STR_DOWNLOAD_ADAPTER(op), list_address, num, re… in cxl_h_download_facility()
623 long cxl_h_download_adapter_image(u64 unit_address, in cxl_h_download_adapter_image() argument
627 return cxl_h_download_facility(unit_address, in cxl_h_download_adapter_image()
636 long cxl_h_validate_adapter_image(u64 unit_address, in cxl_h_validate_adapter_image() argument
640 return cxl_h_download_facility(unit_address, in cxl_h_validate_adapter_image()