Home
last modified time | relevance | path

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

123456

/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/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()
Dspi-txx9.c78 wait_queue_head_t waitq; member
143 wake_up(&c->waitq); in txx9spi_interrupt()
235 wait_event(c->waitq, in txx9spi_work_one()
341 init_waitqueue_head(&c->waitq); in txx9spi_probe()
/Linux-v5.4/fs/orangefs/
Dwaitqueue.c270 wait_for_completion(&op->waitq); in orangefs_clean_up_interrupted_operation()
298 reinit_completion(&op->waitq); in orangefs_clean_up_interrupted_operation()
334 n = wait_for_completion_io_timeout(&op->waitq, timeout); in wait_for_matching_downcall()
336 n = wait_for_completion_interruptible_timeout(&op->waitq, in wait_for_matching_downcall()
339 n = wait_for_completion_killable_timeout(&op->waitq, timeout); in wait_for_matching_downcall()
Dorangefs-kernel.h135 struct completion waitq; member
149 complete(&op->waitq); in set_op_state_serviced()
177 complete(&op->waitq); in set_op_state_purged()
/Linux-v5.4/drivers/usb/misc/
Dyurex.c65 wait_queue_head_t waitq; member
84 wake_up_interruptible(&dev->waitq); in yurex_control_callback()
180 wake_up_interruptible(&dev->waitq); in yurex_interrupt()
207 init_waitqueue_head(&dev->waitq); in yurex_probe()
328 wake_up_interruptible(&dev->waitq); in yurex_disconnect()
492 prepare_to_wait(&dev->waitq, &wait, TASK_INTERRUPTIBLE); in yurex_write()
498 finish_wait(&dev->waitq, &wait); in yurex_write()
/Linux-v5.4/drivers/mailbox/
Dmailbox-test.c41 wait_queue_head_t waitq; member
184 add_wait_queue(&tdev->waitq, &wait); in mbox_test_message_read()
228 remove_wait_queue(&tdev->waitq, &wait); in mbox_test_message_read()
239 poll_wait(filp, &tdev->waitq, wait); in mbox_test_message_poll()
294 wake_up_interruptible(&tdev->waitq); in mbox_test_receive_message()
407 init_waitqueue_head(&tdev->waitq); in mbox_test_probe()
/Linux-v5.4/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()
/Linux-v5.4/block/
Dblk-iocost.c490 struct wait_queue_head waitq; member
1152 lockdep_assert_held(&iocg->waitq.lock); in iocg_kick_waitq()
1178 __wake_up_locked_key(&iocg->waitq, TASK_NORMAL, &ctx); in iocg_kick_waitq()
1179 if (!waitqueue_active(&iocg->waitq)) in iocg_kick_waitq()
1208 spin_lock_irqsave(&iocg->waitq.lock, flags); in iocg_waitq_timer_fn()
1210 spin_unlock_irqrestore(&iocg->waitq.lock, flags); in iocg_waitq_timer_fn()
1373 if (!waitqueue_active(&iocg->waitq) && in ioc_timer_fn()
1377 spin_lock(&iocg->waitq.lock); in ioc_timer_fn()
1379 if (waitqueue_active(&iocg->waitq) || in ioc_timer_fn()
1391 spin_unlock(&iocg->waitq.lock); in ioc_timer_fn()
[all …]
/Linux-v5.4/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()
954 init_waitqueue_head(&priv->waitq); in lbs_add_card()
1116 wake_up(&priv->waitq); in lbs_queue_event()
1131 wake_up(&priv->waitq); in lbs_notify_command_response()
/Linux-v5.4/arch/arm/mach-pxa/
Dam200epd.c287 wake_up_interruptible(&par->waitq); in am200_handle_irq()
315 return wait_event_timeout(par->waitq, gpio_get_value(RDY_GPIO_PIN), HZ); in am200_wait_event()
320 return wait_event_interruptible_timeout(par->waitq, in am200_wait_event_intr()
Dam300epd.c103 wait_event(par->waitq, gpio_get_value(RDY_GPIO_PIN)); in am300_wait_event()
235 wake_up(&par->waitq); in am300_handle_irq()
/Linux-v5.4/include/linux/
Dbacking-dev-defs.h73 wait_queue_head_t *waitq; member
77 (struct wb_completion){ .cnt = ATOMIC_INIT(1), .waitq = (_waitq) }
/Linux-v5.4/fs/autofs/
DMakefile8 autofs4-objs := init.o inode.o root.o symlink.o waitq.o expire.o dev-ioctl.o
/Linux-v5.4/drivers/i2c/busses/
Di2c-mv64xxx.c139 wait_queue_head_t waitq; member
411 wake_up(&drv_data->waitq); in mv64xxx_i2c_do_action()
427 wake_up(&drv_data->waitq); in mv64xxx_i2c_do_action()
491 wake_up(&drv_data->waitq); in mv64xxx_i2c_intr_offload()
540 time_left = wait_event_timeout(drv_data->waitq, in mv64xxx_i2c_wait_for_completion()
556 time_left = wait_event_timeout(drv_data->waitq, in mv64xxx_i2c_wait_for_completion()
899 init_waitqueue_head(&drv_data->waitq); in mv64xxx_i2c_probe()
Di2c-iop3xx.h91 wait_queue_head_t waitq; member
/Linux-v5.4/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()
/Linux-v5.4/drivers/staging/olpc_dcon/
Dolpc_dcon.c293 wait_event_timeout(dcon->waitq, dcon->switched, HZ); in dcon_source_switch()
332 wait_event_timeout(dcon->waitq, dcon->switched, HZ / 2); in dcon_source_switch()
597 init_waitqueue_head(&dcon->waitq); in dcon_probe()
743 wake_up(&dcon->waitq); in dcon_interrupt()
757 wake_up(&dcon->waitq); in dcon_interrupt()
/Linux-v5.4/fs/fuse/
Ddev.c47 init_waitqueue_head(&req->waitq); in fuse_request_init()
209 wake_up(&fiq->waitq); in fuse_dev_wake_and_unlock()
324 wake_up(&req->waitq); in fuse_request_end()
369 err = wait_event_interruptible(req->waitq, in request_wait_answer()
383 err = wait_event_killable(req->waitq, in request_wait_answer()
404 wait_event(req->waitq, test_bit(FR_FINISHED, &req->flags)); in request_wait_answer()
609 spin_lock(&req->waitq.lock); in lock_request()
614 spin_unlock(&req->waitq.lock); in lock_request()
627 spin_lock(&req->waitq.lock); in unlock_request()
632 spin_unlock(&req->waitq.lock); in unlock_request()
[all …]
/Linux-v5.4/sound/soc/intel/common/
Dsst-ipc.c52 ret = wait_event_timeout(msg->waitq, msg->complete, in tx_wait_done()
135 init_waitqueue_head(&ipc->msg[i].waitq); in msg_empty_list_init()
253 wake_up(&msg->waitq); in sst_ipc_tx_msg_reply_complete()
/Linux-v5.4/drivers/usb/gadget/function/
Df_fs.c276 __releases(&ffs->ev.waitq.lock) in __ffs_ep0_queue_wait()
283 spin_unlock_irq(&ffs->ev.waitq.lock); in __ffs_ep0_queue_wait()
399 spin_lock_irq(&ffs->ev.waitq.lock); in ffs_ep0_write()
415 spin_unlock_irq(&ffs->ev.waitq.lock); in ffs_ep0_write()
423 spin_unlock_irq(&ffs->ev.waitq.lock); in ffs_ep0_write()
431 spin_lock_irq(&ffs->ev.waitq.lock); in ffs_ep0_write()
449 spin_unlock_irq(&ffs->ev.waitq.lock); in ffs_ep0_write()
469 __releases(&ffs->ev.waitq.lock) in __ffs_ep0_read_events()
495 spin_unlock_irq(&ffs->ev.waitq.lock); in __ffs_ep0_read_events()
530 spin_lock_irq(&ffs->ev.waitq.lock); in ffs_ep0_read()
[all …]
/Linux-v5.4/include/video/
Dmetronomefb.h32 wait_queue_head_t waitq; member
/Linux-v5.4/drivers/gpu/drm/tiny/
Dgm12u320.c96 wait_queue_head_t waitq; member
417 wait_event_timeout(gm12u320->fb_update.waitq, in gm12u320_fb_update_work()
456 wake_up(&gm12u320->fb_update.waitq); in gm12u320_fb_mark_dirty()
477 wake_up(&gm12u320->fb_update.waitq); in gm12u320_stop_fb_update()
695 init_waitqueue_head(&gm12u320->fb_update.waitq); in gm12u320_usb_probe()
/Linux-v5.4/net/sunrpc/
Drpc_pipe.c64 static void rpc_purge_list(wait_queue_head_t *waitq, struct list_head *head, in rpc_purge_list() argument
78 if (waitq) in rpc_purge_list()
79 wake_up(waitq); in rpc_purge_list()
99 rpc_purge_list(dentry ? &RPC_I(d_inode(dentry))->waitq : NULL, in rpc_timeout_upcall_queue()
157 wake_up(&RPC_I(d_inode(dentry))->waitq); in rpc_queue_upcall()
186 rpc_purge_list(&RPC_I(inode)->waitq, &free_list, pipe->ops->destroy_msg, -EPIPE); in rpc_close_pipes()
268 rpc_purge_list(&RPC_I(inode)->waitq, &free_list, in rpc_pipe_release()
345 poll_wait(filp, &rpci->waitq, wait); in rpc_pipe_poll()
1480 init_waitqueue_head(&rpci->waitq); in init_once()

123456