Lines Matching refs:event_r_idx
9169 if (lstate->event_w_idx >= lstate->event_r_idx)
9170 pending = lstate->event_w_idx - lstate->event_r_idx;
9173 - (lstate->event_r_idx - lstate->event_w_idx);
9183 lstate->event_r_idx = 0;
9191 lstate->event_buffer[lstate->event_r_idx].event_type,
9192 lstate->event_buffer[lstate->event_r_idx].event_arg);
9193 lstate->event_r_idx++;
9194 if (lstate->event_r_idx == AHD_TMODE_EVENT_BUFFER_SIZE)
9195 lstate->event_r_idx = 0;
9218 while (lstate->event_r_idx != lstate->event_w_idx
9222 event = &lstate->event_buffer[lstate->event_r_idx];
9238 lstate->event_r_idx++;
9239 if (lstate->event_r_idx == AHD_TMODE_EVENT_BUFFER_SIZE)
9240 lstate->event_r_idx = 0;