/drivers/message/i2o/ |
D | exec-osm.c | 82 struct i2o_exec_wait *wait; in i2o_exec_wait_alloc() local 84 wait = kzalloc(sizeof(*wait), GFP_KERNEL); in i2o_exec_wait_alloc() 85 if (!wait) in i2o_exec_wait_alloc() 88 INIT_LIST_HEAD(&wait->list); in i2o_exec_wait_alloc() 89 spin_lock_init(&wait->lock); in i2o_exec_wait_alloc() 91 return wait; in i2o_exec_wait_alloc() 98 static void i2o_exec_wait_free(struct i2o_exec_wait *wait) in i2o_exec_wait_free() argument 100 kfree(wait); in i2o_exec_wait_free() 126 struct i2o_exec_wait *wait; in i2o_msg_post_wait_mem() local 131 wait = i2o_exec_wait_alloc(); in i2o_msg_post_wait_mem() [all …]
|
/drivers/net/enic/ |
D | vnic_dev.c | 234 u64 *a0, u64 *a1, int wait) in vnic_dev_cmd() argument 258 for (delay = 0; delay < wait; delay++) { in vnic_dev_cmd() 291 int wait = 1000; in vnic_dev_capable() local 294 err = vnic_dev_cmd(vdev, CMD_CAPABILITY, &a0, &a1, wait); in vnic_dev_capable() 303 int wait = 1000; in vnic_dev_fw_info() local 316 err = vnic_dev_cmd(vdev, CMD_MCPU_FW_INFO, &a0, &a1, wait); in vnic_dev_fw_info() 328 int wait = 1000; in vnic_dev_spec() local 334 err = vnic_dev_cmd(vdev, CMD_DEV_SPEC, &a0, &a1, wait); in vnic_dev_spec() 350 int wait = 1000; in vnic_dev_stats_clear() local 351 return vnic_dev_cmd(vdev, CMD_STATS_CLEAR, &a0, &a1, wait); in vnic_dev_stats_clear() [all …]
|
D | enic_res.c | 122 int wait = 1000; in enic_add_vlan() local 125 err = vnic_dev_cmd(enic->vdev, CMD_VLAN_ADD, &a0, &a1, wait); in enic_add_vlan() 133 int wait = 1000; in enic_del_vlan() local 136 err = vnic_dev_cmd(enic->vdev, CMD_VLAN_DEL, &a0, &a1, wait); in enic_del_vlan() 147 int wait = 1000; in enic_set_nic_cfg() local 156 return vnic_dev_cmd(enic->vdev, CMD_NIC_CFG, &a0, &a1, wait); in enic_set_nic_cfg()
|
D | vnic_wq.c | 144 unsigned int wait; in vnic_wq_disable() local 149 for (wait = 0; wait < 100; wait++) { in vnic_wq_disable()
|
D | vnic_rq.c | 154 unsigned int wait; in vnic_rq_disable() local 159 for (wait = 0; wait < 100; wait++) { in vnic_rq_disable()
|
/drivers/media/radio/ |
D | radio-sf16fmr2.c | 88 static inline void wait(int n,int port) in wait() function 99 wait(nWait,port); in outbits() 101 wait(nWait,port); in outbits() 103 wait(nWait,port); in outbits() 110 wait(4,port); in fmr2_mute() 116 wait(4,port); in fmr2_unmute() 149 wait(4,port); in fmr2_getsigstr() 197 wait(4, port); in fmr2_setvolume() 199 wait(4, port); in fmr2_setvolume() 201 wait(4, port); in fmr2_setvolume() [all …]
|
/drivers/input/serio/ |
D | libps2.c | 45 wait_event_timeout(ps2dev->wait, in ps2_sendbyte() 76 wait_event_timeout(ps2dev->wait, in ps2_drain() 210 timeout = wait_event_timeout(ps2dev->wait, in ps2_command() 216 wait_event_timeout(ps2dev->wait, in ps2_command() 247 init_waitqueue_head(&ps2dev->wait); in ps2_init() 300 wake_up(&ps2dev->wait); in ps2_handle_ack() 323 wake_up(&ps2dev->wait); in ps2_handle_response() 328 wake_up(&ps2dev->wait); in ps2_handle_response() 341 wake_up(&ps2dev->wait); in ps2_cmd_aborted()
|
D | serio_raw.c | 39 wait_queue_head_t wait; member 175 retval = wait_event_interruptible(list->serio_raw->wait, in serio_raw_read() 228 static unsigned int serio_raw_poll(struct file *file, poll_table *wait) in serio_raw_poll() argument 232 poll_wait(file, &list->serio_raw->wait, wait); in serio_raw_poll() 269 wake_up_interruptible(&serio_raw->wait); in serio_raw_interrupt() 291 init_waitqueue_head(&serio_raw->wait); in serio_raw_connect() 363 wake_up_interruptible(&serio_raw->wait); in serio_raw_disconnect()
|
/drivers/isdn/mISDN/ |
D | timerdev.c | 35 wait_queue_head_t wait; member 62 init_waitqueue_head(&dev->wait); in mISDN_open() 105 wait_event_interruptible(dev->wait, (dev->work || in mISDN_read() 129 mISDN_poll(struct file *filep, poll_table *wait) in mISDN_poll() argument 135 printk(KERN_DEBUG "%s(%p, %p)\n", __func__, filep, wait); in mISDN_poll() 137 poll_wait(filep, &dev->wait, wait); in mISDN_poll() 158 wake_up_interruptible(&timer->dev->wait); in dev_expire_timer() 170 wake_up_interruptible(&dev->wait); in misdn_add_timer()
|
/drivers/hid/ |
D | hidraw.c | 48 DECLARE_WAITQUEUE(wait, current); in hidraw_read() 55 add_wait_queue(&list->hidraw->wait, &wait); in hidraw_read() 80 remove_wait_queue(&list->hidraw->wait, &wait); in hidraw_read() 143 static unsigned int hidraw_poll(struct file *file, poll_table *wait) in hidraw_poll() argument 147 poll_wait(file, &list->hidraw->wait, wait); in hidraw_poll() 328 wake_up_interruptible(&dev->wait); in hidraw_report_event() 376 init_waitqueue_head(&dev->wait); in hidraw_connect() 405 wake_up_interruptible(&hidraw->wait); in hidraw_disconnect()
|
/drivers/char/ |
D | snsc.c | 188 DECLARE_WAITQUEUE(wait, current); in scdrv_read() 198 add_wait_queue(&sd->sd_rq, &wait); in scdrv_read() 203 remove_wait_queue(&sd->sd_rq, &wait); in scdrv_read() 285 DECLARE_WAITQUEUE(wait, current); in scdrv_write() 294 add_wait_queue(&sd->sd_wq, &wait); in scdrv_write() 299 remove_wait_queue(&sd->sd_wq, &wait); in scdrv_write() 325 scdrv_poll(struct file *file, struct poll_table_struct *wait) in scdrv_poll() argument 332 poll_wait(file, &sd->sd_rq, wait); in scdrv_poll() 333 poll_wait(file, &sd->sd_wq, wait); in scdrv_poll()
|
/drivers/isdn/hardware/eicon/ |
D | divasi.c | 77 static unsigned int um_idi_poll(struct file *file, poll_table * wait); 370 static unsigned int um_idi_poll(struct file *file, poll_table * wait) in um_idi_poll() argument 385 poll_wait(file, &p_os->read_wait, wait); in um_idi_poll() 511 DECLARE_WAITQUEUE(wait, curtask); in remove_entity() 513 add_wait_queue(&p_os->close_wait, &wait); in remove_entity() 523 remove_wait_queue(&p_os->close_wait, &wait); in remove_entity() 528 DECLARE_WAITQUEUE(wait, curtask); in remove_entity() 530 add_wait_queue(&p_os->close_wait, &wait); in remove_entity() 540 remove_wait_queue(&p_os->close_wait, &wait); in remove_entity()
|
/drivers/s390/char/ |
D | fs3270.c | 37 wait_queue_head_t wait; /* Init & attention wait queue. */ member 66 rq->callback_data = &fp->wait; in fs3270_do_io() 71 rc = wait_event_interruptible(fp->wait, in fs3270_do_io() 79 wait_event(fp->wait, raw3270_request_final(rq)); in fs3270_do_io() 95 wake_up(&fp->wait); in fs3270_reset_callback() 110 wake_up(&fp->wait); in fs3270_restore_callback() 182 wake_up(&fp->wait); in fs3270_save_callback() 222 wake_up(&fp->wait); in fs3270_irq() 260 rc = wait_event_interruptible(fp->wait, fp->attention); in fs3270_read() 451 init_waitqueue_head(&fp->wait); in fs3270_open()
|
/drivers/input/keyboard/ |
D | sunkbd.c | 80 wait_queue_head_t wait; member 101 wake_up_interruptible(&sunkbd->wait); in sunkbd_interrupt() 107 wake_up_interruptible(&sunkbd->wait); in sunkbd_interrupt() 187 wait_event_interruptible_timeout(sunkbd->wait, sunkbd->reset >= 0, HZ); in sunkbd_initialize() 196 wait_event_interruptible_timeout(sunkbd->wait, sunkbd->layout >= 0, HZ/4); in sunkbd_initialize() 213 wait_event_interruptible_timeout(sunkbd->wait, sunkbd->reset >= 0, HZ); in sunkbd_reinit() 248 init_waitqueue_head(&sunkbd->wait); in sunkbd_connect()
|
/drivers/mtd/chips/ |
D | cfi_cmdset_0020.c | 253 DECLARE_WAITQUEUE(wait, current); in do_read_onechip() 353 add_wait_queue(&chip->wq, &wait); in do_read_onechip() 356 remove_wait_queue(&chip->wq, &wait); in do_read_onechip() 428 DECLARE_WAITQUEUE(wait, current); in do_write_buffer() 488 add_wait_queue(&chip->wq, &wait); in do_write_buffer() 491 remove_wait_queue(&chip->wq, &wait); in do_write_buffer() 545 add_wait_queue(&chip->wq, &wait); in do_write_buffer() 548 remove_wait_queue(&chip->wq, &wait); in do_write_buffer() 742 DECLARE_WAITQUEUE(wait, current); in do_erase_oneblock() 783 add_wait_queue(&chip->wq, &wait); in do_erase_oneblock() [all …]
|
D | cfi_cmdset_0002.c | 559 DECLARE_WAITQUEUE(wait, current); in get_chip() 656 add_wait_queue(&chip->wq, &wait); in get_chip() 659 remove_wait_queue(&chip->wq, &wait); in get_chip() 804 DECLARE_WAITQUEUE(wait, current); in xip_udelay() 806 add_wait_queue(&chip->wq, &wait); in xip_udelay() 809 remove_wait_queue(&chip->wq, &wait); in xip_udelay() 963 DECLARE_WAITQUEUE(wait, current); in do_read_secsi_onechip() 975 add_wait_queue(&chip->wq, &wait); in do_read_secsi_onechip() 980 remove_wait_queue(&chip->wq, &wait); in do_read_secsi_onechip() 1117 DECLARE_WAITQUEUE(wait, current); in do_write_oneword() [all …]
|
/drivers/media/video/uvc/ |
D | uvc_queue.c | 140 init_waitqueue_head(&queue->buffer[i].wait); in uvc_alloc_buffers() 288 return wait_event_interruptible(buf->wait, in uvc_queue_waiton() 359 poll_table *wait) in uvc_queue_poll() argument 371 poll_wait(file, &buf->wait, wait); in uvc_queue_poll() 450 wake_up(&buf->wait); in uvc_queue_cancel() 488 wake_up(&buf->wait); in uvc_queue_next_buffer()
|
/drivers/misc/ibmasm/ |
D | r_heartbeat.c | 50 init_waitqueue_head(&rhb->wait); in ibmasm_init_reverse_heartbeat() 79 wait_event_interruptible_timeout(rhb->wait, in ibmasm_start_reverse_heartbeat() 97 wake_up_interruptible(&rhb->wait); in ibmasm_stop_reverse_heartbeat()
|
D | event.c | 43 wake_up_interruptible(&reader->wait); in wake_up_event_readers() 98 if (wait_event_interruptible(reader->wait, in ibmasm_get_next_event() 125 wake_up_interruptible(&reader->wait); in ibmasm_cancel_next_event() 133 init_waitqueue_head(&reader->wait); in ibmasm_event_reader_register()
|
D | command.c | 55 init_waitqueue_head(&cmd->wait); in ibmasm_new_command() 103 wake_up(&sp->current_command->wait); in do_exec_command() 162 wait_event_interruptible_timeout(cmd->wait, in ibmasm_wait_for_response() 182 wake_up(&sp->current_command->wait); in ibmasm_receive_command_response()
|
/drivers/macintosh/ |
D | smu.c | 1077 wait_queue_head_t wait; member 1092 init_waitqueue_head(&pp->wait); in smu_open() 1109 wake_up_all(&pp->wait); in smu_user_cmd_done() 1174 DECLARE_WAITQUEUE(wait, current); in smu_read_command() 1187 add_wait_queue(&pp->wait, &wait); in smu_read_command() 1201 remove_wait_queue(&pp->wait, &wait); in smu_read_command() 1247 static unsigned int smu_fpoll(struct file *file, poll_table *wait) in smu_fpoll() argument 1257 poll_wait(file, &pp->wait, wait); in smu_fpoll() 1287 DECLARE_WAITQUEUE(wait, current); in smu_release() 1289 add_wait_queue(&pp->wait, &wait); in smu_release() [all …]
|
/drivers/mtd/onenand/ |
D | onenand_base.c | 409 this->wait = onenand_interrupt_wait; in onenand_try_interrupt_wait() 420 this->wait = onenand_wait; in onenand_try_interrupt_wait() 442 this->wait = onenand_wait; in onenand_setup_wait() 449 this->wait = onenand_wait; in onenand_setup_wait() 458 this->wait = onenand_try_interrupt_wait; in onenand_setup_wait() 733 DECLARE_WAITQUEUE(wait, current); in onenand_get_device() 750 add_wait_queue(&this->wq, &wait); in onenand_get_device() 753 remove_wait_queue(&this->wq, &wait); in onenand_get_device() 865 ret = this->wait(mtd, FL_READING); in onenand_read_ops_nolock() 925 ret = this->wait(mtd, FL_READING); in onenand_read_ops_nolock() [all …]
|
/drivers/hid/usbhid/ |
D | hiddev.c | 53 wait_queue_head_t wait; member 182 wake_up_interruptible(&hiddev->wait); in hiddev_send_event() 326 DEFINE_WAIT(wait); in hiddev_read() 344 prepare_to_wait(&list->hiddev->wait, &wait, TASK_INTERRUPTIBLE); in hiddev_read() 367 finish_wait(&list->hiddev->wait, &wait); in hiddev_read() 415 static unsigned int hiddev_poll(struct file *file, poll_table *wait) in hiddev_poll() argument 419 poll_wait(file, &list->hiddev->wait, wait); in hiddev_poll() 873 init_waitqueue_head(&hiddev->wait); in hiddev_connect() 914 wake_up_interruptible(&hiddev->wait); in hiddev_disconnect()
|
/drivers/bluetooth/ |
D | hci_vhci.c | 182 DECLARE_WAITQUEUE(wait, current); in vhci_read() 187 add_wait_queue(&data->read_wait, &wait); in vhci_read() 216 remove_wait_queue(&data->read_wait, &wait); in vhci_read() 232 static unsigned int vhci_poll(struct file *file, poll_table *wait) in vhci_poll() argument 236 poll_wait(file, &data->read_wait, wait); in vhci_poll()
|
/drivers/usb/class/ |
D | cdc-wdm.c | 94 wait_queue_head_t wait; member 112 wake_up(&desc->wait); in wdm_out_callback() 151 wake_up(&desc->wait); in wdm_in_callback() 317 r = wait_event_interruptible(desc->wait, !test_bit(WDM_IN_USE, in wdm_write() 394 rv = wait_event_interruptible(desc->wait, in wdm_read() 461 wait_event(desc->wait, !test_bit(WDM_IN_USE, &desc->flags)); in wdm_flush() 469 static unsigned int wdm_poll(struct file *file, struct poll_table_struct *wait) in wdm_poll() argument 489 poll_wait(file, &desc->wait, wait); in wdm_poll() 647 init_waitqueue_head(&desc->wait); in wdm_probe() 752 wake_up_all(&desc->wait); in wdm_disconnect()
|