Lines Matching defs:state

65 const char *rnc_state_name(enum scis_sds_remote_node_context_states state)
69 return strings[state];
75 * @sci_rnc: The state of the remote node context object to check.
77 * This method will return true if the remote node context is in a READY state
79 * the ready state. false if the remote node context is not in the ready state.
170 * to its ready state. If the remote node context is already setup to
171 * transition to its final state then this function does nothing. none
278 /* Check to see if we have gotten back to the initial state because
428 enum scis_sds_remote_node_context_states state;
431 state = sci_rnc->sm.current_state_id;
432 switch (state) {
514 "%s: invalid state: %s\n", __func__,
515 rnc_state_name(state));
522 "%s: code: %#x state: %s\n", __func__, event_code,
523 rnc_state_name(state));
532 enum scis_sds_remote_node_context_states state;
534 state = sci_rnc->sm.current_state_id;
535 switch (state) {
552 "%s: invalid state: %s\n", __func__,
553 rnc_state_name(state));
555 * can not fail since it is either in the initial/destroyed state or is
561 "%s: invalid state %s\n", __func__,
562 rnc_state_name(state));
572 enum scis_sds_remote_node_context_states state
580 "%s: current state %s, current suspend_type %x dest state %d,"
582 __func__, rnc_state_name(state), sci_rnc->suspend_type,
586 /* Disable automatic state continuations if explicitly suspending. */
591 switch (state) {
605 /* Set the destination state to AWAIT - this signals the
606 * entry into the SCI_RNC_READY state that a suspension
630 "%s: invalid state %s\n", __func__,
631 rnc_state_name(state));
638 if (status == SCI_SUCCESS) { /* Already in the destination state? */
653 if (state != SCI_RNC_AWAIT_SUSPENSION)
663 enum scis_sds_remote_node_context_states state;
666 state = sci_rnc->sm.current_state_id;
668 "%s: state %s, cb_fn = %p, cb_p = %p; dest_state = %d; "
670 __func__, rnc_state_name(state), cb_fn, cb_p,
675 switch (state) {
742 "%s: invalid state %s\n", __func__,
743 rnc_state_name(state));
751 enum scis_sds_remote_node_context_states state;
753 state = sci_rnc->sm.current_state_id;
755 switch (state) {
762 "%s: invalid state %s\n", __func__,
763 rnc_state_name(state));
767 "%s: invalid state %s\n", __func__,
768 rnc_state_name(state));
790 enum scis_sds_remote_node_context_states state;
792 state = sci_rnc->sm.current_state_id;
793 switch (state) {
806 "%s: invalid state %d\n", __func__, state);