Searched refs:sm_state (Results 1 – 4 of 4) sorted by relevance
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
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()
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; member1676 sm_state_to_str(sfp->sm_state)); in sfp_debug_state_show()1745 sfp->sm_state = state; in sfp_sm_next()2516 if (sfp->sm_state != SFP_S_DOWN && in sfp_sm_main()2519 if (sfp->sm_state == SFP_S_LINK_UP && in sfp_sm_main()2522 if (sfp->sm_state > SFP_S_INIT) in sfp_sm_main()2535 switch (sfp->sm_state) { in sfp_sm_main()[all …]