Lines Matching refs:sm_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()
435 aq->sm_state = AP_SM_STATE_IDLE; in ap_sm_assoc_wait()
493 return ap_jumptable[aq->sm_state][event](aq); in ap_sm_event()
583 switch (aq->sm_state) { in reset_show()
607 aq->sm_state = AP_SM_STATE_RESET_START; in reset_store()
626 if (aq->sm_state == AP_SM_STATE_SETIRQ_WAIT) in interrupt_show()
713 switch (aq->sm_state) { in states_show()
865 if (aq->sm_state < AP_SM_STATE_IDLE) { in se_bind_store()
884 aq->sm_state = AP_SM_STATE_RESET_START; in se_bind_store()
950 if (aq->sm_state != AP_SM_STATE_IDLE) { in se_associate_store()
966 aq->sm_state = AP_SM_STATE_ASSOC_WAIT; in se_associate_store()
1166 aq->sm_state = AP_SM_STATE_RESET_START; in _ap_queue_init_state()