FreeBSD/sys/dev/isci/scil/sci_base_state_machine.c
/**
 * @brief This method will cause the state machine to exit it's current
 *        state only.
 *
 * @param[in] this_state_machine This parameter specifies the state machine
 *            that is to be stopped.
 *
 * @return none
 */
@brief This method will cause the state machine to exit it's current
state only.

@param[in] this_state_machine This parameter specifies the state machine
that is to be stopped.

@return none
@brief This method will cause the state machine to exit it ' s current state only . @param [ in ] this_state_machine This parameter specifies the state machine that is to be stopped . @return none
void sci_base_state_machine_stop(
   SCI_BASE_STATE_MACHINE_T *this_state_machine
)
{
   SCI_STATE_MACHINE_EXIT_STATE(this_state_machine);
#if defined(SCI_BASE_ENABLE_SUBJECT_NOTIFICATION)
   sci_base_subject_notify(&this_state_machine->parent);
#endif
}
void sci_base_state_machine_stop ( SCI_BASE_STATE_MACHINE_T * this_state_machine ) { SCI_STATE_MACHINE_EXIT_STATE ( this_state_machine ) ; #if defined ( SCI_BASE_ENABLE_SUBJECT_NOTIFICATION ) sci_base_subject_notify ( & this_state_machine -> parent ) ; #endif }
@brief This method will cause the state machine to exit it's current
        state only.
@brief This method will cause the state machine to exit it ' s current state only .