Home
last modified time | relevance | path

Searched refs:wait_q (Results 1 – 25 of 29) sorted by relevance

12

/drivers/mtd/
Dmtdblock.c60 wait_queue_head_t *wait_q = (wait_queue_head_t *)done->priv; in erase_callback() local
61 wake_up(wait_q); in erase_callback()
69 wait_queue_head_t wait_q; in erase_write() local
77 init_waitqueue_head(&wait_q); in erase_write()
82 erase.priv = (u_long)&wait_q; in erase_write()
85 add_wait_queue(&wait_q, &wait); in erase_write()
90 remove_wait_queue(&wait_q, &wait); in erase_write()
98 remove_wait_queue(&wait_q, &wait); in erase_write()
Dmtdoops.c89 wait_queue_head_t *wait_q = (wait_queue_head_t *)done->priv; in mtdoops_erase_callback() local
90 wake_up(wait_q); in mtdoops_erase_callback()
101 wait_queue_head_t wait_q; in mtdoops_erase_block() local
105 init_waitqueue_head(&wait_q); in mtdoops_erase_block()
110 erase.priv = (u_long)&wait_q; in mtdoops_erase_block()
113 add_wait_queue(&wait_q, &wait); in mtdoops_erase_block()
118 remove_wait_queue(&wait_q, &wait); in mtdoops_erase_block()
126 remove_wait_queue(&wait_q, &wait); in mtdoops_erase_block()
/drivers/s390/net/
Dlcs.h277 wait_queue_head_t wait_q; member
290 wait_queue_head_t wait_q; member
322 wait_queue_head_t wait_q; member
Dlcs.c270 init_waitqueue_head(&card->read.wait_q); in lcs_setup_read()
317 init_waitqueue_head(&card->write.wait_q); in lcs_setup_write()
328 wake_up(&card->wait_q); in lcs_set_allowed_threads()
344 return wait_event_interruptible(card->wait_q, in lcs_wait_for_threads()
371 wake_up(&card->wait_q); in lcs_clear_thread_running_bit()
397 wait_event(card->wait_q, in lcs_do_run_thread()
434 init_waitqueue_head(&card->wait_q); in lcs_setup_card()
527 wait_event(channel->wait_q, (channel->state == LCS_CH_STATE_CLEARED)); in lcs_clear_channel()
556 wait_event(channel->wait_q, (channel->state == LCS_CH_STATE_HALTED)); in lcs_stop_channel()
755 wait_event(card->write.wait_q, in lcs_get_lancmd()
[all …]
Dfsm.h70 wait_queue_head_t wait_q; member
202 wake_up(&fi->wait_q); in fsm_newstate()
Dqeth_core_main.c225 wake_up(&card->wait_q); in qeth_set_allowed_threads()
245 return wait_event_interruptible(card->wait_q, in qeth_wait_for_threads()
556 wake_up(&card->wait_q); in __qeth_issue_next_read()
707 wake_up(&reply->wait_q); in qeth_clear_ipacmd_list()
796 wake_up(&channel->wait_q); in qeth_release_buffer()
814 wait_event(channel->wait_q, in qeth_wait_for_buffer()
898 wake_up(&reply->wait_q); in qeth_send_control_data_cb()
937 init_waitqueue_head(&channel->wait_q); in qeth_setup_channel()
964 wake_up(&card->wait_q); in qeth_clear_thread_start_bit()
975 wake_up_all(&card->wait_q); in qeth_clear_thread_running_bit()
[all …]
Dqeth_core.h595 wait_queue_head_t wait_q; member
630 wait_queue_head_t wait_q; member
780 wait_queue_head_t wait_q; member
Dfsm.c31 init_waitqueue_head(&this->wait_q); in init_fsm()
Dqeth_l2_main.c935 wait_event(card->wait_q, qeth_threads_running(card, 0xffffffff) == 0); in qeth_l2_remove_device()
1261 wait_event(card->wait_q, qeth_threads_running(card, 0xffffffff) == 0); in qeth_l2_pm_suspend()
1348 wait_event(card->wait_q, in qeth_osn_send_control_data()
1362 wake_up(&card->wait_q); in qeth_osn_send_control_data()
/drivers/s390/cio/
Ddevice_fsm.c219 wake_up(&cdev->private->wait_q); in ccw_device_recog_done()
225 wake_up(&cdev->private->wait_q); in ccw_device_recog_done()
241 wake_up(&cdev->private->wait_q); in ccw_device_recog_done()
251 wake_up(&cdev->private->wait_q); in ccw_device_recog_done()
258 wake_up(&cdev->private->wait_q); in ccw_device_recog_done()
387 wake_up(&cdev->private->wait_q); in ccw_device_done()
860 wake_up(&cdev->private->wait_q); in ccw_device_w4sense()
1002 wake_up(&cdev->private->wait_q); in ccw_device_quiesce_done()
1015 wake_up(&cdev->private->wait_q); in ccw_device_quiesce_timeout()
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()
728 init_waitqueue_head(&priv->wait_q); in io_subchannel_initialize_dev()
848 wake_up(&cdev->private->wait_q); in io_subchannel_register()
1202 wait_event(cdev->private->wait_q, in io_subchannel_quiesce()
1736 wait_event(cdev->private->wait_q, in ccw_device_remove()
[all …]
Dio_sch.h166 wait_queue_head_t wait_q; member
Dqdio_main.c1087 wake_up(&cdev->private->wait_q); in qdio_int_handler()
1116 wake_up(&cdev->private->wait_q); in qdio_int_handler()
1210 wait_event_interruptible_timeout(cdev->private->wait_q, in qdio_shutdown()
1387 wait_event_interruptible_timeout(cdev->private->wait_q, in qdio_establish()
/drivers/bluetooth/
Dbtmrvl_main.c50 wake_up_interruptible(&priv->main_thread.wait_q); in btmrvl_interrupt()
207 wake_up_interruptible(&priv->main_thread.wait_q); in btmrvl_send_sync_cmd()
461 wake_up_interruptible(&priv->main_thread.wait_q); in btmrvl_send_frame()
612 add_wait_queue(&thread->wait_q, &wait); in btmrvl_service_main_thread()
630 remove_wait_queue(&thread->wait_q, &wait); in btmrvl_service_main_thread()
747 init_waitqueue_head(&priv->main_thread.wait_q); in btmrvl_add_card()
Dbtmrvl_debugfs.c54 wake_up_interruptible(&priv->main_thread.wait_q); in btmrvl_hscfgcmd_write()
100 wake_up_interruptible(&priv->main_thread.wait_q); in btmrvl_pscmd_write()
145 wake_up_interruptible(&priv->main_thread.wait_q); in btmrvl_hscmd_write()
Dbtmrvl_drv.h65 wait_queue_head_t wait_q; member
/drivers/usb/misc/
Dchaoskey.c97 wait_queue_head_t wait_q; /* for timeouts */ member
200 init_waitqueue_head(&dev->wait_q); in chaoskey_probe()
345 wake_up(&dev->wait_q); in chaos_read_callback()
395 dev->wait_q, in _chaoskey_fill()
/drivers/scsi/megaraid/
Dmegaraid_mm.c70 static wait_queue_head_t wait_q; variable
715 wait_event(wait_q, (kioc->status != -ENODATA)); in lld_ioctl()
779 wake_up(&wait_q); in ioctl_done()
798 wake_up(&wait_q); in lld_timedout()
1227 init_waitqueue_head(&wait_q); in mraid_mm_init()
/drivers/input/touchscreen/
Dcyttsp4_core.c1086 wake_up(&cd->wait_q); in cyttsp4_irq()
1141 wake_up(&cd->wait_q); in cyttsp4_irq()
1153 wake_up(&cd->wait_q); in cyttsp4_irq()
1177 wake_up(&cd->wait_q); in cyttsp4_irq()
1267 t = wait_event_timeout(cd->wait_q, !cd->exclusive_dev, t); in cyttsp4_request_exclusive()
1277 wait_event(cd->wait_q, !cd->exclusive_dev); in cyttsp4_request_exclusive()
1304 wake_up(&cd->wait_q); in cyttsp4_release_exclusive()
1316 t = wait_event_timeout(cd->wait_q, cd->mode == CY_MODE_BOOTLOADER, in cyttsp4_wait_bl_heartbeat()
1333 t = wait_event_timeout(cd->wait_q, cd->mode == CY_MODE_SYSINFO, in cyttsp4_wait_sysinfo_mode()
1420 t = wait_event_timeout(cd->wait_q, in cyttsp4_set_mode()
[all …]
Dcyttsp4_core.h350 wait_queue_head_t wait_q; member
/drivers/parport/
Dshare.c811 init_waitqueue_head(&tmp->wait_q); in parport_register_device()
955 init_waitqueue_head(&par_dev->wait_q); in parport_register_dev_model()
1280 wait_event_interruptible(dev->wait_q, in parport_claim_or_block()
1357 if (waitqueue_active(&pd->wait_q)) in parport_release()
1358 wake_up_interruptible(&pd->wait_q); in parport_release()
/drivers/usb/misc/sisusbvga/
Dsisusb.h116 wait_queue_head_t wait_q; /* for syncind and timeouts */ member
Dsisusb.c140 wait_event_timeout(sisusb->wait_q, (i = sisusb_all_free(sisusb)), in sisusb_wait_all_out_complete()
164 wait_event_timeout(sisusb->wait_q, in sisusb_get_free_outbuf()
209 wake_up(&sisusb->wait_q); in sisusb_bulk_completeout()
241 wait_event_timeout(sisusb->wait_q, in sisusb_bulkout_msg()
273 wake_up(&sisusb->wait_q); in sisusb_bulk_completein()
294 wait_event_timeout(sisusb->wait_q, sisusb->completein, timeout); in sisusb_bulkin_msg()
3105 init_waitqueue_head(&sisusb->wait_q); in sisusb_probe()
/drivers/s390/virtio/
Dvirtio_ccw.c60 wait_queue_head_t wait_q; member
317 wait_event(vcdev->wait_q, doing_io(vcdev, flag) == 0); in ccw_io_helper()
1037 wake_up(&vcdev->wait_q); in virtio_ccw_check_activity()
1262 init_waitqueue_head(&vcdev->wait_q); in virtio_ccw_online()
/drivers/block/
Dsx8.c291 struct request_queue *wait_q[CARM_MAX_WAIT_Q]; member
766 host->wait_q[idx] = q; in carm_push_q()
781 return host->wait_q[idx]; in carm_pop_q()

12