Lines Matching refs:state
71 enum diag_state state;
94 dc->state = OPENED;
123 rdc->state = UNUSED;
776 else if (dc->state < READY && (*off || count != 8))
826 if (dc->state == OPENED)
827 dc->state = INIT;
850 else if (dc->state < READY &&
851 ((*off || count != 8) || dc->state != INIT))
901 if (dc->state == INIT)
902 dc->state = READY; /* all read/write OK now */