Lines Matching refs:sm

87 	u32 current_state = sci_rnc->sm.current_state_id;
98 u32 current_state = sci_rnc->sm.current_state_id;
268 static void sci_remote_node_context_initial_state_enter(struct sci_base_state_machine *sm)
270 struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm);
277 if (sm->previous_state_id == SCI_RNC_INVALIDATING) {
286 static void sci_remote_node_context_posting_state_enter(struct sci_base_state_machine *sm)
288 struct sci_remote_node_context *sci_rnc = container_of(sm, typeof(*sci_rnc), sm);
293 static void sci_remote_node_context_invalidating_state_enter(struct sci_base_state_machine *sm)
295 struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm);
302 static void sci_remote_node_context_resuming_state_enter(struct sci_base_state_machine *sm)
304 struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm);
323 static void sci_remote_node_context_ready_state_enter(struct sci_base_state_machine *sm)
325 struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm);
345 static void sci_remote_node_context_tx_suspended_state_enter(struct sci_base_state_machine *sm)
347 struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm);
352 static void sci_remote_node_context_tx_rx_suspended_state_enter(struct sci_base_state_machine *sm)
354 struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm);
373 struct sci_base_state_machine *sm)
376 = container_of(sm, typeof(*rnc), sm);
418 sci_init_sm(&rnc->sm, sci_remote_node_context_state_table, SCI_RNC_INITIAL);
427 state = sci_rnc->sm.current_state_id;
432 sci_change_state(&sci_rnc->sm, SCI_RNC_READY);
444 sci_change_state(&sci_rnc->sm, next_state);
463 sci_change_state(&sci_rnc->sm, SCI_RNC_READY);
483 sci_change_state(&sci_rnc->sm, SCI_RNC_TX_SUSPENDED);
487 sci_change_state(&sci_rnc->sm, SCI_RNC_TX_RX_SUSPENDED);
506 sci_change_state(&sci_rnc->sm, next_state);
530 state = sci_rnc->sm.current_state_id;
541 sci_change_state(&sci_rnc->sm, SCI_RNC_INVALIDATING);
569 = sci_rnc->sm.current_state_id;
650 sci_change_state(&sci_rnc->sm, SCI_RNC_AWAIT_SUSPENSION);
662 state = sci_rnc->sm.current_state_id;
680 sci_change_state(&sci_rnc->sm, SCI_RNC_POSTING);
723 sci_change_state(&sci_rnc->sm,
726 sci_change_state(&sci_rnc->sm,
749 state = sci_rnc->sm.current_state_id;
788 state = sci_rnc->sm.current_state_id;