Home
last modified time | relevance | path

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

12345678910>>...12

/linux/drivers/platform/chrome/
A 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/drivers/hid/
A 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()
/linux/drivers/input/serio/
A 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/drivers/gpu/drm/msm/disp/
A 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/drivers/input/touchscreen/
A Dexc3000.c79 struct completion wait_event; member
202 complete(&data->wait_event); in exc3000_interrupt()
226 reinit_completion(&data->wait_event); in exc3000_vendor_data_request()
236 ret = wait_for_completion_timeout(&data->wait_event, in exc3000_vendor_data_request()
349 init_completion(&data->wait_event); in exc3000_probe()
/linux/drivers/spi/
A 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/drivers/scsi/isci/
A 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/kernel/bpf/preload/
A 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()
/linux/drivers/nvdimm/
A 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/drivers/net/hyperv/
A Drndis_filter.c32 struct completion wait_event; member
93 init_completion(&request->wait_event); in get_rndis_request()
364 complete(&request->wait_event); in rndis_filter_receive_response()
708 wait_for_completion(&request->wait_event); in rndis_filter_query_device()
848 wait_for_completion(&request->wait_event); in rndis_filter_set_device_mac()
904 wait_for_completion(&request->wait_event); in rndis_filter_set_offload_params()
971 wait_for_completion(&request->wait_event); in rndis_set_rss_param_msg()
1059 wait_for_completion(&request->wait_event); in rndis_filter_set_packet_filter()
1124 wait_for_completion(&request->wait_event); in rndis_filter_init_device()
1190 wait_event(nvdev->wait_drain, netvsc_device_idle(nvdev)); in rndis_filter_halt_device()
[all …]
/linux/drivers/gpu/drm/sti/
A 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()
A Dsti_hdmi.h81 wait_queue_head_t wait_event; member
/linux/kernel/power/
A 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()
810 wait_event(data[thr].done, in save_image_lzo()
850 wait_event(crc->done, atomic_read(&crc->stop)); in save_image_lzo()
1132 wait_event(d->go, atomic_read(&d->ready) || in lzo_decompress_threadfn()
1335 wait_event(crc->done, atomic_read(&crc->stop)); in load_image_lzo()
1389 wait_event(data[thr].done, in load_image_lzo()
1435 wait_event(crc->done, atomic_read(&crc->stop)); in load_image_lzo()
/linux/fs/btrfs/
A Dlocking.c257 wait_event(lock->pending_writers, !atomic_read(&lock->readers)); in btrfs_drew_write_lock()
279 wait_event(lock->pending_readers, in btrfs_drew_read_lock()
/linux/drivers/soc/fsl/qbman/
A Dqman_test_api.c182 wait_event(waitqueue, sdqcr_complete); in qman_test_api()
190 wait_event(waitqueue, retire_complete); in qman_test_api()
/linux/fs/ksmbd/
A 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/drivers/scsi/
A Dstorvsc_drv.c423 struct completion wait_event; member
612 wait_event(dev->waiting_to_drain, in storvsc_wait_to_drain()
790 init_completion(&request->wait_event); in handle_multichannel_storage()
807 t = wait_for_completion_timeout(&request->wait_event, 10*HZ); in handle_multichannel_storage()
861 init_completion(&request->wait_event); in storvsc_execute_vstor_op()
873 t = wait_for_completion_timeout(&request->wait_event, 5*HZ); in storvsc_execute_vstor_op()
1347 complete(&request->wait_event); in storvsc_on_channel_callback()
1677 init_completion(&request->wait_event); in storvsc_host_reset_handler()
1692 t = wait_for_completion_timeout(&request->wait_event, 5*HZ); in storvsc_host_reset_handler()
/linux/drivers/net/wireless/intel/iwlwifi/fw/
A Ddump.c57 u32 wait_event; /* wait event() caller address */ member
105 u32 wait_event; /* wait event() caller address */ member
264 IWL_ERR(fwrt, "0x%08X | wait_event\n", table.wait_event); in iwl_fwrt_dump_lmac_error_log()
/linux/drivers/gpu/drm/i915/selftests/
A Digt_reset.c22 wait_event(gt->reset.queue, in igt_global_reset_lock()
/linux/arch/m68k/atari/
A Dstdma.c109 wait_event(stdma_wait, stdma_try_lock(handler, data)); in stdma_lock()
/linux/drivers/s390/cio/
A Ddevice.c293 wait_event(cdev->private->wait_q, (dev_fsm_final_state(cdev) || in ccw_device_set_offline()
313 wait_event(cdev->private->wait_q, (dev_fsm_final_state(cdev) || in ccw_device_set_offline()
365 wait_event(cdev->private->wait_q, dev_fsm_final_state(cdev)); in ccw_device_set_online()
409 wait_event(cdev->private->wait_q, (dev_fsm_final_state(cdev) || in ccw_device_set_online()
417 wait_event(cdev->private->wait_q, (dev_fsm_final_state(cdev) || in ccw_device_set_online()
455 wait_event(cdev->private->wait_q, in online_store_recog_and_online()
1227 wait_event(cdev->private->wait_q, in io_subchannel_quiesce()
1749 wait_event(cdev->private->wait_q, in ccw_device_remove()
/linux/fs/erofs/
A Ddecompressor_lzma.c118 wait_event(z_erofs_lzma_wq, in z_erofs_load_lzma_config()
184 wait_event(z_erofs_lzma_wq, READ_ONCE(z_erofs_lzma_head)); in z_erofs_lzma_decompress()
/linux/drivers/infiniband/sw/rdmavt/
A 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/fs/fscache/
A Dcache.c400 wait_event(fscache_cache_cleared_wq, in fscache_withdraw_cache()
403 wait_event(fscache_cache_cleared_wq, in fscache_withdraw_cache()
/linux/drivers/pci/hotplug/
A Dpciehp_ctrl.c375 wait_event(ctrl->requester, in pciehp_sysfs_enable_slot()
409 wait_event(ctrl->requester, in pciehp_sysfs_disable_slot()

Completed in 52 milliseconds

12345678910>>...12