Lines Matching defs:state
56 int state;
145 switch (touch->state) {
157 touch->state = STATE_BUSY;
175 touch->state = STATE_STOP;
193 touch->state = STATE_WAIT;
198 touch->state = STATE_IDLE;
208 touch->state = STATE_BUSY;
211 touch->state = STATE_IDLE;
218 touch->state = STATE_IDLE;
240 if ((event & DA9034_EVENT_PEN_DOWN) && touch->state == STATE_IDLE)
271 touch->state = STATE_IDLE;
286 touch->state = STATE_IDLE;