Home
last modified time | relevance | path

Searched refs:sm_state (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/scsi/csiostor/
Dcsio_defs.h80 csio_sm_state_t sm_state; member
86 ((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()
/Linux-v4.19/drivers/net/phy/
Dsfp.c119 static const char *sm_state_to_str(unsigned short sm_state) in sm_state_to_str() argument
121 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; member
1160 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()