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_READY.
 *    - This function sets the state handlers for the phy object base state
 * machine ready state.
 *    - The SCU hardware protocol engine is resumed.
 *    - The SCIC_SDS_CONTROLLER is informed that the phy object has gone link
 *      up.
 *
 * @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_READY.
- This function sets the state handlers for the phy object base state
machine ready state.
- The SCU hardware protocol engine is resumed.
- The SCIC_SDS_CONTROLLER is informed that the phy object has gone link
up.

@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_READY . - This function sets the state handlers for the phy object base state machine ready state . - The SCU hardware protocol engine is resumed . - The SCIC_SDS_CONTROLLER is informed that the phy object has gone link up . @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_ready_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_READY);
   scic_sds_controller_link_up(
      scic_sds_phy_get_controller(this_phy),
      scic_sds_phy_get_port(this_phy),
      this_phy
   );
}
static void scic_sds_phy_ready_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_READY ) ; scic_sds_controller_link_up ( scic_sds_phy_get_controller ( this_phy ) , scic_sds_phy_get_port ( this_phy ) , this_phy ) ; }
This method will perform the actions required by the SCIC_SDS_PHY on
 entering the SCI_BASE_PHY_STATE_READY.
This method will perform the actions required by the SCIC_SDS_PHY on entering the SCI_BASE_PHY_STATE_READY .