FreeBSD/sys/dev/isci/scil/scic_sds_phy.c
/**
 * @brief This method performs processing common to all protocols upon
 *        completion of link training.
 *
 * @param[in,out] this_phy This parameter specifies the phy object for which
 *                link training has completed.
 * @param[in]     max_link_rate This parameter specifies the maximum link
 *                rate to be associated with this phy.
 * @param[in]     next_state This parameter specifies the next state for the
 *                phy's starting sub-state machine.
 *
 * @return none
 */
@brief This method performs processing common to all protocols upon
completion of link training.

@param[in,out] this_phy This parameter specifies the phy object for which
link training has completed.
@param[in]     max_link_rate This parameter specifies the maximum link
rate to be associated with this phy.
@param[in]     next_state This parameter specifies the next state for the
phy's starting sub-state machine.

@return none
@brief This method performs processing common to all protocols upon completion of link training . @param [ in out ] this_phy This parameter specifies the phy object for which link training has completed . @param [ in ] max_link_rate This parameter specifies the maximum link rate to be associated with this phy . @param [ in ] next_state This parameter specifies the next state for the phy ' s starting sub - state machine . @return none
static
void scic_sds_phy_complete_link_training(
   SCIC_SDS_PHY_T *   this_phy,
   SCI_SAS_LINK_RATE  max_link_rate,
   U32                next_state
)
{
   this_phy->max_negotiated_speed = max_link_rate;
   sci_base_state_machine_change_state(
      scic_sds_phy_get_starting_substate_machine(this_phy), next_state
   );
}
static void scic_sds_phy_complete_link_training ( SCIC_SDS_PHY_T * this_phy , SCI_SAS_LINK_RATE max_link_rate , U32 next_state ) { this_phy -> max_negotiated_speed = max_link_rate ; sci_base_state_machine_change_state ( scic_sds_phy_get_starting_substate_machine ( this_phy ) , next_state ) ; }
@brief This method performs processing common to all protocols upon
        completion of link training.
@brief This method performs processing common to all protocols upon completion of link training .