Home
last modified time | relevance | path

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

12345678

/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()
/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()
/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()
/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()
/drivers/input/touchscreen/
Dexc3000.c79 struct completion wait_event; member
202 complete(&data->wait_event); in exc3000_interrupt()
227 reinit_completion(&data->wait_event); in exc3000_vendor_data_request()
237 time_left = wait_for_completion_timeout(&data->wait_event, in exc3000_vendor_data_request()
350 init_completion(&data->wait_event); in exc3000_probe()
/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()
/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()
/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()
/drivers/net/hyperv/
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 …]
/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.h81 wait_queue_head_t wait_event; member
/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()
/drivers/scsi/
Dstorvsc_drv.c430 struct completion wait_event; member
619 wait_event(dev->waiting_to_drain, in storvsc_wait_to_drain()
797 init_completion(&request->wait_event); in handle_multichannel_storage()
814 t = wait_for_completion_timeout(&request->wait_event, 10*HZ); in handle_multichannel_storage()
868 init_completion(&request->wait_event); in storvsc_execute_vstor_op()
880 t = wait_for_completion_timeout(&request->wait_event, 5*HZ); in storvsc_execute_vstor_op()
1364 complete(&request->wait_event); in storvsc_on_channel_callback()
1696 init_completion(&request->wait_event); in storvsc_host_reset_handler()
1711 t = wait_for_completion_timeout(&request->wait_event, 5*HZ); in storvsc_host_reset_handler()
/drivers/net/wireless/intel/iwlwifi/fw/
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()
/drivers/gpu/drm/i915/selftests/
Digt_reset.c22 wait_event(gt->reset.queue, in igt_global_reset_lock()
/drivers/s390/cio/
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()
1229 wait_event(cdev->private->wait_q, in io_subchannel_quiesce()
1752 wait_event(cdev->private->wait_q, in ccw_device_remove()
Dcrw.c146 wait_event(crw_handler_wait_q, atomic_read(&crw_nr_req) == 0); in crw_wait_for_channel_report()
/drivers/infiniband/hw/efa/
Defa_com.c29 struct completion wait_event; member
329 reinit_completion(&comp_ctx->wait_event); in __efa_com_submit_admin_cmd()
365 init_completion(&comp_ctx->wait_event); in efa_com_init_comp_ctxt()
422 complete(&comp_ctx->wait_event); in efa_com_handle_single_admin_completion()
529 wait_for_completion_timeout(&comp_ctx->wait_event, in efa_com_wait_and_process_admin_cq_interrupts()
/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()
/drivers/pci/hotplug/
Dpciehp_ctrl.c383 wait_event(ctrl->requester, in pciehp_sysfs_enable_slot()
417 wait_event(ctrl->requester, in pciehp_sysfs_disable_slot()
/drivers/gpu/drm/i915/
Di915_sw_fence.h109 wait_event(fence->wait, i915_sw_fence_done(fence)); in i915_sw_fence_wait()
/drivers/gpu/drm/virtio/
Dvirtgpu_prime.c37 wait_event(vgdev->resp_wq, bo->uuid_state != STATE_INITIALIZING); in virtgpu_virtio_get_uuid()
/drivers/md/
Dmd-cluster.c133 wait_event(res->sync_locking, res->sync_locking_done); in dlm_lock_sync()
160 wait_event(res->sync_locking, res->sync_locking_done in dlm_lock_sync_interruptible()
251 wait_event(res->sync_locking, res->sync_locking_done); in lockres_free()
533 wait_event(mddev->thread->wqueue, in process_metadata_update()
704 wait_event(cinfo->wait, in lock_comm()
1058 wait_event(cinfo->wait, in metadata_update_start()
/drivers/xen/xenbus/
Dxenbus_xs.c103 wait_event(xs_state_exit_wq, xs_state_users == 0); in xs_suspend_enter()
125 wait_event(xs_state_enter_wq, xs_suspend_active == 0); in xs_request_enter()
209 wait_event(req->wq, test_reply(req)); in read_reply()
/drivers/xen/
Dpvcalls-front.c323 wait_event(bedata->inflight_req, in pvcalls_front_socket()
470 wait_event(bedata->inflight_req, in pvcalls_front_connect()
701 wait_event(bedata->inflight_req, in pvcalls_front_bind()
750 wait_event(bedata->inflight_req, in pvcalls_front_listen()
1039 wait_event(bedata->inflight_req, in pvcalls_front_release()

12345678