FreeBSD/sys/dev/isci/scil/sci_base_state_machine.c
/**
 * @brief This method simply returns the current state of the
 *         state machine to the caller.
 *
 * @param[in] this_state_machine  This parameter specifies the state
 *            machine for which to retrieve the current state.
 *
 * @return This method returns a U32 value indicating the current state for
 *         the supplied state machine.
 */
@brief This method simply returns the current state of the
state machine to the caller.

@param[in] this_state_machine  This parameter specifies the state
machine for which to retrieve the current state.

@return This method returns a U32 value indicating the current state for
the supplied state machine.
@brief This method simply returns the current state of the state machine to the caller . @param [ in ] this_state_machine This parameter specifies the state machine for which to retrieve the current state . @return This method returns a U32 value indicating the current state for the supplied state machine .
U32 sci_base_state_machine_get_state(
   SCI_BASE_STATE_MACHINE_T *this_state_machine
)
{
   return this_state_machine->current_state_id;
}
U32 sci_base_state_machine_get_state ( SCI_BASE_STATE_MACHINE_T * this_state_machine ) { return this_state_machine -> current_state_id ; }
@brief This method simply returns the current state of the
         state machine to the caller.
@brief This method simply returns the current state of the state machine to the caller .