Home
last modified time | relevance | path

Searched refs:waitq (Results 1 – 25 of 47) sorted by relevance

12

/drivers/input/misc/
Dkeychord.c58 wait_queue_head_t waitq; member
129 wake_up_interruptible(&kdev->waitq); in keychord_event()
205 retval = wait_event_interruptible(kdev->waitq, in keychord_read()
316 poll_wait(file, &kdev->waitq, wait); in keychord_poll()
333 init_waitqueue_head(&kdev->waitq); in keychord_open()
Duinput.c52 wake_up_interruptible(&udev->waitq); in uinput_dev_event()
242 init_waitqueue_head(&newdev->waitq); in uinput_open()
409 retval = wait_event_interruptible(udev->waitq, in uinput_read()
442 poll_wait(file, &udev->waitq, wait); in uinput_poll()
/drivers/i2c/busses/
Di2c-mv64xxx.c98 wait_queue_head_t waitq; member
276 wake_up_interruptible(&drv_data->waitq); in mv64xxx_i2c_do_action()
291 wake_up_interruptible(&drv_data->waitq); in mv64xxx_i2c_do_action()
360 time_left = wait_event_interruptible_timeout(drv_data->waitq, in mv64xxx_i2c_wait_for_completion()
376 time_left = wait_event_timeout(drv_data->waitq, in mv64xxx_i2c_wait_for_completion()
519 init_waitqueue_head(&drv_data->waitq); in mv64xxx_i2c_probe()
Di2c-iop3xx.c130 wake_up_interruptible(&iop3xx_adap->waitq); in iop3xx_i2c_irq_handler()
183 iop3xx_adap->waitq, in iop3xx_i2c_wait_event()
494 init_waitqueue_head(&adapter_data->waitq); in iop3xx_i2c_probe()
Di2c-iop3xx.h101 wait_queue_head_t waitq; member
/drivers/media/video/cx18/
Dcx18-mailbox.c202 wake_up(&s->waitq); in epu_dma_done()
467 wait_queue_head_t *waitq; in cx18_api_call() local
484 waitq = &cx->mb_apu_waitq; in cx18_api_call()
491 waitq = &cx->mb_cpu_waitq; in cx18_api_call()
516 ret = wait_event_timeout(*waitq, in cx18_api_call()
548 *waitq, in cx18_api_call()
Dcx18-fileops.c229 prepare_to_wait(&s->waitq, &wait, TASK_INTERRUPTIBLE); in cx18_get_buffer()
234 finish_wait(&s->waitq, &wait); in cx18_get_buffer()
509 poll_wait(filp, &s->waitq, wait); in cx18_v4l2_enc_poll()
/drivers/ieee1394/
Ddv1394.c1303 poll_wait(file, &video->waitq, wait); in dv1394_poll()
1362 add_wait_queue(&video->waitq, &wait); in dv1394_write()
1425 remove_wait_queue(&video->waitq, &wait); in dv1394_write()
1464 add_wait_queue(&video->waitq, &wait); in dv1394_read()
1533 remove_wait_queue(&video->waitq, &wait); in dv1394_read()
1580 add_wait_queue(&video->waitq, &wait); in dv1394_ioctl()
1591 remove_wait_queue(&video->waitq, &wait); in dv1394_ioctl()
1604 remove_wait_queue(&video->waitq, &wait); in dv1394_ioctl()
1635 add_wait_queue(&video->waitq, &wait); in dv1394_ioctl()
1645 remove_wait_queue(&video->waitq, &wait); in dv1394_ioctl()
[all …]
Diso.c105 init_waitqueue_head(&iso->waitq); in hpsb_iso_common_init()
442 return wait_event_interruptible(iso->waitq, in hpsb_iso_xmit_sync()
564 wake_up_interruptible(&iso->waitq); in hpsb_iso_wake()
Dvideo1394.c104 wait_queue_head_t waitq; member
199 init_waitqueue_head(&d->waitq); in alloc_dma_iso_ctx()
499 if (waitqueue_active(&d->waitq)) in wakeup_dma_ir_ctx()
500 wake_up_interruptible(&d->waitq); in wakeup_dma_ir_ctx()
575 if (waitqueue_active(&d->waitq)) in wakeup_dma_it_ctx()
576 wake_up_interruptible(&d->waitq); in wakeup_dma_it_ctx()
985 wait_event_interruptible(d->waitq, in video1394_ioctl()
1151 wait_event_interruptible(d->waitq, in video1394_ioctl()
1206 poll_wait(file, &d->waitq, pt); in video1394_poll()
Diso.h89 wait_queue_head_t waitq; member
/drivers/spi/
Dspi_txx9.c76 wait_queue_head_t waitq; member
154 wake_up(&c->waitq); in txx9spi_interrupt()
249 wait_event(c->waitq, in txx9spi_work_one()
364 init_waitqueue_head(&c->waitq); in txx9spi_probe()
/drivers/mtd/
Dmtdchar.c455 wait_queue_head_t waitq; in mtd_ioctl() local
458 init_waitqueue_head(&waitq); in mtd_ioctl()
469 erase->priv = (unsigned long)&waitq; in mtd_ioctl()
483 add_wait_queue(&waitq, &wait); in mtd_ioctl()
487 remove_wait_queue(&waitq, &wait); in mtd_ioctl()
Dmtdconcat.c352 wait_queue_head_t waitq; in concat_dev_erase() local
358 init_waitqueue_head(&waitq); in concat_dev_erase()
362 erase->priv = (unsigned long) &waitq; in concat_dev_erase()
371 add_wait_queue(&waitq, &wait); in concat_dev_erase()
375 remove_wait_queue(&waitq, &wait); in concat_dev_erase()
/drivers/char/
Dlp.c226 prepare_to_wait(&lp_table[minor].waitq, &wait, TASK_INTERRUPTIBLE); in lp_error()
228 finish_wait(&lp_table[minor].waitq, &wait); in lp_error()
464 prepare_to_wait(&lp_table[minor].waitq, &wait, TASK_INTERRUPTIBLE); in lp_read()
466 finish_wait(&lp_table[minor].waitq, &wait); in lp_read()
904 init_waitqueue_head (&lp_table[i].waitq); in lp_init()
/drivers/net/wireless/libertas/
Dmain.c578 wake_up_interruptible(&priv->waitq); in lbs_host_to_card_done()
765 add_wait_queue(&priv->waitq, &wait); in lbs_thread()
808 remove_wait_queue(&priv->waitq, &wait); in lbs_thread()
1062 wake_up_interruptible(&priv->waitq); in command_timer_fn()
1219 init_waitqueue_head(&priv->waitq); in lbs_add_card()
1582 wake_up_interruptible(&priv->waitq); in lbs_queue_event()
1600 wake_up_interruptible(&priv->waitq); in lbs_notify_command_response()
Dtx.c167 wake_up(&priv->waitq); in lbs_hard_start_xmit()
/drivers/staging/mimio/
Dmimio.c130 wait_queue_head_t waitq; member
332 wake_up(&mimio->waitq); in mimio_irq_out()
416 init_waitqueue_head(&mimio->waitq); in mimio_probe()
868 add_wait_queue(&mimio->waitq, &wait); in mimio_tx()
883 remove_wait_queue(&mimio->waitq, &wait); in mimio_tx()
/drivers/media/video/ivtv/
Divtv-fileops.c277 prepare_to_wait(&s->waitq, &wait, TASK_INTERRUPTIBLE); in ivtv_get_buffer()
281 finish_wait(&s->waitq, &wait); in ivtv_get_buffer()
629 prepare_to_wait(&s->waitq, &wait, TASK_INTERRUPTIBLE); in ivtv_v4l2_write()
633 finish_wait(&s->waitq, &wait); in ivtv_v4l2_write()
721 poll_wait(filp, &s->waitq, wait); in ivtv_v4l2_dec_poll()
758 poll_wait(filp, &s->waitq, wait); in ivtv_v4l2_enc_poll()
Divtv-streams.c159 init_waitqueue_head(&s->waitq); in ivtv_stream_init()
828 wake_up(&s->waitq); in ivtv_stop_v4l2_encode_stream()
888 wake_up(&s->waitq); in ivtv_stop_v4l2_decode_stream()
/drivers/scsi/lpfc/
Dlpfc_scsi.h147 wait_queue_head_t *waitq; member
Dlpfc_scsi.c1853 if (lpfc_cmd->waitq) in lpfc_scsi_cmd_iocb_cmpl()
1854 wake_up(lpfc_cmd->waitq); in lpfc_scsi_cmd_iocb_cmpl()
1930 if (lpfc_cmd->waitq) in lpfc_scsi_cmd_iocb_cmpl()
1931 wake_up(lpfc_cmd->waitq); in lpfc_scsi_cmd_iocb_cmpl()
2497 DECLARE_WAIT_QUEUE_HEAD_ONSTACK(waitq); in lpfc_abort_handler()
2552 lpfc_cmd->waitq = &waitq; in lpfc_abort_handler()
2554 wait_event_timeout(waitq, in lpfc_abort_handler()
2559 lpfc_cmd->waitq = NULL; in lpfc_abort_handler()
/drivers/infiniband/hw/cxgb3/
Diwch_cm.c247 init_waitqueue_head(&epc->waitq); in alloc_ep()
1106 wake_up(&ep->com.waitq); in tx_ack()
1219 wake_up(&ep->com.waitq); in pass_open_rpl()
1253 wake_up(&ep->com.waitq); in close_listsrv_rpl()
1463 wake_up(&ep->com.waitq); in peer_close()
1558 wake_up(&ep->com.waitq); in peer_abort()
1828 wait_event(ep->com.waitq, ep->com.rpl_done); in iwch_accept_cr()
1989 wait_event(ep->com.waitq, ep->com.rpl_done); in iwch_create_listen()
2017 wait_event(ep->com.waitq, ep->com.rpl_done); in iwch_destroy_listen()
Diwch_cm.h161 wait_queue_head_t waitq; member
Dcxio_hal.c546 init_waitqueue_head(&rdev_p->ctrl_qp.waitq); in cxio_hal_init_ctrl_qp()
614 if (wait_event_interruptible(rdev_p->ctrl_qp.waitq, in cxio_hal_ctrl_qp_write_mem()
752 if (wait_event_interruptible(rdev_p->ctrl_qp.waitq, in __cxio_tpt_op()
777 if (wait_event_interruptible(rdev_p->ctrl_qp.waitq, in cxio_write_pbl()
896 wake_up_interruptible(&rdev_p->ctrl_qp.waitq); in cxio_hal_ev_handler()

12