Lines Matching refs:error_index
386 event = tw_dev->event_queue[tw_dev->error_index];
424 if ((tw_dev->error_index + 1) == TW_Q_LENGTH)
426 tw_dev->error_index = (tw_dev->error_index + 1 ) % TW_Q_LENGTH;
758 if (!tw_dev->error_index) {
764 event_index = (tw_dev->error_index - 1 + TW_Q_LENGTH) % TW_Q_LENGTH;
775 event_index = tw_dev->error_index;
777 if (!tw_dev->error_index) {
797 start_index = tw_dev->error_index;
799 if (!tw_dev->error_index) {
826 start_index = tw_dev->error_index;
828 if (!tw_dev->error_index) {