FreeBSD/sys/dev/isci/scil/scif_sas_controller.c
/**
 * @brief This method is the starting point to complete high prority io for a
 *        controller then down to domain, device.
 *
 * @param[in] fw_controller The framework controller
 * @param[in] remote_device  The framework remote device.
 * @param[in] io_request The high priority io request to be completed.
 *
 * @return SCI_STATUS indicate the completion status from framework down to the
 *         core.
 */
@brief This method is the starting point to complete high prority io for a
controller then down to domain, device.

@param[in] fw_controller The framework controller
@param[in] remote_device  The framework remote device.
@param[in] io_request The high priority io request to be completed.

@return SCI_STATUS indicate the completion status from framework down to the
core.
@brief This method is the starting point to complete high prority io for a controller then down to domain device . @param [ in ] fw_controller The framework controller @param [ in ] remote_device The framework remote device . @param [ in ] io_request The high priority io request to be completed . @return SCI_STATUS indicate the completion status from framework down to the core .
SCI_STATUS scif_sas_controller_complete_high_priority_io(
   SCIF_SAS_CONTROLLER_T    *fw_controller,
   SCIF_SAS_REMOTE_DEVICE_T *remote_device,
   SCIF_SAS_REQUEST_T       *io_request
)
{
   SCIF_LOG_TRACE((
      sci_base_object_get_logger(fw_controller),
      SCIF_LOG_OBJECT_CONTROLLER | SCIF_LOG_OBJECT_IO_REQUEST,
      "scif_sas_controller_complete_high_priority_io(0x%x, 0x%x, 0x%x) enter\n",
      fw_controller, remote_device, io_request
   ));
   return fw_controller->state_handlers->complete_high_priority_io_handler(
             (SCI_BASE_CONTROLLER_T*) fw_controller,
             (SCI_BASE_REMOTE_DEVICE_T*) remote_device,
             (SCI_BASE_REQUEST_T*) io_request
          );
}
SCI_STATUS scif_sas_controller_complete_high_priority_io ( SCIF_SAS_CONTROLLER_T * fw_controller , SCIF_SAS_REMOTE_DEVICE_T * remote_device , SCIF_SAS_REQUEST_T * io_request ) { SCIF_LOG_TRACE ( ( sci_base_object_get_logger ( fw_controller ) , SCIF_LOG_OBJECT_CONTROLLER | SCIF_LOG_OBJECT_IO_REQUEST , " \n " , fw_controller , remote_device , io_request ) ) ; return fw_controller -> state_handlers -> complete_high_priority_io_handler ( ( SCI_BASE_CONTROLLER_T * ) fw_controller , ( SCI_BASE_REMOTE_DEVICE_T * ) remote_device , ( SCI_BASE_REQUEST_T * ) io_request ) ; }
@brief This method is the starting point to complete high prority io for a
        controller then down to domain, device.
@brief This method is the starting point to complete high prority io for a controller then down to domain device .
//call controller's new added complete_high_priority_io_handler