Lines Matching refs:dev_state
228 aq->dev_state = AP_DEV_STATE_ERROR; in ap_sm_read()
295 aq->dev_state = AP_DEV_STATE_ERROR; in ap_sm_write()
333 aq->dev_state = AP_DEV_STATE_ERROR; in ap_sm_reset()
376 aq->dev_state = AP_DEV_STATE_ERROR; in ap_sm_reset_wait()
417 aq->dev_state = AP_DEV_STATE_ERROR; in ap_sm_setirq_wait()
458 if (aq->dev_state > AP_DEV_STATE_UNINITIATED) in ap_sm_event()
485 if (aq->dev_state > AP_DEV_STATE_UNINITIATED) { in request_count_show()
519 if (aq->dev_state > AP_DEV_STATE_UNINITIATED) in requestq_count_show()
534 if (aq->dev_state > AP_DEV_STATE_UNINITIATED) in pendingq_count_show()
627 switch (aq->dev_state) { in states_show()
644 if (aq->dev_state) { in states_show()
809 if (aq->dev_state == AP_DEV_STATE_OPERATING) { in ap_queue_message()
894 aq->dev_state = AP_DEV_STATE_SHUTDOWN; in ap_queue_prepare_remove()
909 aq->dev_state = AP_DEV_STATE_UNINITIATED; in ap_queue_remove()
916 aq->dev_state = AP_DEV_STATE_OPERATING; in ap_queue_init_state()