FreeBSD/sys/dev/isci/scil/scic_sds_phy.c
/**
 * @brief This method returns the local sas address assigned to this phy.
 *
 * @param[in] this_phy This parameter specifies the phy for which
 *            to retrieve the local SAS address.
 * @param[out] sas_address This parameter specifies the location into
 *             which to copy the local SAS address.
 *
 * @return none
 */
@brief This method returns the local sas address assigned to this phy.
@param[in] this_phy This parameter specifies the phy for which
to retrieve the local SAS address.
@param[out] sas_address This parameter specifies the location into
which to copy the local SAS address.

@return none
@brief This method returns the local sas address assigned to this phy . @param [ in ] this_phy This parameter specifies the phy for which to retrieve the local SAS address . @param [ out ] sas_address This parameter specifies the location into which to copy the local SAS address . @return none
void scic_sds_phy_get_sas_address(
   SCIC_SDS_PHY_T *this_phy,
   SCI_SAS_ADDRESS_T *sas_address
)
{
   SCIC_LOG_TRACE((
      sci_base_object_get_logger(this_phy),
      SCIC_LOG_OBJECT_PHY,
      "scic_sds_phy_get_sas_address(this_phy:0x%x, sas_address:0x%x)\n",
      this_phy, sas_address
   ));
   sas_address->high = SCU_SAS_TISSAH_READ(this_phy);
   sas_address->low  = SCU_SAS_TISSAL_READ(this_phy);
}
void scic_sds_phy_get_sas_address ( SCIC_SDS_PHY_T * this_phy , SCI_SAS_ADDRESS_T * sas_address ) { SCIC_LOG_TRACE ( ( sci_base_object_get_logger ( this_phy ) , SCIC_LOG_OBJECT_PHY , " \n " , this_phy , sas_address ) ) ; sas_address -> high = SCU_SAS_TISSAH_READ ( this_phy ) ; sas_address -> low = SCU_SAS_TISSAL_READ ( this_phy ) ; }
@brief This method returns the local sas address assigned to this phy.
@brief This method returns the local sas address assigned to this phy .