Lines Matching refs:sm_state
142 static const char *sm_state_to_str(unsigned short sm_state) in sm_state_to_str() argument
144 if (sm_state >= ARRAY_SIZE(sm_state_strings)) in sm_state_to_str()
146 return sm_state_strings[sm_state]; in sm_state_to_str()
269 unsigned short sm_state; member
1676 sm_state_to_str(sfp->sm_state)); in sfp_debug_state_show()
1745 sfp->sm_state = state; in sfp_sm_next()
2516 if (sfp->sm_state != SFP_S_DOWN && in sfp_sm_main()
2519 if (sfp->sm_state == SFP_S_LINK_UP && in sfp_sm_main()
2522 if (sfp->sm_state > SFP_S_INIT) in sfp_sm_main()
2535 switch (sfp->sm_state) { in sfp_sm_main()
2685 sm_state_to_str(sfp->sm_state), in __sfp_sm_event()
2695 sm_state_to_str(sfp->sm_state)); in __sfp_sm_event()