Lines Matching refs:wakeup

3599 bttv_irq_wakeup_video(struct bttv *btv, struct bttv_buffer_set *wakeup,  in bttv_irq_wakeup_video()  argument
3606 if (wakeup->top == wakeup->bottom) { in bttv_irq_wakeup_video()
3607 if (NULL != wakeup->top && curr->top != wakeup->top) { in bttv_irq_wakeup_video()
3610 btv->c.nr, wakeup->top); in bttv_irq_wakeup_video()
3611 wakeup->top->vb.ts = ts; in bttv_irq_wakeup_video()
3612 wakeup->top->vb.field_count = btv->field_count; in bttv_irq_wakeup_video()
3613 wakeup->top->vb.state = state; in bttv_irq_wakeup_video()
3614 wake_up(&wakeup->top->vb.done); in bttv_irq_wakeup_video()
3617 if (NULL != wakeup->top && curr->top != wakeup->top) { in bttv_irq_wakeup_video()
3620 btv->c.nr, wakeup->top); in bttv_irq_wakeup_video()
3621 wakeup->top->vb.ts = ts; in bttv_irq_wakeup_video()
3622 wakeup->top->vb.field_count = btv->field_count; in bttv_irq_wakeup_video()
3623 wakeup->top->vb.state = state; in bttv_irq_wakeup_video()
3624 wake_up(&wakeup->top->vb.done); in bttv_irq_wakeup_video()
3626 if (NULL != wakeup->bottom && curr->bottom != wakeup->bottom) { in bttv_irq_wakeup_video()
3629 btv->c.nr, wakeup->bottom); in bttv_irq_wakeup_video()
3630 wakeup->bottom->vb.ts = ts; in bttv_irq_wakeup_video()
3631 wakeup->bottom->vb.field_count = btv->field_count; in bttv_irq_wakeup_video()
3632 wakeup->bottom->vb.state = state; in bttv_irq_wakeup_video()
3633 wake_up(&wakeup->bottom->vb.done); in bttv_irq_wakeup_video()
3639 bttv_irq_wakeup_vbi(struct bttv *btv, struct bttv_buffer *wakeup, in bttv_irq_wakeup_vbi() argument
3642 if (NULL == wakeup) in bttv_irq_wakeup_vbi()
3645 v4l2_get_timestamp(&wakeup->vb.ts); in bttv_irq_wakeup_vbi()
3646 wakeup->vb.field_count = btv->field_count; in bttv_irq_wakeup_vbi()
3647 wakeup->vb.state = state; in bttv_irq_wakeup_vbi()
3648 wake_up(&wakeup->vb.done); in bttv_irq_wakeup_vbi()
3705 struct bttv_buffer *wakeup = btv->curr.top; in bttv_irq_wakeup_top() local
3707 if (NULL == wakeup) in bttv_irq_wakeup_top()
3715 v4l2_get_timestamp(&wakeup->vb.ts); in bttv_irq_wakeup_top()
3716 wakeup->vb.field_count = btv->field_count; in bttv_irq_wakeup_top()
3717 wakeup->vb.state = VIDEOBUF_DONE; in bttv_irq_wakeup_top()
3718 wake_up(&wakeup->vb.done); in bttv_irq_wakeup_top()