Lines Matching refs:cur_frm
280 if (common->cur_frm == common->next_frm)
284 * available, release cur_frm and move on */
286 do_gettimeofday(&common->cur_frm->ts);
287 /* Change status of the cur_frm */
288 common->cur_frm->state = VIDEOBUF_DONE;
289 /* unlock semaphore on cur_frm */
290 wake_up_interruptible(&common->cur_frm->done);
291 /* Make cur_frm pointing to next_frm */
292 common->cur_frm = common->next_frm;
296 || (common->cur_frm != common->next_frm)) {
336 /* Mark status of the cur_frm to
338 do_gettimeofday(&common->cur_frm->ts);
339 common->cur_frm->state = VIDEOBUF_DONE;
340 wake_up_interruptible(&common->cur_frm->done);
341 /* Make cur_frm pointing to next_frm */
342 common->cur_frm = common->next_frm;
908 (common->cur_frm != common->next_frm) ||
1109 common->next_frm = common->cur_frm =
1113 list_del(&common->cur_frm->queue);
1115 common->cur_frm->state = VIDEOBUF_ACTIVE;
1121 addr = common->cur_frm->boff;
1508 common->cur_frm = common->next_frm = NULL;