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()
194 aq->sm_state = AP_SM_STATE_WORKING; in ap_sm_read()197 aq->sm_state = AP_SM_STATE_IDLE; in ap_sm_read()203 aq->sm_state = AP_SM_STATE_IDLE; in ap_sm_read()246 aq->sm_state = AP_SM_STATE_WORKING; in ap_sm_write()251 aq->sm_state = AP_SM_STATE_QUEUE_FULL; in ap_sm_write()255 aq->sm_state = AP_SM_STATE_RESET_WAIT; in ap_sm_write()304 aq->sm_state = AP_SM_STATE_RESET_WAIT; in ap_sm_reset()340 aq->sm_state = AP_SM_STATE_SETIRQ_WAIT; in ap_sm_reset_wait()342 aq->sm_state = (aq->queue_count > 0) ? in ap_sm_reset_wait()381 aq->sm_state = (aq->queue_count > 0) ? in ap_sm_setirq_wait()[all …]
220 enum ap_sm_state sm_state; /* ap queue state machine state */ member
1900 aq->sm_state = AP_SM_STATE_RESET_START; in ap_scan_domains()1927 aq->sm_state = AP_SM_STATE_RESET_START; in ap_scan_domains()
142 static const char *sm_state_to_str(unsigned short sm_state) in sm_state_to_str() argument144 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()269 unsigned short sm_state; member1665 sm_state_to_str(sfp->sm_state)); in sfp_debug_state_show()1734 sfp->sm_state = state; in sfp_sm_next()2506 if (sfp->sm_state != SFP_S_DOWN && in sfp_sm_main()2509 if (sfp->sm_state == SFP_S_LINK_UP && in sfp_sm_main()2512 if (sfp->sm_state > SFP_S_INIT) in sfp_sm_main()2525 switch (sfp->sm_state) { in sfp_sm_main()[all …]