Home
last modified time | relevance | path

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

123

/drivers/leds/
Duleds.c32 wait_queue_head_t waitq; member
48 wake_up_interruptible(&udev->waitq); in uleds_brightness_set()
64 init_waitqueue_head(&udev->waitq); in uleds_open()
162 retval = wait_event_interruptible(udev->waitq, in uleds_read()
174 poll_wait(file, &udev->waitq, wait); in uleds_poll()
/drivers/input/serio/
Duserio.c47 wait_queue_head_t waitq; member
71 wake_up_interruptible(&userio->waitq); in userio_device_write()
86 init_waitqueue_head(&userio->waitq); in userio_char_open()
166 error = wait_event_interruptible(userio->waitq, in userio_char_read()
255 poll_wait(file, &userio->waitq, wait); in userio_char_poll()
/drivers/spi/
Dspi-coldfire-qspi.c65 wait_queue_head_t waitq; member
148 wake_up(&mcfqspi->waitq); in mcfqspi_irq_handler()
179 wait_event(mcfqspi->waitq, !mcfqspi_qdlyr_spe(mcfqspi)); in mcfqspi_transfer_msg8()
199 wait_event(mcfqspi->waitq, !mcfqspi_qdlyr_spe(mcfqspi)); in mcfqspi_transfer_msg8()
212 wait_event(mcfqspi->waitq, !mcfqspi_qdlyr_spe(mcfqspi)); in mcfqspi_transfer_msg8()
246 wait_event(mcfqspi->waitq, !mcfqspi_qdlyr_spe(mcfqspi)); in mcfqspi_transfer_msg16()
266 wait_event(mcfqspi->waitq, !mcfqspi_qdlyr_spe(mcfqspi)); in mcfqspi_transfer_msg16()
279 wait_event(mcfqspi->waitq, !mcfqspi_qdlyr_spe(mcfqspi)); in mcfqspi_transfer_msg16()
402 init_waitqueue_head(&mcfqspi->waitq); in mcfqspi_probe()
/drivers/usb/misc/
Dyurex.c65 wait_queue_head_t waitq; member
84 wake_up_interruptible(&dev->waitq); in yurex_control_callback()
179 wake_up_interruptible(&dev->waitq); in yurex_interrupt()
206 init_waitqueue_head(&dev->waitq); in yurex_probe()
327 wake_up_interruptible(&dev->waitq); in yurex_disconnect()
491 prepare_to_wait(&dev->waitq, &wait, TASK_INTERRUPTIBLE); in yurex_write()
497 finish_wait(&dev->waitq, &wait); in yurex_write()
/drivers/mailbox/
Dmailbox-test.c43 wait_queue_head_t waitq; member
192 add_wait_queue(&tdev->waitq, &wait); in mbox_test_message_read()
236 remove_wait_queue(&tdev->waitq, &wait); in mbox_test_message_read()
247 poll_wait(filp, &tdev->waitq, wait); in mbox_test_message_poll()
302 wake_up_interruptible(&tdev->waitq); in mbox_test_receive_message()
416 init_waitqueue_head(&tdev->waitq); in mbox_test_probe()
/drivers/media/pci/netup_unidvb/
Dnetup_unidvb_spi.c42 wait_queue_head_t waitq; member
89 wake_up(&spi->waitq); in netup_spi_interrupt()
137 wait_event_timeout(spi->waitq, in netup_spi_transfer()
192 init_waitqueue_head(&nspi->waitq); in netup_spi_init()
/drivers/char/xillybus/
Dxillyusb.c77 wait_queue_head_t waitq; member
406 init_waitqueue_head(&fifo->waitq); in fifo_init()
589 wake_up_interruptible(&chan->in_fifo->waitq); in wakeup_all()
593 wake_up_interruptible(&chan->out_ep->fifo.waitq); in wakeup_all()
602 wake_up_interruptible(&xdev->msg_ep->fifo.waitq); in wakeup_all()
865 wake_up_interruptible(&fifo->waitq); in try_queue_bulk_out()
907 wake_up_interruptible(&chan->in_fifo->waitq); in process_in_opcode()
1007 wake_up_interruptible(&fifo->waitq); in process_bulk_in()
1086 while (wait_event_interruptible(fifo->waitq, in xillyusb_send_opcode()
1562 (fifo->waitq, in xillyusb_read()
[all …]
/drivers/net/wireless/marvell/libertas/
Dmain.c230 wait_event(priv->waitq, lbs_command_queue_empty(priv)); in lbs_stop_iface()
281 wake_up(&priv->waitq); in lbs_host_to_card_done()
450 add_wait_queue(&priv->waitq, &wait); in lbs_thread()
494 remove_wait_queue(&priv->waitq, &wait); in lbs_thread()
748 wake_up(&priv->waitq); in lbs_cmd_timeout_handler()
772 wake_up_interruptible(&priv->waitq); in lbs_tx_lockup_handler()
955 init_waitqueue_head(&priv->waitq); in lbs_add_card()
1117 wake_up(&priv->waitq); in lbs_queue_event()
1132 wake_up(&priv->waitq); in lbs_notify_command_response()
/drivers/platform/surface/
Dsurface_aggregator_cdev.c67 wait_queue_head_t waitq; member
126 wake_up_interruptible(&client->waitq); in ssam_cdev_notifier()
479 init_waitqueue_head(&client->waitq); in ssam_cdev_device_open()
599 status = wait_event_interruptible(client->waitq, in ssam_cdev_read()
649 poll_wait(file, &client->waitq, pt); in ssam_cdev_poll()
742 wake_up_interruptible(&client->waitq); in ssam_dbg_device_remove()
Dsurface_dtx.c154 wait_queue_head_t waitq; member
484 status = wait_event_interruptible(ddev->waitq, in surface_dtx_read()
534 poll_wait(file, &client->ddev->waitq, pt); in surface_dtx_poll()
618 wake_up_interruptible(&ddev->waitq); in sdtx_push_event()
967 init_waitqueue_head(&ddev->waitq); in sdtx_device_init()
1091 wake_up_interruptible(&ddev->waitq); in sdtx_device_destroy()
/drivers/media/pci/cx18/
Dcx18-mailbox.c320 wake_up(&s->waitq); in epu_dma_done()
585 wait_queue_head_t *waitq; in cx18_api_call() local
611 waitq = &cx->mb_apu_waitq; in cx18_api_call()
617 waitq = &cx->mb_cpu_waitq; in cx18_api_call()
640 ret = wait_event_timeout(*waitq, in cx18_api_call()
671 prepare_to_wait(waitq, &w, TASK_UNINTERRUPTIBLE); in cx18_api_call()
684 finish_wait(waitq, &w); in cx18_api_call()
/drivers/usb/gadget/function/
Df_fs.c277 __releases(&ffs->ev.waitq.lock) in __ffs_ep0_queue_wait()
283 spin_unlock_irq(&ffs->ev.waitq.lock); in __ffs_ep0_queue_wait()
289 spin_unlock_irq(&ffs->ev.waitq.lock); in __ffs_ep0_queue_wait()
405 spin_lock_irq(&ffs->ev.waitq.lock); in ffs_ep0_write()
421 spin_unlock_irq(&ffs->ev.waitq.lock); in ffs_ep0_write()
429 spin_unlock_irq(&ffs->ev.waitq.lock); in ffs_ep0_write()
437 spin_lock_irq(&ffs->ev.waitq.lock); in ffs_ep0_write()
455 spin_unlock_irq(&ffs->ev.waitq.lock); in ffs_ep0_write()
475 __releases(&ffs->ev.waitq.lock) in __ffs_ep0_read_events()
501 spin_unlock_irq(&ffs->ev.waitq.lock); in __ffs_ep0_read_events()
[all …]
/drivers/staging/olpc_dcon/
Dolpc_dcon.c294 wait_event_timeout(dcon->waitq, dcon->switched, HZ); in dcon_source_switch()
333 wait_event_timeout(dcon->waitq, dcon->switched, HZ / 2); in dcon_source_switch()
598 init_waitqueue_head(&dcon->waitq); in dcon_probe()
745 wake_up(&dcon->waitq); in dcon_interrupt()
759 wake_up(&dcon->waitq); in dcon_interrupt()
Dolpc_dcon.h65 wait_queue_head_t waitq; member
/drivers/vdpa/vdpa_user/
Dvduse_dev.c77 wait_queue_head_t waitq; member
104 wait_queue_head_t waitq; member
184 wake_up(&msg->waitq); in vduse_dev_broken()
187 wake_up(&dev->waitq); in vduse_dev_broken()
198 init_waitqueue_head(&msg->waitq); in vduse_dev_msg_sync()
206 wake_up(&dev->waitq); in vduse_dev_msg_sync()
209 ret = wait_event_killable_timeout(msg->waitq, msg->completed, in vduse_dev_msg_sync()
212 ret = wait_event_killable(msg->waitq, msg->completed); in vduse_dev_msg_sync()
320 ret = wait_event_interruptible_exclusive(dev->waitq, in vduse_dev_read_iter()
377 wake_up(&msg->waitq); in vduse_dev_write_iter()
[all …]
/drivers/i2c/busses/
Di2c-mv64xxx.c141 wait_queue_head_t waitq; member
424 wake_up(&drv_data->waitq); in mv64xxx_i2c_do_action()
440 wake_up(&drv_data->waitq); in mv64xxx_i2c_do_action()
504 wake_up(&drv_data->waitq); in mv64xxx_i2c_intr_offload()
563 time_left = wait_event_timeout(drv_data->waitq, in mv64xxx_i2c_wait_for_completion()
579 time_left = wait_event_timeout(drv_data->waitq, in mv64xxx_i2c_wait_for_completion()
1006 init_waitqueue_head(&drv_data->waitq); in mv64xxx_i2c_probe()
Di2c-iop3xx.c116 wake_up_interruptible(&iop3xx_adap->waitq); in iop3xx_i2c_irq_handler()
171 iop3xx_adap->waitq, in iop3xx_i2c_wait_event()
494 init_waitqueue_head(&adapter_data->waitq); in iop3xx_i2c_probe()
Di2c-iop3xx.h91 wait_queue_head_t waitq; member
Di2c-mpc.c86 wait_queue_head_t waitq; member
497 wake_up(&i2c->waitq); in mpc_i2c_finish()
661 time_left = wait_event_timeout(i2c->waitq, !i2c->block, i2c->adap.timeout); in mpc_i2c_wait_for_completion()
796 init_waitqueue_head(&i2c->waitq); in fsl_i2c_probe()
/drivers/tty/vt/
Dvc_screen.c80 wait_queue_head_t waitq; member
113 wake_up_interruptible(&poll->waitq); in vcs_notifier()
137 init_waitqueue_head(&poll->waitq); in vcs_poll_data_get()
718 poll_wait(file, &poll->waitq, wait); in vcs_poll()
/drivers/char/
Dlp.c230 prepare_to_wait(&lp_table[minor].waitq, &wait, TASK_INTERRUPTIBLE); in lp_error()
232 finish_wait(&lp_table[minor].waitq, &wait); in lp_error()
470 prepare_to_wait(&lp_table[minor].waitq, &wait, TASK_INTERRUPTIBLE); in lp_read()
472 finish_wait(&lp_table[minor].waitq, &wait); in lp_read()
1040 init_waitqueue_head(&lp_table[i].waitq); in lp_init()
/drivers/hid/
Duhid.c50 wait_queue_head_t waitq; member
101 wake_up_interruptible(&uhid->waitq); in uhid_queue()
647 init_waitqueue_head(&uhid->waitq); in uhid_char_open()
690 ret = wait_event_interruptible(uhid->waitq, in uhid_char_read()
792 poll_wait(file, &uhid->waitq, wait); in uhid_char_poll()
/drivers/media/pci/ivtv/
Divtv-fileops.c262 prepare_to_wait(&s->waitq, &wait, TASK_INTERRUPTIBLE); in ivtv_get_buffer()
266 finish_wait(&s->waitq, &wait); in ivtv_get_buffer()
622 prepare_to_wait(&s->waitq, &wait, TASK_INTERRUPTIBLE); in ivtv_write()
626 finish_wait(&s->waitq, &wait); in ivtv_write()
742 poll_wait(filp, &s->waitq, wait); in ivtv_v4l2_dec_poll()
783 poll_wait(filp, &s->waitq, wait); in ivtv_v4l2_enc_poll()
/drivers/usb/class/
Dusbtmc.c110 wait_queue_head_t waitq; member
240 wake_up_interruptible_all(&data->waitq); in usbtmc_flush()
515 data->waitq, in usbtmc_get_stb()
622 data->waitq, in usbtmc488_ioctl_wait_srq()
801 wake_up_interruptible(&file_data->data->waitq); in usbtmc_read_bulk_cb()
1101 wake_up_interruptible(&file_data->data->waitq); in usbtmc_write_bulk_cb()
2232 poll_wait(file, &data->waitq, wait); in usbtmc_poll()
2299 wake_up_interruptible(&data->waitq); in usbtmc_interrupt()
2326 wake_up_interruptible_all(&data->waitq); in usbtmc_interrupt()
2379 init_waitqueue_head(&data->waitq); in usbtmc_probe()
[all …]
/drivers/input/misc/
Duinput.c60 wait_queue_head_t waitq; member
90 wake_up_interruptible(&udev->waitq); in uinput_dev_event()
389 init_waitqueue_head(&newdev->waitq); in uinput_open()
719 retval = wait_event_interruptible(udev->waitq, in uinput_read()
732 poll_wait(file, &udev->waitq, wait); in uinput_poll()

123