Lines Matching refs:sm_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()
427 return ap_jumptable[aq->sm_state][event](aq); in ap_sm_event()
517 switch (aq->sm_state) { in reset_show()
541 aq->sm_state = AP_SM_STATE_RESET_START; in reset_store()
560 if (aq->sm_state == AP_SM_STATE_SETIRQ_WAIT) in interrupt_show()
613 switch (aq->sm_state) { in states_show()
885 aq->sm_state = AP_SM_STATE_RESET_START; in ap_queue_init_state()