Searched refs:sm_state (Results 1 – 3 of 3) sorted by relevance
94 csio_sm_state_t sm_state; member100 ((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()
225 aq->sm_state = AP_SM_STATE_WORKING; in ap_sm_read()228 aq->sm_state = AP_SM_STATE_IDLE; in ap_sm_read()234 aq->sm_state = AP_SM_STATE_IDLE; in ap_sm_read()249 aq->sm_state = AP_SM_STATE_SETIRQ_WAIT; in ap_sm_read()289 aq->sm_state = AP_SM_STATE_WORKING; in ap_sm_write()294 aq->sm_state = AP_SM_STATE_QUEUE_FULL; in ap_sm_write()298 aq->sm_state = AP_SM_STATE_RESET_WAIT; in ap_sm_write()347 aq->sm_state = AP_SM_STATE_RESET_WAIT; in ap_sm_reset()380 aq->sm_state = AP_SM_STATE_SETIRQ_WAIT; in ap_sm_reset_wait()382 aq->sm_state = (aq->queue_count > 0) ? in ap_sm_reset_wait()[all …]
141 static const char *sm_state_to_str(unsigned short sm_state) in sm_state_to_str() argument143 if (sm_state >= ARRAY_SIZE(sm_state_strings)) in sm_state_to_str()145 return sm_state_strings[sm_state]; in sm_state_to_str()272 unsigned short sm_state; member1808 sm_state_to_str(sfp->sm_state)); in sfp_debug_state_show()1877 sfp->sm_state = state; in sfp_sm_next()2651 if (sfp->sm_state != SFP_S_DOWN && in sfp_sm_main()2654 if (sfp->sm_state == SFP_S_LINK_UP && in sfp_sm_main()2657 if (sfp->sm_state > SFP_S_INIT) in sfp_sm_main()2670 switch (sfp->sm_state) { in sfp_sm_main()[all …]