FreeBSD/sys/dev/isci/scil/scic_sds_phy.c
/**
 * This method will perform the actions required by the SCIC_SDS_PHY on
 * entering the SCI_BASE_PHY_STATE_INITIAL.
 *    - This function sets the state handlers for the phy object base state
 * machine initial state.
 *    - The SCU hardware is requested to stop the protocol engine.
 *
 * @param[in] object This is the SCI_BASE_OBJECT which is cast to a
 *       SCIC_SDS_PHY object.
 *
 * @return none
 */
This method will perform the actions required by the SCIC_SDS_PHY on
entering the SCI_BASE_PHY_STATE_INITIAL.
- This function sets the state handlers for the phy object base state
machine initial state.
- The SCU hardware is requested to stop the protocol engine.

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

@return none
This method will perform the actions required by the SCIC_SDS_PHY on entering the SCI_BASE_PHY_STATE_INITIAL . - This function sets the state handlers for the phy object base state machine initial state . - The SCU hardware is requested to stop the protocol engine . @param [ in ] object This is the SCI_BASE_OBJECT which is cast to a SCIC_SDS_PHY object . @return none
static
void scic_sds_phy_stopped_state_enter(
   SCI_BASE_OBJECT_T *object
)
{
   SCIC_SDS_PHY_T *this_phy;
   this_phy = (SCIC_SDS_PHY_T *)object;
   scic_sds_phy_set_base_state_handlers(this_phy, SCI_BASE_PHY_STATE_STOPPED);
   if (this_phy->sata_timeout_timer != NULL)
   {
      scic_cb_timer_destroy(
         scic_sds_phy_get_controller(this_phy),
         this_phy->sata_timeout_timer
      );
      this_phy->sata_timeout_timer = NULL;
   }
   scu_link_layer_stop_protocol_engine(this_phy);
}
static void scic_sds_phy_stopped_state_enter ( SCI_BASE_OBJECT_T * object ) { SCIC_SDS_PHY_T * this_phy ; this_phy = ( SCIC_SDS_PHY_T * ) object ; scic_sds_phy_set_base_state_handlers ( this_phy , SCI_BASE_PHY_STATE_STOPPED ) ; if ( this_phy -> sata_timeout_timer != NULL ) { scic_cb_timer_destroy ( scic_sds_phy_get_controller ( this_phy ) , this_phy -> sata_timeout_timer ) ; this_phy -> sata_timeout_timer = NULL ; } scu_link_layer_stop_protocol_engine ( this_phy ) ; }
This method will perform the actions required by the SCIC_SDS_PHY on
 entering the SCI_BASE_PHY_STATE_INITIAL.
This method will perform the actions required by the SCIC_SDS_PHY on entering the SCI_BASE_PHY_STATE_INITIAL .
/// @todo We need to get to the controller to place this PE in a reset state