FreeBSD/sys/dev/isci/scil/scic_sds_phy.c
/**
 * @brief This method release resources in for a scic phy.
 *
 * @param[in] controller This parameter specifies the core controller, one of
 *            its phy's resources are to be released.
 * @param[in] this_phy This parameter specifies the phy whose resource is to
 *            be released.
 */
@brief This method release resources in for a scic phy.
@param[in] controller This parameter specifies the core controller, one of
its phy's resources are to be released.
@param[in] this_phy This parameter specifies the phy whose resource is to
be released.
@brief This method release resources in for a scic phy . @param [ in ] controller This parameter specifies the core controller one of its phy ' s resources are to be released . @param [ in ] this_phy This parameter specifies the phy whose resource is to be released .
void scic_sds_phy_release_resource(
   SCIC_SDS_CONTROLLER_T * controller,
   SCIC_SDS_PHY_T        * this_phy
)
{
   SCIC_LOG_TRACE((
      sci_base_object_get_logger(this_phy),
      SCIC_LOG_OBJECT_PHY,
      "scic_sds_phy_release_resource(0x%x, 0x%x)\n",
      controller, this_phy
   ));
   if (this_phy->sata_timeout_timer != NULL)
   {
      scic_cb_timer_destroy(controller, this_phy->sata_timeout_timer);
      this_phy->sata_timeout_timer = NULL;
   }
}
void scic_sds_phy_release_resource ( SCIC_SDS_CONTROLLER_T * controller , SCIC_SDS_PHY_T * this_phy ) { SCIC_LOG_TRACE ( ( sci_base_object_get_logger ( this_phy ) , SCIC_LOG_OBJECT_PHY , " \n " , controller , this_phy ) ) ; if ( this_phy -> sata_timeout_timer != NULL ) { scic_cb_timer_destroy ( controller , this_phy -> sata_timeout_timer ) ; this_phy -> sata_timeout_timer = NULL ; } }
@brief This method release resources in for a scic phy.
@brief This method release resources in for a scic phy .
//Currently, the only resource to be released is a timer.