FreeBSD/sys/dev/isci/scil/scif_sas_controller_state_handlers.c
//******************************************************************************
//* S T O P P I N G   H A N D L E R S
//******************************************************************************
/**
 * @brief This method provides STOPPING state specific handling for
 *        when a user attempts to start an internal request. Note that we don't
 *        start the timer for internal IO during controller stopping state.
 *
 * @param[in]  controller This parameter specifies the controller object
 *             on which the user is attempting to perform a start IO
 *             operation.
 * @param[in]  remote_device This parameter specifies the remote deivce
 *             object on which the user is attempting to perform a start IO
 *             operation.
 * @param[in]  io_request This parameter specifies the IO request to be
 *             started.
 * @param[in]  io_tag This parameter specifies the optional allocated
 *             IO tag.  Please reference scif_controller_start_io() for
 *             more information.
 *
 * @return This method returns an indication of whether the start IO
 *         operation succeeded.
 * @retval SCI_SUCCESS This value is returned when the start IO operation
 *         begins successfully.
 */
S T O P P I N G   H A N D L E R S
@brief This method provides STOPPING state specific handling for
when a user attempts to start an internal request. Note that we don't
start the timer for internal IO during controller stopping state.

@param[in]  controller This parameter specifies the controller object
on which the user is attempting to perform a start IO
operation.
@param[in]  remote_device This parameter specifies the remote deivce
object on which the user is attempting to perform a start IO
operation.
@param[in]  io_request This parameter specifies the IO request to be
started.
@param[in]  io_tag This parameter specifies the optional allocated
IO tag.  Please reference scif_controller_start_io() for
more information.

@return This method returns an indication of whether the start IO
operation succeeded.
@retval SCI_SUCCESS This value is returned when the start IO operation
begins successfully.
S T O P P I N G H A N D L E R S @brief This method provides STOPPING state specific handling for when a user attempts to start an internal request . Note that we don ' t start the timer for internal IO during controller stopping state . @param [ in ] controller This parameter specifies the controller object on which the user is attempting to perform a start IO operation . @param [ in ] remote_device This parameter specifies the remote deivce object on which the user is attempting to perform a start IO operation . @param [ in ] io_request This parameter specifies the IO request to be started . @param [ in ] io_tag This parameter specifies the optional allocated IO tag . Please reference scif_controller_start_io () for more information . @return This method returns an indication of whether the start IO operation succeeded . @retval SCI_SUCCESS This value is returned when the start IO operation begins successfully .
static
SCI_STATUS scif_sas_controller_stopping_start_high_priority_io_handler(
   SCI_BASE_CONTROLLER_T    * controller,
   SCI_BASE_REMOTE_DEVICE_T * remote_device,
   SCI_BASE_REQUEST_T       * io_request,
   U16                        io_tag
)
{
   SCIF_LOG_TRACE((
      sci_base_object_get_logger(controller),
      SCIF_LOG_OBJECT_CONTROLLER | SCIF_LOG_OBJECT_IO_REQUEST,
      "scif_sas_controller_stopping_start_high_priority_io_handler(0x%x, 0x%x, 0x%x, 0x%x) enter\n",
      controller, remote_device, io_request, io_tag
   ));
   return scif_sas_controller_common_start_high_priority_io_handler(
             controller, remote_device, io_request, io_tag);
}
static SCI_STATUS scif_sas_controller_stopping_start_high_priority_io_handler ( SCI_BASE_CONTROLLER_T * controller , SCI_BASE_REMOTE_DEVICE_T * remote_device , SCI_BASE_REQUEST_T * io_request , U16 io_tag ) { SCIF_LOG_TRACE ( ( sci_base_object_get_logger ( controller ) , SCIF_LOG_OBJECT_CONTROLLER | SCIF_LOG_OBJECT_IO_REQUEST , " \n " , controller , remote_device , io_request , io_tag ) ) ; return scif_sas_controller_common_start_high_priority_io_handler ( controller , remote_device , io_request , io_tag ) ; }
S T O P P I N G   H A N D L E R S
 @brief This method provides STOPPING state specific handling for
        when a user attempts to start an internal request.
S T O P P I N G H A N D L E R S @brief This method provides STOPPING state specific handling for when a user attempts to start an internal request .