Lines Matching refs:wait
210 DEFINE_WAIT(wait); in ivtv_get_buffer()
274 prepare_to_wait(&s->waitq, &wait, TASK_INTERRUPTIBLE); in ivtv_get_buffer()
278 finish_wait(&s->waitq, &wait); in ivtv_get_buffer()
559 DEFINE_WAIT(wait); in ivtv_write()
634 prepare_to_wait(&s->waitq, &wait, TASK_INTERRUPTIBLE); in ivtv_write()
638 finish_wait(&s->waitq, &wait); in ivtv_write()
695 prepare_to_wait(&itv->dma_waitq, &wait, TASK_INTERRUPTIBLE); in ivtv_write()
700 finish_wait(&itv->dma_waitq, &wait); in ivtv_write()
733 unsigned int ivtv_v4l2_dec_poll(struct file *filp, poll_table *wait) in ivtv_v4l2_dec_poll() argument
746 poll_wait(filp, &id->fh.wait, wait); in ivtv_v4l2_dec_poll()
754 poll_wait(filp, &s->waitq, wait); in ivtv_v4l2_dec_poll()
767 unsigned int ivtv_v4l2_enc_poll(struct file *filp, poll_table *wait) in ivtv_v4l2_enc_poll() argument
769 unsigned long req_events = poll_requested_events(wait); in ivtv_v4l2_enc_poll()
795 poll_wait(filp, &s->waitq, wait); in ivtv_v4l2_enc_poll()
799 poll_wait(filp, &id->fh.wait, wait); in ivtv_v4l2_enc_poll()