Lines Matching defs:wait
845 static __poll_t ffs_ep0_poll(struct file *file, poll_table *wait)
864 poll_wait(file, &ffs->ev.waitq, wait);
871 poll_wait(file, &ffs->wait_que, wait);
1085 epfile->ffs->wait, (ep = epfile->ep));
1104 * if we _do_ wait above, the epfile->ffs->gadget might be NULL
1415 static unsigned int ffs_epfile_poll(struct file *file, struct poll_table_struct * wait)
1420 poll_wait(file, &epfile->wait_que, wait);
1621 swait_active(&ffs->ep0req_completion.wait) ||
1623 waitqueue_active(&ffs->ep0req_completion.wait) ||
1625 waitqueue_active(&ffs->wait) ||
1653 init_waitqueue_head(&ffs->wait);
1880 wake_up_interruptible(&ffs->wait);