Home
last modified time | relevance | path

Searched refs:wait_event (Results 1 – 25 of 274) sorted by relevance

1234567891011

/Linux-v5.4/drivers/platform/chrome/
Dcros_ec_chardev.c42 wait_queue_head_t wait_event; member
116 spin_lock(&priv->wait_event.lock); in cros_ec_chardev_mkbp_event()
119 wake_up_locked(&priv->wait_event); in cros_ec_chardev_mkbp_event()
120 spin_unlock(&priv->wait_event.lock); in cros_ec_chardev_mkbp_event()
131 spin_lock(&priv->wait_event.lock); in cros_ec_chardev_fetch_event()
142 err = wait_event_interruptible_locked(priv->wait_event, in cros_ec_chardev_fetch_event()
154 spin_unlock(&priv->wait_event.lock); in cros_ec_chardev_fetch_event()
175 init_waitqueue_head(&priv->wait_event); in cros_ec_chardev_open()
193 poll_wait(filp, &priv->wait_event, wait); in cros_ec_chardev_poll()
/Linux-v5.4/drivers/gpu/drm/vmwgfx/
Dttm_lock.c82 wait_event(lock->queue, __ttm_read_lock(lock)); in ttm_read_lock()
114 wait_event(lock->queue, __ttm_read_trylock(lock, &locked)); in ttm_read_trylock()
162 wait_event(lock->queue, __ttm_write_lock(lock)); in ttm_write_lock()
193 wait_event(lock->queue, __ttm_suspend_lock(lock)); in ttm_suspend_lock()
/Linux-v5.4/drivers/gpu/drm/msm/disp/
Dmdp_kms.c17 static DECLARE_WAIT_QUEUE_HEAD(wait_event);
84 wake_up_all(&wait_event); in wait_irq()
97 wait_event_timeout(wait_event, (wait.count <= 0), in mdp_irq_wait()
/Linux-v5.4/drivers/hid/
Dhid-hyperv.c144 struct completion wait_event; member
167 init_completion(&input_dev->wait_event); in mousevsc_alloc_device()
240 complete(&input_device->wait_event); in mousevsc_on_receive_device_info()
279 complete(&input_dev->wait_event); in mousevsc_on_receive()
364 t = wait_for_completion_timeout(&input_dev->wait_event, 5*HZ); in mousevsc_connect_to_vsp()
379 t = wait_for_completion_timeout(&input_dev->wait_event, 5*HZ); in mousevsc_connect_to_vsp()
/Linux-v5.4/drivers/input/serio/
Dhyperv-keyboard.c95 struct completion wait_event; member
127 complete(&kbd_dev->wait_event); in hv_kbd_on_receive()
275 if (!wait_for_completion_timeout(&kbd_dev->wait_event, 10 * HZ)) in hv_kbd_connect_to_vsp()
329 init_completion(&kbd_dev->wait_event); in hv_kbd_probe()
/Linux-v5.4/drivers/spi/
Dspi-coldfire-qspi.c179 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()
/Linux-v5.4/drivers/scsi/isci/
Dhost.h318 wait_event(ihost->eventq, !test_bit(IHOST_START_PENDING, &ihost->flags)); in wait_for_start()
323 wait_event(ihost->eventq, !test_bit(IHOST_STOP_PENDING, &ihost->flags)); in wait_for_stop()
328 wait_event(ihost->eventq, !test_bit(IDEV_START_PENDING, &idev->flags)); in wait_for_device_start()
333 wait_event(ihost->eventq, !test_bit(IDEV_STOP_PENDING, &idev->flags)); in wait_for_device_stop()
/Linux-v5.4/fs/btrfs/
Dlocking.c152 wait_event(eb->write_lock_wq, in btrfs_tree_read_lock()
284 wait_event(eb->read_lock_wq, atomic_read(&eb->blocking_readers) == 0); in btrfs_tree_lock()
285 wait_event(eb->write_lock_wq, eb->blocking_writers == 0); in btrfs_tree_lock()
/Linux-v5.4/drivers/nvdimm/
Dnd_virtio.c78 wait_event(req_data->wq_buf, req_data->wq_buf_avail); in virtio_pmem_flush()
92 wait_event(req_data->host_acked, req_data->done); in virtio_pmem_flush()
/Linux-v5.4/drivers/gpu/drm/sti/
Dsti_hdmi_tx3g4c28phy.c121 wait_event_interruptible_timeout(hdmi->wait_event, in sti_hdmi_tx3g4c28phy_start()
201 wait_event_interruptible_timeout(hdmi->wait_event, in sti_hdmi_tx3g4c28phy_stop()
Dsti_hdmi.h87 wait_queue_head_t wait_event; member
/Linux-v5.4/drivers/net/hyperv/
Drndis_filter.c31 struct completion wait_event; member
92 init_completion(&request->wait_event); in get_rndis_request()
320 complete(&request->wait_event); in rndis_filter_receive_response()
568 wait_for_completion(&request->wait_event); in rndis_filter_query_device()
697 wait_for_completion(&request->wait_event); in rndis_filter_set_device_mac()
753 wait_for_completion(&request->wait_event); in rndis_filter_set_offload_params()
819 wait_for_completion(&request->wait_event); in rndis_set_rss_param_msg()
909 wait_for_completion(&request->wait_event); in rndis_filter_set_packet_filter()
974 wait_for_completion(&request->wait_event); in rndis_filter_init_device()
1040 wait_event(nvdev->wait_drain, netvsc_device_idle(nvdev)); in rndis_filter_halt_device()
[all …]
/Linux-v5.4/drivers/scsi/
Dstorvsc_drv.c422 struct completion wait_event; member
595 wait_event(dev->waiting_to_drain, in storvsc_wait_to_drain()
693 init_completion(&request->wait_event); in handle_multichannel_storage()
710 t = wait_for_completion_timeout(&request->wait_event, 10*HZ); in handle_multichannel_storage()
759 init_completion(&request->wait_event); in storvsc_execute_vstor_op()
771 t = wait_for_completion_timeout(&request->wait_event, 5*HZ); in storvsc_execute_vstor_op()
1177 complete(&request->wait_event); in storvsc_on_channel_callback()
1489 init_completion(&request->wait_event); in storvsc_host_reset_handler()
1504 t = wait_for_completion_timeout(&request->wait_event, 5*HZ); in storvsc_host_reset_handler()
/Linux-v5.4/kernel/power/
Dswap.c297 wait_event(hb->wait, atomic_read(&hb->count) == 0); in hib_wait_io()
597 wait_event(d->go, atomic_read(&d->ready) || in crc32_threadfn()
640 wait_event(d->go, atomic_read(&d->ready) || in lzo_compress_threadfn()
804 wait_event(data[thr].done, in save_image_lzo()
844 wait_event(crc->done, atomic_read(&crc->stop)); in save_image_lzo()
1124 wait_event(d->go, atomic_read(&d->ready) || in lzo_decompress_threadfn()
1330 wait_event(crc->done, atomic_read(&crc->stop)); in load_image_lzo()
1384 wait_event(data[thr].done, in load_image_lzo()
1430 wait_event(crc->done, atomic_read(&crc->stop)); in load_image_lzo()
/Linux-v5.4/drivers/soc/fsl/qbman/
Dqman_test_api.c181 wait_event(waitqueue, sdqcr_complete); in qman_test_api()
189 wait_event(waitqueue, retire_complete); in qman_test_api()
/Linux-v5.4/drivers/gpu/drm/ttm/
Dttm_module.c95 wait_event(exit_q, atomic_read(&device_released) == 1); in ttm_exit()
/Linux-v5.4/drivers/gpu/drm/i915/selftests/
Digt_reset.c22 wait_event(gt->reset.queue, in igt_global_reset_lock()
/Linux-v5.4/arch/m68k/atari/
Dstdma.c109 wait_event(stdma_wait, stdma_try_lock(handler, data)); in stdma_lock()
/Linux-v5.4/drivers/staging/isdn/gigaset/
Dproc.c49 wait_event(cs->waitqueue, !cs->waiting); in set_cidmode()
/Linux-v5.4/fs/notify/
Dgroup.c67 wait_event(group->notification_waitq, !atomic_read(&group->user_waits)); in fsnotify_destroy_group()
/Linux-v5.4/drivers/gpu/drm/i915/
Di915_sw_fence.h107 wait_event(fence->wait, i915_sw_fence_done(fence)); in i915_sw_fence_wait()
/Linux-v5.4/drivers/s390/cio/
Ddevice.c307 wait_event(cdev->private->wait_q, (dev_fsm_final_state(cdev) || in ccw_device_set_offline()
327 wait_event(cdev->private->wait_q, (dev_fsm_final_state(cdev) || in ccw_device_set_offline()
379 wait_event(cdev->private->wait_q, dev_fsm_final_state(cdev)); in ccw_device_set_online()
423 wait_event(cdev->private->wait_q, (dev_fsm_final_state(cdev) || in ccw_device_set_online()
431 wait_event(cdev->private->wait_q, (dev_fsm_final_state(cdev) || in ccw_device_set_online()
469 wait_event(cdev->private->wait_q, in online_store_recog_and_online()
1230 wait_event(cdev->private->wait_q, in io_subchannel_quiesce()
1764 wait_event(cdev->private->wait_q, in ccw_device_remove()
1911 wait_event(cdev->private->wait_q, dev_fsm_final_state(cdev) || in __ccw_device_pm_restore()
1984 wait_event(cdev->private->wait_q, dev_fsm_final_state(cdev)); in ccw_device_pm_restore()
/Linux-v5.4/drivers/infiniband/sw/rdmavt/
Dmcast.c413 wait_event(mcast->wait, atomic_read(&mcast->refcount) <= 1); in rvt_detach_mcast()
418 wait_event(mcast->wait, !atomic_read(&mcast->refcount)); in rvt_detach_mcast()
/Linux-v5.4/fs/fscache/
Dcache.c401 wait_event(fscache_cache_cleared_wq, in fscache_withdraw_cache()
404 wait_event(fscache_cache_cleared_wq, in fscache_withdraw_cache()
/Linux-v5.4/drivers/pci/hotplug/
Dpciehp_ctrl.c377 wait_event(ctrl->requester, in pciehp_sysfs_enable_slot()
410 wait_event(ctrl->requester, in pciehp_sysfs_disable_slot()

1234567891011