Lines Matching +full:parameter +full:- +full:less

1 // SPDX-License-Identifier: GPL-2.0-or-later
35 #define H_CONTROL_CA_FUNCTION_GET_FUNCTION_ERR_INT 11 /* read the function-wide error data based …
36 #define H_CONTROL_CA_FUNCTION_ACK_FUNCTION_ERR_INT 12 /* acknowledge function-wide error data bas…
155 case H_PARAMETER: /* An incorrect parameter was supplied. */ in cxl_h_attach_process()
157 return -EINVAL; in cxl_h_attach_process()
163 return -EBUSY; in cxl_h_attach_process()
166 return -EINVAL; in cxl_h_attach_process()
171 * cxl_h_detach_process - Detach a process element from a coherent
186 case H_PARAMETER: /* An incorrect parameter was supplied. */ in cxl_h_detach_process()
187 return -EINVAL; in cxl_h_detach_process()
193 return -EBUSY; in cxl_h_detach_process()
196 return -EINVAL; in cxl_h_detach_process()
201 * cxl_h_control_function - This H_CONTROL_CA_FUNCTION hypervisor call allows
223 case H_PARAMETER: /* An incorrect parameter was supplied. */ in cxl_h_control_function()
228 return -EINVAL; in cxl_h_control_function()
234 return -EBUSY; in cxl_h_control_function()
237 return -EINVAL; in cxl_h_control_function()
242 * cxl_h_reset_afu - Perform a reset to the coherent platform function.
253 * cxl_h_suspend_process - Suspend a process from being executed
254 * Parameter1 = process-token as returned from H_ATTACH_CA_PROCESS when
266 * cxl_h_resume_process - Resume a process to be executed
267 * Parameter1 = process-token as returned from H_ATTACH_CA_PROCESS when
279 * cxl_h_read_error_state - Checks the error state of the coherent
292 * cxl_h_get_afu_err - collect the AFU error buffer
294 * are between 0 and (ibm,error-buffer-size - 1)
296 * Parameter3 = length of error buffer, valid values are 4K or less
308 * cxl_h_get_config - collect configuration record for the
311 * between 0 and (ibm,#config-records - 1)
313 * valid values are between 0 and (ibm,config-record-size - 1)
316 * Parameter4 = length of configuration buffer, valid values are 4K or less
328 * cxl_h_terminate_process - Terminate the process before completion
329 * Parameter1 = process-token as returned from H_ATTACH_CA_PROCESS when
341 * cxl_h_collect_vpd - Collect VPD for the coherent platform function.
343 * and (ibm,#config-records - 1).
359 * cxl_h_get_fn_error_interrupt - Read the function-wide error data based on an interrupt
369 * cxl_h_ack_fn_error_interrupt - Acknowledge function-wide error data
371 * Parameter1 = value to write to the function-wide error interrupt register
382 * cxl_h_get_error_log - Retrieve the Platform Log ID (PLID) of
394 * cxl_h_collect_int_info - Collect interrupt info about a coherent
413 info->dsisr, info->dar, info->dsr, info->reserved, in cxl_h_collect_int_info()
414 info->afu_err, info->errstat); in cxl_h_collect_int_info()
416 case H_PARAMETER: /* An incorrect parameter was supplied. */ in cxl_h_collect_int_info()
417 return -EINVAL; in cxl_h_collect_int_info()
421 return -EBUSY; in cxl_h_collect_int_info()
424 return -EINVAL; in cxl_h_collect_int_info()
429 * cxl_h_control_faults - Control the operation of a coherent platform
433 * control-mask: value to control the faults
435 * reset-mask: mask to control reset of function faults
458 case H_PARAMETER: /* An incorrect parameter was supplied. */ in cxl_h_control_faults()
459 return -EINVAL; in cxl_h_control_faults()
463 return -EBUSY; in cxl_h_control_faults()
466 return -EINVAL; in cxl_h_control_faults()
469 return -EINVAL; in cxl_h_control_faults()
474 * cxl_h_control_facility - This H_CONTROL_CA_FACILITY hypervisor call
494 case H_PARAMETER: /* An incorrect parameter was supplied. */ in cxl_h_control_facility()
499 return -EINVAL; in cxl_h_control_facility()
505 return -EBUSY; in cxl_h_control_facility()
508 return -EINVAL; in cxl_h_control_facility()
513 * cxl_h_reset_adapter - Perform a reset to the coherent platform facility.
524 * cxl_h_collect_vpd - Collect VPD for the coherent platform function.
540 * cxl_h_download_facility - This H_DOWNLOAD_CA_FACILITY
599 case H_PARAMETER: /* An incorrect parameter was supplied */ in cxl_h_download_facility()
603 return -EINVAL; in cxl_h_download_facility()
609 return -EBUSY; in cxl_h_download_facility()
615 return -EINVAL; in cxl_h_download_facility()
620 * cxl_h_download_adapter_image - Download the base image to the coherent
633 * cxl_h_validate_adapter_image - Validate the base image in the coherent