Home
last modified time | relevance | path

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

/linux/drivers/scsi/csiostor/
H A Dcsio_defs.h94 csio_sm_state_t sm_state; member
100 ((struct csio_sm *)smp)->sm_state = state; in csio_set_state()
112 ((struct csio_sm *)smp)->sm_state(smp, evt); in csio_post_event()
118 return ((struct csio_sm *)smp)->sm_state; in csio_get_state()
/linux/drivers/net/phy/
H A Dsfp.c142 static const char *sm_state_to_str(unsigned short sm_state) in sm_state_to_str()
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()
290 unsigned short sm_state;
1982 sm_state_to_str(sfp->sm_state)); in sfp_sm_link_check_los()
2051 sfp->sm_state = state; in sfp_sm_probe_for_phy()
2832 if (sfp->sm_state != SFP_S_DOWN && in sfp_sm_main()
2835 if (sfp->sm_state == SFP_S_LINK_UP && in sfp_sm_main()
2838 if (sfp->sm_state > SFP_S_INIT) in sfp_sm_main()
2851 switch (sfp->sm_state) { in __sfp_sm_event()
141 sm_state_to_str(unsigned short sm_state) sm_state_to_str() argument
272 unsigned short sm_state; global() member
[all...]