• Home
  • Raw
  • Download

Lines Matching refs:sm

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