FreeBSD/sys/dev/isci/scil/scic_sds_controller.c
/**
 * This method implements the actions taken by the SCIC_SDS_CONTROLLER on
 * entry to the SCI_BASE_CONTROLLER_STATE_STOPPED.
 *    - Set the state handlers to the controllers stopped state.
 *
 * @param[in] object This is the SCI_BASE_OBJECT which is cast to a
 *       SCIC_SDS_CONTROLLER object.
 *
 * @return none
 */
This method implements the actions taken by the SCIC_SDS_CONTROLLER on
entry to the SCI_BASE_CONTROLLER_STATE_STOPPED.
- Set the state handlers to the controllers stopped state.

@param[in] object This is the SCI_BASE_OBJECT which is cast to a
SCIC_SDS_CONTROLLER object.

@return none
This method implements the actions taken by the SCIC_SDS_CONTROLLER on entry to the SCI_BASE_CONTROLLER_STATE_STOPPED . - Set the state handlers to the controllers stopped state . @param [ in ] object This is the SCI_BASE_OBJECT which is cast to a SCIC_SDS_CONTROLLER object . @return none
static
void scic_sds_controller_stopped_state_enter(
   SCI_BASE_OBJECT_T *object
)
{
   SCIC_SDS_CONTROLLER_T *this_controller;
   this_controller= (SCIC_SDS_CONTROLLER_T *)object;
   scic_sds_controller_set_base_state_handlers(
      this_controller, SCI_BASE_CONTROLLER_STATE_STOPPED);
   scic_cb_timer_destroy(
      this_controller,
      this_controller->timeout_timer
   );
   this_controller->timeout_timer = NULL;
   scic_sds_controller_stop_phys(this_controller);
   scic_sds_port_configuration_agent_destroy(
      this_controller,
      &this_controller->port_agent
   );
   scic_cb_controller_stop_complete(this_controller, SCI_SUCCESS);
}
static void scic_sds_controller_stopped_state_enter ( SCI_BASE_OBJECT_T * object ) { SCIC_SDS_CONTROLLER_T * this_controller ; this_controller = ( SCIC_SDS_CONTROLLER_T * ) object ; scic_sds_controller_set_base_state_handlers ( this_controller , SCI_BASE_CONTROLLER_STATE_STOPPED ) ; scic_cb_timer_destroy ( this_controller , this_controller -> timeout_timer ) ; this_controller -> timeout_timer = NULL ; scic_sds_controller_stop_phys ( this_controller ) ; scic_sds_port_configuration_agent_destroy ( this_controller , & this_controller -> port_agent ) ; scic_cb_controller_stop_complete ( this_controller , SCI_SUCCESS ) ; }
This method implements the actions taken by the SCIC_SDS_CONTROLLER on
 entry to the SCI_BASE_CONTROLLER_STATE_STOPPED.
This method implements the actions taken by the SCIC_SDS_CONTROLLER on entry to the SCI_BASE_CONTROLLER_STATE_STOPPED .
// We are done with this timer until the next timer we initialize // Controller has stopped so disable all the phys on this controller