Searched refs:sm_state (Results 1 – 2 of 2) sorted by relevance
80 csio_sm_state_t sm_state; member86 ((struct csio_sm *)smp)->sm_state = (csio_sm_state_t)state; in csio_set_state()98 ((struct csio_sm *)smp)->sm_state(smp, evt); in csio_post_event()104 return ((struct csio_sm *)smp)->sm_state; in csio_get_state()
119 static const char *sm_state_to_str(unsigned short sm_state) in sm_state_to_str() argument121 if (sm_state >= ARRAY_SIZE(sm_state_strings)) in sm_state_to_str()123 return sm_state_strings[sm_state]; in sm_state_to_str()193 unsigned short sm_state; member1160 sfp->sm_state = state; in sfp_sm_next()1470 sm_state_to_str(sfp->sm_state), in sfp_sm_event()1537 if (sfp->sm_state != SFP_S_DOWN && in sfp_sm_event()1540 if (sfp->sm_state == SFP_S_LINK_UP && in sfp_sm_event()1551 switch (sfp->sm_state) { in sfp_sm_event()1605 sm_state_to_str(sfp->sm_state)); in sfp_sm_event()