FreeBSD/sys/dev/isci/scil/sci_base_phy.c
//******************************************************************************
//* P R O T E C T E D   M E T H O D S
//******************************************************************************
P R O T E C T E D   M E T H O D S
P R O T E C T E D M E T H O D S
void sci_base_phy_construct(
   SCI_BASE_PHY_T    *this_phy,
   SCI_BASE_LOGGER_T *logger,
   SCI_BASE_STATE_T  *state_table
)
{
   sci_base_object_construct(&this_phy->parent, logger);
   sci_base_state_machine_construct(
      &this_phy->state_machine,
      &this_phy->parent,
      state_table,
      SCI_BASE_PHY_STATE_INITIAL
   );
   sci_base_state_machine_start(
      &this_phy->state_machine
   );
}
void sci_base_phy_construct ( SCI_BASE_PHY_T * this_phy , SCI_BASE_LOGGER_T * logger , SCI_BASE_STATE_T * state_table ) { sci_base_object_construct ( & this_phy -> parent , logger ) ; sci_base_state_machine_construct ( & this_phy -> state_machine , & this_phy -> parent , state_table , SCI_BASE_PHY_STATE_INITIAL ) ; sci_base_state_machine_start ( & this_phy -> state_machine ) ; }
P R O T E C T E D   M E T H O D S
P R O T E C T E D M E T H O D S