Home
last modified time | relevance | path

Searched refs:wait_queue (Results 1 – 25 of 65) sorted by relevance

123

/openbmc/qemu/block/
H A Dreqlist.c27 qemu_co_queue_init(&req->wait_queue); in reqlist_init_req()
54 qemu_co_queue_wait(&r->wait_queue, lock); in reqlist_wait_one()
76 qemu_co_queue_restart_all(&req->wait_queue); in reqlist_shrink_req()
82 qemu_co_queue_restart_all(&req->wait_queue); in reqlist_remove_req()
/openbmc/linux/fs/squashfs/
H A Dcache.c77 wait_event(cache->wait_queue, cache->unused); in squashfs_cache_get()
127 wake_up_all(&entry->wait_queue); in squashfs_cache_get()
152 wait_event(entry->wait_queue, !entry->pending); in squashfs_cache_get()
187 wake_up(&cache->wait_queue); in squashfs_cache_put()
250 init_waitqueue_head(&cache->wait_queue); in squashfs_cache_init()
255 init_waitqueue_head(&cache->entry[i].wait_queue); in squashfs_cache_init()
H A Dsquashfs_fs_sb.h25 wait_queue_head_t wait_queue; member
37 wait_queue_head_t wait_queue; member
/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_uart.c63 wait_queue_head_t wait_queue; member
107 wake_up(&resp->wait_queue); in cros_ec_uart_rx_bytes()
124 wake_up(&resp->wait_queue); in cros_ec_uart_rx_bytes()
159 ret = wait_event_timeout(resp->wait_queue, resp->status, in cros_ec_uart_pkt_xfer()
268 init_waitqueue_head(&ec_uart->response.wait_queue); in cros_ec_uart_probe()
H A Dcros_ec_ishtp.c108 wait_queue_head_t wait_queue; member
192 wait_event_interruptible_timeout(client_data->response.wait_queue, in ish_send()
313 wake_up_interruptible(&client_data->response.wait_queue); in process_recv()
668 init_waitqueue_head(&client_data->response.wait_queue); in cros_ec_ishtp_probe()
/openbmc/linux/drivers/char/ipmi/
H A Dipmb_dev_int.c64 wait_queue_head_t wait_queue; member
92 ret = wait_event_interruptible(ipmb_dev->wait_queue, in ipmb_read()
186 poll_wait(file, &ipmb_dev->wait_queue, wait); in ipmb_poll()
219 wake_up_all(&ipmb_dev->wait_queue); in ipmb_handle_request()
313 init_waitqueue_head(&ipmb_dev->wait_queue); in ipmb_probe()
H A Dssif_bmc.c84 wait_queue_head_t wait_queue; member
145 ret = wait_event_interruptible(ssif_bmc->wait_queue, in ssif_bmc_read()
196 ret = wait_event_interruptible(ssif_bmc->wait_queue, in ssif_bmc_write()
251 poll_wait(file, &ssif_bmc->wait_queue, wait); in ssif_bmc_poll()
296 wake_up_all(&ssif_bmc->wait_queue); in complete_response()
328 wake_up_all(&ssif_bmc->wait_queue); in handle_request()
813 init_waitqueue_head(&ssif_bmc->wait_queue); in ssif_bmc_probe()
/openbmc/linux/drivers/mmc/host/
H A Dmmc_hsq.c105 wake_up(&hsq->wait_queue); in mmc_hsq_post_request()
261 wait_event(hsq->wait_queue, in mmc_hsq_wait_for_idle()
282 ret = wait_event_timeout(hsq->wait_queue, in mmc_hsq_disable()
346 init_waitqueue_head(&hsq->wait_queue); in mmc_hsq_init()
H A Dmmc_hsq.h15 wait_queue_head_t wait_queue; member
H A Dcqhci-core.c670 wake_up(&cq_host->wait_queue); in cqhci_recovery_needed()
853 wake_up(&cq_host->wait_queue); in cqhci_irq()
860 wake_up(&cq_host->wait_queue); in cqhci_irq()
863 wake_up(&cq_host->wait_queue); in cqhci_irq()
888 wait_event(cq_host->wait_queue, cqhci_is_idle(cq_host, &ret)); in cqhci_wait_for_idle()
937 wait_event_timeout(cq_host->wait_queue, cqhci_tasks_cleared(cq_host), in cqhci_clear_all_tasks()
971 wait_event_timeout(cq_host->wait_queue, cqhci_halted(cq_host), in cqhci_halt()
1209 init_waitqueue_head(&cq_host->wait_queue); in cqhci_init()
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_smi_events.c36 wait_queue_head_t wait_queue; member
70 poll_wait(filep, &client->wait_queue, wait); in kfd_smi_ev_poll()
187 wake_up_all(&client->wait_queue); in add_event_to_kfifo()
352 init_waitqueue_head(&client->wait_queue); in kfd_smi_event_open()
/openbmc/linux/drivers/base/power/
H A Druntime.c530 wake_up_all(&dev->power.wait_queue); in rpm_idle()
636 prepare_to_wait(&dev->power.wait_queue, &wait, in rpm_suspend()
647 finish_wait(&dev->power.wait_queue, &wait); in rpm_suspend()
684 wake_up_all(&dev->power.wait_queue); in rpm_suspend()
724 wake_up_all(&dev->power.wait_queue); in rpm_suspend()
824 prepare_to_wait(&dev->power.wait_queue, &wait, in rpm_resume()
836 finish_wait(&dev->power.wait_queue, &wait); in rpm_resume()
924 wake_up_all(&dev->power.wait_queue); in rpm_resume()
1378 prepare_to_wait(&dev->power.wait_queue, &wait, in __pm_runtime_barrier()
1390 finish_wait(&dev->power.wait_queue, &wait); in __pm_runtime_barrier()
[all …]
/openbmc/linux/drivers/media/platform/renesas/vsp1/
H A Dvsp1_drm.h39 wait_queue_head_t wait_queue; member
H A Dvsp1_histo.h50 wait_queue_head_t wait_queue; member
/openbmc/linux/drivers/macintosh/
H A Dadb.c610 wait_queue_head_t wait_queue; member
638 wake_up_interruptible(&state->wait_queue); in adb_write_done()
684 init_waitqueue_head(&state->wait_queue); in adb_open()
730 add_wait_queue(&state->wait_queue, &wait); in adb_read()
756 remove_wait_queue(&state->wait_queue, &wait); in adb_read()
/openbmc/qemu/include/block/
H A Dreqlist.h30 CoQueue wait_queue; /* coroutines blocked on this req */ member
/openbmc/linux/sound/soc/intel/skylake/
H A Dskl-sst-cldma.c169 if (!wait_event_timeout(ctx->cl_dev.wait_queue, in skl_cldma_wait_interruptible()
325 wake_up(&ctx->cl_dev.wait_queue); in skl_cldma_process_intr()
370 init_waitqueue_head(&ctx->cl_dev.wait_queue); in skl_cldma_prepare()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_gmbus.c380 add_wait_queue(&i915->display.gmbus.wait_queue, &wait); in gmbus_wait()
391 remove_wait_queue(&i915->display.gmbus.wait_queue, &wait); in gmbus_wait()
411 add_wait_queue(&i915->display.gmbus.wait_queue, &wait); in gmbus_wait_idle()
417 remove_wait_queue(&i915->display.gmbus.wait_queue, &wait); in gmbus_wait_idle()
882 init_waitqueue_head(&i915->display.gmbus.wait_queue); in intel_gmbus_setup()
997 wake_up_all(&i915->display.gmbus.wait_queue); in intel_gmbus_irq_handler()
/openbmc/linux/drivers/gpu/drm/sprd/
H A Dsprd_dpu.c136 rc = wait_event_interruptible_timeout(ctx->wait_queue, ctx->evt_stop, in dpu_wait_stop_done()
157 rc = wait_event_interruptible_timeout(ctx->wait_queue, ctx->evt_update, in dpu_wait_update_done()
764 wake_up_interruptible_all(&ctx->wait_queue); in sprd_dpu_isr()
770 wake_up_interruptible_all(&ctx->wait_queue); in sprd_dpu_isr()
817 init_waitqueue_head(&ctx->wait_queue); in sprd_dpu_context_init()
H A Dsprd_dpu.h51 wait_queue_head_t wait_queue; member
/openbmc/linux/drivers/s390/char/
H A Dtape_core.c496 init_waitqueue_head(&device->wait_queue); in tape_alloc_device()
969 request->callback_data = &device->wait_queue; in tape_do_io()
976 wait_event(device->wait_queue, (request->callback == NULL)); in tape_do_io()
1002 request->callback_data = &device->wait_queue; in tape_do_io_interruptible()
1008 rc = wait_event_interruptible(device->wait_queue, in tape_do_io_interruptible()
1022 device->wait_queue, in tape_do_io_interruptible()
/openbmc/linux/drivers/media/dvb-core/
H A Ddvb_ca_en50221.c132 wait_queue_head_t wait_queue; member
770 wake_up_interruptible(&ca->wait_queue); in dvb_ca_en50221_read_data()
924 wake_up_interruptible(&ca->wait_queue); in dvb_ca_en50221_slot_shutdown()
1636 status = wait_event_interruptible(ca->wait_queue, in dvb_ca_en50221_io_read()
1794 wake_up(&dvbdev->wait_queue); in dvb_ca_en50221_io_release()
1820 poll_wait(file, &ca->wait_queue, wait); in dvb_ca_en50221_io_poll()
1898 init_waitqueue_head(&ca->wait_queue); in dvb_ca_en50221_init()
1970 wait_event(ca->dvbdev->wait_queue, in dvb_ca_en50221_release()
/openbmc/linux/drivers/hwmon/
H A Dsht15.c153 wait_queue_head_t wait_queue; member
542 ret = wait_event_timeout(data->wait_queue, in sht15_measurement()
875 wake_up(&data->wait_queue); in sht15_bh_read_data()
930 init_waitqueue_head(&data->wait_queue); in sht15_probe()
/openbmc/linux/drivers/hid/intel-ish-hid/
H A Dishtp-fw-loader.c199 wait_queue_head_t wait_queue; member
311 wait_event_interruptible_timeout(client_data->response.wait_queue, in loader_cl_send()
438 wake_up_interruptible(&client_data->response.wait_queue); in process_recv()
970 init_waitqueue_head(&client_data->response.wait_queue); in loader_ishtp_cl_probe()
/openbmc/linux/arch/sh/include/asm/
H A Ddma.h79 wait_queue_head_t wait_queue; member

123