FreeBSD/sys/dev/isci/scil/scic_sds_phy.c
/**
 * This method will stop the SCIC_SDS_PHY object. This does not reset the
 * protocol engine it just suspends it and places it in a state where it will
 * not cause the end device to power up.
 *
 * @param[in] this_phy This is the SCIC_SDS_PHY object to stop.
 *
 * @return none
 */
This method will stop the SCIC_SDS_PHY object. This does not reset the
protocol engine it just suspends it and places it in a state where it will
not cause the end device to power up.

@param[in] this_phy This is the SCIC_SDS_PHY object to stop.

@return none
This method will stop the SCIC_SDS_PHY object . This does not reset the protocol engine it just suspends it and places it in a state where it will not cause the end device to power up . @param [ in ] this_phy This is the SCIC_SDS_PHY object to stop . @return none
static
void scu_link_layer_stop_protocol_engine(
   SCIC_SDS_PHY_T *this_phy
)
{
   U32 scu_sas_pcfg_value;
   U32 enable_spinup_value;
   scu_sas_pcfg_value  = SCU_SAS_PCFG_READ(this_phy);
   scu_sas_pcfg_value |= (
                           SCU_SAS_PCFG_GEN_BIT(OOB_RESET)
                         | SCU_SAS_PCFG_GEN_BIT(SUSPEND_PROTOCOL_ENGINE)
                         | SCU_SAS_PCFG_GEN_BIT(SATA_SPINUP_HOLD)
                         );
   SCU_SAS_PCFG_WRITE(this_phy, scu_sas_pcfg_value);
   enable_spinup_value = SCU_SAS_ENSPINUP_READ(this_phy);
   enable_spinup_value &= ~SCU_ENSPINUP_GEN_BIT(ENABLE);
   SCU_SAS_ENSPINUP_WRITE(this_phy, enable_spinup_value);
}
static void scu_link_layer_stop_protocol_engine ( SCIC_SDS_PHY_T * this_phy ) { U32 scu_sas_pcfg_value ; U32 enable_spinup_value ; scu_sas_pcfg_value = SCU_SAS_PCFG_READ ( this_phy ) ; scu_sas_pcfg_value |= ( SCU_SAS_PCFG_GEN_BIT ( OOB_RESET ) | SCU_SAS_PCFG_GEN_BIT ( SUSPEND_PROTOCOL_ENGINE ) | SCU_SAS_PCFG_GEN_BIT ( SATA_SPINUP_HOLD ) ) ; SCU_SAS_PCFG_WRITE ( this_phy , scu_sas_pcfg_value ) ; enable_spinup_value = SCU_SAS_ENSPINUP_READ ( this_phy ) ; enable_spinup_value &= ~ SCU_ENSPINUP_GEN_BIT ( ENABLE ) ; SCU_SAS_ENSPINUP_WRITE ( this_phy , enable_spinup_value ) ; }
This method will stop the SCIC_SDS_PHY object.
This method will stop the SCIC_SDS_PHY object .
// Suspend the protocol engine and place it in a sata spinup hold state // Disable the notify enable spinup primitives