Lines Matching refs:sm

87 	u32 current_state = sci_rnc->sm.current_state_id;
98 u32 current_state = sci_rnc->sm.current_state_id;
275 static void sci_remote_node_context_initial_state_enter(struct sci_base_state_machine *sm)
277 struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm);
284 if (sm->previous_state_id == SCI_RNC_INVALIDATING) {
293 static void sci_remote_node_context_posting_state_enter(struct sci_base_state_machine *sm)
295 struct sci_remote_node_context *sci_rnc = container_of(sm, typeof(*sci_rnc), sm);
300 static void sci_remote_node_context_invalidating_state_enter(struct sci_base_state_machine *sm)
302 struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm);
309 static void sci_remote_node_context_resuming_state_enter(struct sci_base_state_machine *sm)
311 struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm);
330 static void sci_remote_node_context_ready_state_enter(struct sci_base_state_machine *sm)
332 struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm);
352 static void sci_remote_node_context_tx_suspended_state_enter(struct sci_base_state_machine *sm)
354 struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm);
359 static void sci_remote_node_context_tx_rx_suspended_state_enter(struct sci_base_state_machine *sm)
361 struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm);
380 struct sci_base_state_machine *sm)
383 = container_of(sm, typeof(*rnc), sm);
425 sci_init_sm(&rnc->sm, sci_remote_node_context_state_table, SCI_RNC_INITIAL);
434 state = sci_rnc->sm.current_state_id;
439 sci_change_state(&sci_rnc->sm, SCI_RNC_READY);
451 sci_change_state(&sci_rnc->sm, next_state);
470 sci_change_state(&sci_rnc->sm, SCI_RNC_READY);
490 sci_change_state(&sci_rnc->sm, SCI_RNC_TX_SUSPENDED);
494 sci_change_state(&sci_rnc->sm, SCI_RNC_TX_RX_SUSPENDED);
513 sci_change_state(&sci_rnc->sm, next_state);
537 state = sci_rnc->sm.current_state_id;
548 sci_change_state(&sci_rnc->sm, SCI_RNC_INVALIDATING);
576 = sci_rnc->sm.current_state_id;
657 sci_change_state(&sci_rnc->sm, SCI_RNC_AWAIT_SUSPENSION);
669 state = sci_rnc->sm.current_state_id;
687 sci_change_state(&sci_rnc->sm, SCI_RNC_POSTING);
730 sci_change_state(&sci_rnc->sm,
733 sci_change_state(&sci_rnc->sm,
756 state = sci_rnc->sm.current_state_id;
795 state = sci_rnc->sm.current_state_id;