Home
last modified time | relevance | path

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

12345678910>>...12

/linux-6.6.21/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()
/linux-6.6.21/drivers/hid/
Dhid-hyperv.c136 struct completion wait_event; member
159 init_completion(&input_dev->wait_event); in mousevsc_alloc_device()
237 complete(&input_device->wait_event); in mousevsc_on_receive_device_info()
272 complete(&input_dev->wait_event); in mousevsc_on_receive()
338 reinit_completion(&input_dev->wait_event); in mousevsc_connect_to_vsp()
358 t = wait_for_completion_timeout(&input_dev->wait_event, 5*HZ); in mousevsc_connect_to_vsp()
373 t = wait_for_completion_timeout(&input_dev->wait_event, 5*HZ); in mousevsc_connect_to_vsp()
/linux-6.6.21/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-6.6.21/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()
/linux-6.6.21/drivers/input/touchscreen/
Dexc3000.c81 struct completion wait_event; member
209 complete(&data->wait_event); in exc3000_interrupt()
234 reinit_completion(&data->wait_event); in exc3000_vendor_data_request()
244 time_left = wait_for_completion_timeout(&data->wait_event, in exc3000_vendor_data_request()
357 init_completion(&data->wait_event); in exc3000_probe()
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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.h80 wait_queue_head_t wait_event; member
/linux-6.6.21/kernel/power/
Dswap.c308 wait_event(hb->wait, atomic_read(&hb->count) == 0); in hib_wait_io()
608 wait_event(d->go, atomic_read_acquire(&d->ready) || in crc32_threadfn()
651 wait_event(d->go, atomic_read_acquire(&d->ready) || in lzo_compress_threadfn()
812 wait_event(data[thr].done, in save_image_lzo()
852 wait_event(crc->done, atomic_read_acquire(&crc->stop)); in save_image_lzo()
1134 wait_event(d->go, atomic_read_acquire(&d->ready) || in lzo_decompress_threadfn()
1337 wait_event(crc->done, atomic_read_acquire(&crc->stop)); in load_image_lzo()
1391 wait_event(data[thr].done, in load_image_lzo()
1437 wait_event(crc->done, atomic_read_acquire(&crc->stop)); in load_image_lzo()
/linux-6.6.21/drivers/net/hyperv/
Drndis_filter.c34 struct completion wait_event; member
95 init_completion(&request->wait_event); in get_rndis_request()
369 complete(&request->wait_event); in rndis_filter_receive_response()
713 wait_for_completion(&request->wait_event); in rndis_filter_query_device()
853 wait_for_completion(&request->wait_event); in rndis_filter_set_device_mac()
909 wait_for_completion(&request->wait_event); in rndis_filter_set_offload_params()
976 wait_for_completion(&request->wait_event); in rndis_set_rss_param_msg()
1064 wait_for_completion(&request->wait_event); in rndis_filter_set_packet_filter()
1129 wait_for_completion(&request->wait_event); in rndis_filter_init_device()
1195 wait_event(nvdev->wait_drain, netvsc_device_idle(nvdev)); in rndis_filter_halt_device()
[all …]
/linux-6.6.21/fs/smb/server/
Dcrypto_ctx.c128 wait_event(ctx_list.ctx_wait, in ksmbd_find_crypto_ctx()
141 wait_event(ctx_list.ctx_wait, in ksmbd_find_crypto_ctx()
/linux-6.6.21/drivers/soc/fsl/qbman/
Dqman_test_api.c182 wait_event(waitqueue, sdqcr_complete); in qman_test_api()
190 wait_event(waitqueue, retire_complete); in qman_test_api()
/linux-6.6.21/drivers/infiniband/hw/erdma/
Derdma_cmdq.c81 init_completion(&cmdq->wait_pool[i].wait_event); in erdma_cmdq_wait_res_init()
272 reinit_completion(&comp_wait->wait_event); in push_cmdq_sqe()
321 complete(&comp_wait->wait_event); in erdma_poll_single_cmd_completion()
391 wait_for_completion_timeout(&comp_ctx->wait_event, in erdma_wait_cmd_completion()
/linux-6.6.21/fs/btrfs/
Dlocking.c360 wait_event(lock->pending_writers, !atomic_read(&lock->readers)); in btrfs_drew_write_lock()
382 wait_event(lock->pending_readers, atomic_read(&lock->writers) == 0); in btrfs_drew_read_lock()
/linux-6.6.21/drivers/gpu/drm/i915/selftests/
Digt_reset.c22 wait_event(gt->reset.queue, in igt_global_reset_lock()
/linux-6.6.21/fs/dlm/
Dplock.c114 wait_event(recv_wq, (op->done != 0)); in do_lock_cancel()
219 wait_event(recv_wq, (op->done != 0)); in dlm_posix_lock()
342 wait_event(recv_wq, (op->done != 0)); in dlm_posix_unlock()
459 wait_event(recv_wq, (op->done != 0)); in dlm_posix_get()
/linux-6.6.21/drivers/scsi/
Dstorvsc_drv.c391 struct completion wait_event; member
569 wait_event(dev->waiting_to_drain, in storvsc_wait_to_drain()
747 init_completion(&request->wait_event); in handle_multichannel_storage()
763 t = wait_for_completion_timeout(&request->wait_event, 10*HZ); in handle_multichannel_storage()
817 init_completion(&request->wait_event); in storvsc_execute_vstor_op()
828 t = wait_for_completion_timeout(&request->wait_event, 5*HZ); in storvsc_execute_vstor_op()
1317 complete(&request->wait_event); in storvsc_on_channel_callback()
1646 init_completion(&request->wait_event); in storvsc_host_reset_handler()
1660 t = wait_for_completion_timeout(&request->wait_event, 5*HZ); in storvsc_host_reset_handler()
/linux-6.6.21/arch/m68k/atari/
Dstdma.c108 wait_event(stdma_wait, stdma_try_lock(handler, data)); in stdma_lock()
/linux-6.6.21/drivers/infiniband/sw/rdmavt/
Dmcast.c371 wait_event(mcast->wait, atomic_read(&mcast->refcount) <= 1); in rvt_detach_mcast()
376 wait_event(mcast->wait, !atomic_read(&mcast->refcount)); in rvt_detach_mcast()
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_sw_fence.h113 wait_event(fence->wait, i915_sw_fence_done(fence)); in i915_sw_fence_wait()
/linux-6.6.21/fs/notify/
Dgroup.c68 wait_event(group->notification_waitq, !atomic_read(&group->user_waits)); in fsnotify_destroy_group()
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dintel_gt_debugfs.c36 wait_event(gt->reset.queue, in intel_gt_debugfs_reset_store()
/linux-6.6.21/drivers/pci/hotplug/
Dpciehp_ctrl.c384 wait_event(ctrl->requester, in pciehp_sysfs_enable_slot()
418 wait_event(ctrl->requester, in pciehp_sysfs_disable_slot()

12345678910>>...12