FreeBSD/sys/dev/isci/scil/scic_sds_controller.c
/**
 * @brief This method removes the phy from the stagger spinup control
 *        queue.
 *
 * @param[in] this_controller
 * @param[in] the_phy
 */
@brief This method removes the phy from the stagger spinup control
queue.


@brief This method removes the phy from the stagger spinup control queue .
void scic_sds_controller_power_control_queue_remove(
   SCIC_SDS_CONTROLLER_T *this_controller,
   SCIC_SDS_PHY_T        *the_phy
)
{
   ASSERT (the_phy != NULL);
   if (this_controller->power_control.requesters[the_phy->phy_index] != NULL)
   {
      this_controller->power_control.phys_waiting--;
   }
   this_controller->power_control.requesters[the_phy->phy_index] = NULL;
}
void scic_sds_controller_power_control_queue_remove ( SCIC_SDS_CONTROLLER_T * this_controller , SCIC_SDS_PHY_T * the_phy ) { ASSERT ( the_phy != NULL ) ; if ( this_controller -> power_control . requesters [ the_phy -> phy_index ] != NULL ) { this_controller -> power_control . phys_waiting -- ; } this_controller -> power_control . requesters [ the_phy -> phy_index ] = NULL ; }
@brief This method removes the phy from the stagger spinup control
        queue.
@brief This method removes the phy from the stagger spinup control queue .