Searched refs:sm_state (Results 1 – 5 of 5) 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()
187 aq->sm_state = AP_SM_STATE_WORKING; in ap_sm_read()190 aq->sm_state = AP_SM_STATE_IDLE; in ap_sm_read()195 aq->sm_state = AP_SM_STATE_IDLE; in ap_sm_read()242 aq->sm_state = AP_SM_STATE_WORKING; in ap_sm_write()247 aq->sm_state = AP_SM_STATE_QUEUE_FULL; in ap_sm_write()250 aq->sm_state = AP_SM_STATE_RESET_WAIT; in ap_sm_write()297 aq->sm_state = AP_SM_STATE_RESET_WAIT; in ap_sm_reset()332 aq->sm_state = AP_SM_STATE_SETIRQ_WAIT; in ap_sm_reset_wait()334 aq->sm_state = (aq->queue_count > 0) ? in ap_sm_reset_wait()373 aq->sm_state = (aq->queue_count > 0) ? in ap_sm_setirq_wait()[all …]
195 enum ap_sm_state sm_state; /* ap queue state machine state */ member
1413 aq->sm_state = AP_SM_STATE_RESET_START; in ap_scan_domains()
139 static const char *sm_state_to_str(unsigned short sm_state) in sm_state_to_str() argument141 if (sm_state >= ARRAY_SIZE(sm_state_strings)) in sm_state_to_str()143 return sm_state_strings[sm_state]; in sm_state_to_str()244 unsigned short sm_state; member1410 sfp->sm_state = state; in sfp_sm_next()1931 if (sfp->sm_state != SFP_S_DOWN && in sfp_sm_main()1934 if (sfp->sm_state == SFP_S_LINK_UP && in sfp_sm_main()1937 if (sfp->sm_state > SFP_S_INIT) in sfp_sm_main()1948 switch (sfp->sm_state) { in sfp_sm_main()2089 sm_state_to_str(sfp->sm_state), in sfp_sm_event()[all …]