Home
last modified time | relevance | path

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

12345678910>>...12

/kernel/linux/linux-5.10/drivers/platform/chrome/
Dcros_ec_chardev.c41 wait_queue_head_t wait_event; member
115 spin_lock(&priv->wait_event.lock); in cros_ec_chardev_mkbp_event()
118 wake_up_locked(&priv->wait_event); in cros_ec_chardev_mkbp_event()
119 spin_unlock(&priv->wait_event.lock); in cros_ec_chardev_mkbp_event()
130 spin_lock(&priv->wait_event.lock); in cros_ec_chardev_fetch_event()
141 err = wait_event_interruptible_locked(priv->wait_event, in cros_ec_chardev_fetch_event()
153 spin_unlock(&priv->wait_event.lock); in cros_ec_chardev_fetch_event()
174 init_waitqueue_head(&priv->wait_event); in cros_ec_chardev_open()
192 poll_wait(filp, &priv->wait_event, wait); in cros_ec_chardev_poll()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dexc3000.c77 struct completion wait_event; member
199 complete(&data->wait_event); in exc3000_interrupt()
243 reinit_completion(&data->wait_event); in fw_version_show()
251 wait_for_completion_interruptible_timeout(&data->wait_event, 1 * HZ); in fw_version_show()
271 reinit_completion(&data->wait_event); in exc3000_get_model()
279 wait_for_completion_interruptible_timeout(&data->wait_event, 1 * HZ); in exc3000_get_model()
328 init_completion(&data->wait_event); in exc3000_probe()
/kernel/linux/linux-5.10/drivers/hid/
Dhid-hyperv.c144 struct completion wait_event; member
167 init_completion(&input_dev->wait_event); in mousevsc_alloc_device()
244 complete(&input_device->wait_event); in mousevsc_on_receive_device_info()
283 complete(&input_dev->wait_event); in mousevsc_on_receive()
349 reinit_completion(&input_dev->wait_event); in mousevsc_connect_to_vsp()
370 t = wait_for_completion_timeout(&input_dev->wait_event, 5*HZ); in mousevsc_connect_to_vsp()
385 t = wait_for_completion_timeout(&input_dev->wait_event, 5*HZ); in mousevsc_connect_to_vsp()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/input/serio/
Dhyperv-keyboard.c95 struct completion wait_event; member
127 complete(&kbd_dev->wait_event); in hv_kbd_on_receive()
262 reinit_completion(&kbd_dev->wait_event); in hv_kbd_connect_to_vsp()
277 if (!wait_for_completion_timeout(&kbd_dev->wait_event, 10 * HZ)) in hv_kbd_connect_to_vsp()
331 init_completion(&kbd_dev->wait_event); in hv_kbd_probe()
/kernel/linux/linux-5.10/fs/btrfs/
Dlocking.c275 wait_event(eb->write_lock_wq, in __btrfs_tree_read_lock()
429 wait_event(eb->read_lock_wq, atomic_read(&eb->blocking_readers) == 0); in __btrfs_tree_lock()
430 wait_event(eb->write_lock_wq, READ_ONCE(eb->blocking_writers) == 0); in __btrfs_tree_lock()
640 wait_event(lock->pending_writers, !atomic_read(&lock->readers)); in btrfs_drew_write_lock()
662 wait_event(lock->pending_readers, in btrfs_drew_read_lock()
/kernel/linux/linux-5.10/kernel/bpf/preload/
Dbpf_preload_kern.c66 wait_event(tgid->wait_pidfd, thread_group_exited(tgid)); in finish()
95 wait_event(tgid->wait_pidfd, thread_group_exited(tgid)); in fini_umd()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/net/hyperv/
Drndis_filter.c31 struct completion wait_event; member
92 init_completion(&request->wait_event); in get_rndis_request()
329 complete(&request->wait_event); in rndis_filter_receive_response()
630 wait_for_completion(&request->wait_event); in rndis_filter_query_device()
759 wait_for_completion(&request->wait_event); in rndis_filter_set_device_mac()
815 wait_for_completion(&request->wait_event); in rndis_filter_set_offload_params()
882 wait_for_completion(&request->wait_event); in rndis_set_rss_param_msg()
972 wait_for_completion(&request->wait_event); in rndis_filter_set_packet_filter()
1037 wait_for_completion(&request->wait_event); in rndis_filter_init_device()
1103 wait_event(nvdev->wait_drain, netvsc_device_idle(nvdev)); in rndis_filter_halt_device()
[all …]
/kernel/linux/linux-5.10/kernel/power/
Dswap.c308 wait_event(hb->wait, atomic_read(&hb->count) == 0); in hib_wait_io()
606 wait_event(d->go, atomic_read(&d->ready) || in crc32_threadfn()
649 wait_event(d->go, atomic_read(&d->ready) || in lzo_compress_threadfn()
813 wait_event(data[thr].done, in save_image_lzo()
853 wait_event(crc->done, atomic_read(&crc->stop)); in save_image_lzo()
1135 wait_event(d->go, atomic_read(&d->ready) || in lzo_decompress_threadfn()
1341 wait_event(crc->done, atomic_read(&crc->stop)); in load_image_lzo()
1395 wait_event(data[thr].done, in load_image_lzo()
1441 wait_event(crc->done, atomic_read(&crc->stop)); in load_image_lzo()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/
Dttm_module.c95 wait_event(exit_q, atomic_read(&device_released) == 1); in ttm_exit()
/kernel/linux/linux-5.10/drivers/scsi/
Dstorvsc_drv.c427 struct completion wait_event; member
605 wait_event(dev->waiting_to_drain, in storvsc_wait_to_drain()
763 init_completion(&request->wait_event); in handle_multichannel_storage()
780 t = wait_for_completion_timeout(&request->wait_event, 10*HZ); in handle_multichannel_storage()
829 init_completion(&request->wait_event); in storvsc_execute_vstor_op()
841 t = wait_for_completion_timeout(&request->wait_event, 5*HZ); in storvsc_execute_vstor_op()
1257 complete(&request->wait_event); in storvsc_on_channel_callback()
1588 init_completion(&request->wait_event); in storvsc_host_reset_handler()
1603 t = wait_for_completion_timeout(&request->wait_event, 5*HZ); in storvsc_host_reset_handler()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
Digt_reset.c22 wait_event(gt->reset.queue, in igt_global_reset_lock()
/kernel/linux/linux-5.10/arch/m68k/atari/
Dstdma.c109 wait_event(stdma_wait, stdma_try_lock(handler, data)); in stdma_lock()
/kernel/linux/linux-5.10/kernel/rcu/
Drefscale.c381 wait_event(rt->wq, (atomic_read(&nreaders_exp) && smp_load_acquire(&rt->start_reader)) || in ref_scale_reader()
535 wait_event(main_wq, in main_func()
628 wait_event(shutdown_wq, shutdown_start); in ref_scale_shutdown()
/kernel/linux/linux-5.10/fs/notify/
Dgroup.c68 wait_event(group->notification_waitq, !atomic_read(&group->user_waits)); in fsnotify_destroy_group()
/kernel/linux/linux-5.10/fs/hmdfs/
Dinode_cloud_merge.c186 wait_event(mdi->wait_queue, is_merge_lookup_end(mdi)); in lookup_merge_normal()
523 wait_event(pmdi->wait_queue, !has_merge_lookup_work(pmdi)); in create_lo_d_parent_recur()
557 wait_event(pmdi->wait_queue, !has_merge_lookup_work(pmdi)); in create_lo_d_cloud_child()
645 wait_event(pmdi->wait_queue, !has_merge_lookup_work(pmdi)); in rename_lo_d_cloud_child()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_sw_fence.h109 wait_event(fence->wait, i915_sw_fence_done(fence)); in i915_sw_fence_wait()
/kernel/linux/linux-5.10/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()
1235 wait_event(cdev->private->wait_q, in io_subchannel_quiesce()
1769 wait_event(cdev->private->wait_q, in ccw_device_remove()
1916 wait_event(cdev->private->wait_q, dev_fsm_final_state(cdev) || in __ccw_device_pm_restore()
1989 wait_event(cdev->private->wait_q, dev_fsm_final_state(cdev)); in ccw_device_pm_restore()

12345678910>>...12