Lines Matching refs:sm_dev_state
245 unsigned char sm_dev_state; member
1429 dev_state_to_str(sfp->sm_dev_state)); in sfp_debug_state_show()
1985 switch (sfp->sm_dev_state) { in sfp_sm_device()
1988 sfp->sm_dev_state = SFP_DEV_DOWN; in sfp_sm_device()
1993 sfp->sm_dev_state = SFP_DEV_DETACHED; in sfp_sm_device()
1995 sfp->sm_dev_state = SFP_DEV_UP; in sfp_sm_device()
2000 sfp->sm_dev_state = SFP_DEV_DETACHED; in sfp_sm_device()
2002 sfp->sm_dev_state = SFP_DEV_DOWN; in sfp_sm_device()
2023 if (sfp->sm_dev_state < SFP_DEV_DOWN && in sfp_sm_module()
2074 if (sfp->sm_dev_state < SFP_DEV_DOWN) in sfp_sm_module()
2129 sfp->sm_dev_state != SFP_DEV_UP)) { in sfp_sm_main()
2131 sfp->sm_dev_state == SFP_DEV_UP) in sfp_sm_main()
2147 sfp->sm_dev_state != SFP_DEV_UP) in sfp_sm_main()
2284 dev_state_to_str(sfp->sm_dev_state), in sfp_sm_event()
2294 dev_state_to_str(sfp->sm_dev_state), in sfp_sm_event()