FreeBSD/sys/dev/isci/scil/scic_sds_phy.c
/**
 * This method initializes the state record debug information for the phy
 * object.
 *
 * @pre The state machines for the phy object must be constructed before this
 *      function is called.
 *
 * @param this_phy The phy which is being initialized.
 */


@pre The state machines for the phy object must be constructed before this
function is called.

@param this_phy The phy which is being initialized.
@pre The state machines for the phy object must be constructed before this function is called . @param this_phy The phy which is being initialized .
void scic_sds_phy_initialize_state_recording(
   SCIC_SDS_PHY_T *this_phy
)
{
   this_phy->state_record.index = 0;
   sci_base_observer_initialize(
      &this_phy->state_record.base_state_observer,
      scic_sds_phy_observe_state_change,
      &this_phy->parent.state_machine.parent
   );
   sci_base_observer_initialize(
      &this_phy->state_record.starting_state_observer,
      scic_sds_phy_observe_state_change,
      &this_phy->starting_substate_machine.parent
   );
}
void scic_sds_phy_initialize_state_recording ( SCIC_SDS_PHY_T * this_phy ) { this_phy -> state_record . index = 0 ; sci_base_observer_initialize ( & this_phy -> state_record . base_state_observer , scic_sds_phy_observe_state_change , & this_phy -> parent . state_machine . parent ) ; sci_base_observer_initialize ( & this_phy -> state_record . starting_state_observer , scic_sds_phy_observe_state_change , & this_phy -> starting_substate_machine . parent ) ; }
This method initializes the state record debug information for the phy
 object.
This method initializes the state record debug information for the phy object .