FreeBSD/sys/dev/isci/scil/scic_sds_remote_device.c
/**
 * This method will enable and turn on state transition logging for the remote
 * device object.
 *
 * @param[in] this_device The device for which state transition logging is to
 *       be enabled.
 *
 * @return Nothing
 */
This method will enable and turn on state transition logging for the remote
device object.

@param[in] this_device The device for which state transition logging is to
be enabled.

@return Nothing
This method will enable and turn on state transition logging for the remote device object . @param [ in ] this_device The device for which state transition logging is to be enabled . @return Nothing
void scic_sds_remote_device_initialize_state_logging(
   SCIC_SDS_REMOTE_DEVICE_T *this_device
)
{
   sci_base_state_machine_logger_initialize(
      &this_device->parent.state_machine_logger,
      &this_device->parent.state_machine,
      &this_device->parent.parent,
      scic_cb_logger_log_states,
      "SCIC_SDS_REMOTE_DEVICE_T", "base state machine",
      SCIC_LOG_OBJECT_SSP_REMOTE_TARGET |
      SCIC_LOG_OBJECT_SMP_REMOTE_TARGET |
      SCIC_LOG_OBJECT_STP_REMOTE_TARGET
   );
   if (this_device->has_ready_substate_machine)
   {
      sci_base_state_machine_logger_initialize(
         &this_device->ready_substate_machine_logger,
         &this_device->ready_substate_machine,
         &this_device->parent.parent,
         scic_cb_logger_log_states,
         "SCIC_SDS_REMOTE_DEVICE_T", "ready substate machine",
         SCIC_LOG_OBJECT_SSP_REMOTE_TARGET |
         SCIC_LOG_OBJECT_SMP_REMOTE_TARGET |
         SCIC_LOG_OBJECT_STP_REMOTE_TARGET
      );
   }
}
void scic_sds_remote_device_initialize_state_logging ( SCIC_SDS_REMOTE_DEVICE_T * this_device ) { sci_base_state_machine_logger_initialize ( & this_device -> parent . state_machine_logger , & this_device -> parent . state_machine , & this_device -> parent . parent , scic_cb_logger_log_states , " " , " " , SCIC_LOG_OBJECT_SSP_REMOTE_TARGET | SCIC_LOG_OBJECT_SMP_REMOTE_TARGET | SCIC_LOG_OBJECT_STP_REMOTE_TARGET ) ; if ( this_device -> has_ready_substate_machine ) { sci_base_state_machine_logger_initialize ( & this_device -> ready_substate_machine_logger , & this_device -> ready_substate_machine , & this_device -> parent . parent , scic_cb_logger_log_states , " " , " " , SCIC_LOG_OBJECT_SSP_REMOTE_TARGET | SCIC_LOG_OBJECT_SMP_REMOTE_TARGET | SCIC_LOG_OBJECT_STP_REMOTE_TARGET ) ; } }
This method will enable and turn on state transition logging for the remote
 device object.
This method will enable and turn on state transition logging for the remote device object .