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()
216 aq->sm_state = AP_SM_STATE_WORKING; in ap_sm_read()219 aq->sm_state = AP_SM_STATE_IDLE; in ap_sm_read()225 aq->sm_state = AP_SM_STATE_IDLE; in ap_sm_read()273 aq->sm_state = AP_SM_STATE_WORKING; in ap_sm_write()278 aq->sm_state = AP_SM_STATE_QUEUE_FULL; in ap_sm_write()282 aq->sm_state = AP_SM_STATE_RESET_WAIT; in ap_sm_write()329 aq->sm_state = AP_SM_STATE_RESET_WAIT; in ap_sm_reset()364 aq->sm_state = AP_SM_STATE_SETIRQ_WAIT; in ap_sm_reset_wait()366 aq->sm_state = (aq->queue_count > 0) ? in ap_sm_reset_wait()405 aq->sm_state = (aq->queue_count > 0) ? in ap_sm_setirq_wait()[all …]
211 enum ap_sm_state sm_state; /* ap queue state machine state */ member
1839 aq->sm_state = AP_SM_STATE_RESET_START; in ap_scan_domains()1866 aq->sm_state = AP_SM_STATE_RESET_START; in ap_scan_domains()
140 static const char *sm_state_to_str(unsigned short sm_state) in sm_state_to_str() argument142 if (sm_state >= ARRAY_SIZE(sm_state_strings)) in sm_state_to_str()144 return sm_state_strings[sm_state]; in sm_state_to_str()246 unsigned short sm_state; member1431 sm_state_to_str(sfp->sm_state)); in sfp_debug_state_show()1493 sfp->sm_state = state; in sfp_sm_next()2127 if (sfp->sm_state != SFP_S_DOWN && in sfp_sm_main()2130 if (sfp->sm_state == SFP_S_LINK_UP && in sfp_sm_main()2133 if (sfp->sm_state > SFP_S_INIT) in sfp_sm_main()2144 switch (sfp->sm_state) { in sfp_sm_main()[all …]