Home
last modified time | relevance | path

Searched refs:waiting (Results 1 – 25 of 62) sorted by relevance

123

/drivers/isdn/gigaset/
Dproc.c43 cs->waiting = 1; in set_cidmode()
46 cs->waiting = 0; in set_cidmode()
52 wait_event(cs->waitqueue, !cs->waiting); in set_cidmode()
Dcommon.c526 at_state->waiting = 0; in gigaset_at_init()
708 cs->waiting = 0; in gigaset_initcs()
861 if (cs->waiting) { in cleanup_cs()
863 cs->waiting = 0; in cleanup_cs()
898 cs->waiting = 1; in gigaset_start()
901 cs->waiting = 0; in gigaset_start()
906 wait_event(cs->waitqueue, !cs->waiting); in gigaset_start()
936 cs->waiting = 1; in gigaset_shutdown()
942 wait_event(cs->waitqueue, !cs->waiting); in gigaset_shutdown()
963 cs->waiting = 1; in gigaset_stop()
[all …]
Dinterface.c42 cs->waiting = 1; in if_lock()
45 cs->waiting = 0; in if_lock()
50 wait_event(cs->waitqueue, !cs->waiting); in if_lock()
76 cs->waiting = 1; in if_version()
79 cs->waiting = 0; in if_version()
84 wait_event(cs->waitqueue, !cs->waiting); in if_version()
Dev-layer.c922 cs->waiting = 0; in do_start()
942 cs->waiting = 0; in finish_shutdown()
1119 at_state->waiting = 1; in do_action()
1466 cs->waiting = 0; in do_action()
1478 cs->waiting = 0; in do_action()
1498 cs->waiting = 0; in do_action()
1574 if (at_state->waiting) in process_event()
1619 at_state->waiting = 0; in process_event()
Dgigaset.h335 int waiting; member
416 int waiting; member
/drivers/media/v4l2-core/
Dv4l2-async.c67 list_for_each_entry(asd, &notifier->waiting, list) { in v4l2_async_belongs()
122 if (list_empty(&notifier->waiting) && notifier->complete) in v4l2_async_test_notify()
148 INIT_LIST_HEAD(&notifier->waiting); in v4l2_async_notifier_register()
166 list_add_tail(&asd->list, &notifier->waiting); in v4l2_async_notifier_register()
318 list_add(&sd->asd->list, &notifier->waiting); in v4l2_async_unregister_subdev()
/drivers/scsi/
Dppa.c41 wait_queue_head_t *waiting; member
61 wake_up(dev->waiting); in got_it()
1016 DECLARE_WAIT_QUEUE_HEAD_ONSTACK(waiting); in __ppa_attach()
1030 init_waitqueue_head(&waiting); in __ppa_attach()
1048 dev->waiting = &waiting; in __ppa_attach()
1049 prepare_to_wait(&waiting, &wait, TASK_UNINTERRUPTIBLE); in __ppa_attach()
1057 dev->waiting = NULL; in __ppa_attach()
1058 finish_wait(&waiting, &wait); in __ppa_attach()
1061 dev->waiting = NULL; in __ppa_attach()
1062 finish_wait(&waiting, &wait); in __ppa_attach()
Dimm.c47 wait_queue_head_t *waiting; member
70 wake_up(dev->waiting); in got_it()
1153 DECLARE_WAIT_QUEUE_HEAD_ONSTACK(waiting); in __imm_attach()
1160 init_waitqueue_head(&waiting); in __imm_attach()
1188 dev->waiting = &waiting; in __imm_attach()
1189 prepare_to_wait(&waiting, &wait, TASK_UNINTERRUPTIBLE); in __imm_attach()
1197 dev->waiting = NULL; in __imm_attach()
1198 finish_wait(&waiting, &wait); in __imm_attach()
1201 dev->waiting = NULL; in __imm_attach()
1202 finish_wait(&waiting, &wait); in __imm_attach()
Dst.h31 struct completion *waiting; member
/drivers/parport/
Dshare.c756 tmp->waiting = 0; in parport_register_device()
886 par_dev->waiting = 0; in parport_register_dev_model()
1148 if (dev->waiting & 1) { in parport_claim()
1149 dev->waiting = 0; in parport_claim()
1198 if (dev->waiting & 2 || dev->wakeup) { in parport_claim()
1200 if (test_and_set_bit(0, &dev->waiting) == 0) { in parport_claim()
1235 dev->waiting = 2; in parport_claim_or_block()
1256 if (dev->waiting) { in parport_claim_or_block()
1258 !dev->waiting); in parport_claim_or_block()
1277 dev->waiting = 0; in parport_claim_or_block()
[all …]
/drivers/sbus/char/
Dbbc_i2c.c128 bp->waiting = 1; in wait_for_pin()
144 bp->waiting = 0; in wait_for_pin()
277 if (bp->waiting && in bbc_i2c_interrupt()
316 bp->waiting = 0; in attach_one_i2c()
Dbbc_i2c.h62 volatile int waiting; member
/drivers/gpu/drm/savage/
Dsavage_state.c50 dev_priv->waiting = 1; in savage_emit_clip_rect_s3d()
76 dev_priv->waiting = 1; in savage_emit_clip_rect_s4()
253 dev_priv->waiting = 1; in savage_dispatch_state()
359 if (S3_SAVAGE3D_SERIES(dev_priv->chipset) && dev_priv->waiting) { in savage_dispatch_dma_prim()
368 dev_priv->waiting = 0; in savage_dispatch_dma_prim()
609 if (S3_SAVAGE3D_SERIES(dev_priv->chipset) && dev_priv->waiting) { in savage_dispatch_dma_idx()
618 dev_priv->waiting = 0; in savage_dispatch_dma_idx()
1034 dev_priv->waiting = 1; in savage_bci_cmdbuf()
/drivers/block/drbd/
Ddrbd_interval.h13 unsigned int waiting:1; /* someone is waiting for completion */ member
Ddrbd_req.c71 req->i.waiting = false; in drbd_req_new()
94 if (i->waiting) in drbd_remove_request_interval()
306 if (req->i.waiting) in drbd_req_complete()
531 if (req->i.waiting) in mod_rq_state()
811 if (req->i.waiting) in __req_mod()
995 i->waiting = true; in complete_conflicting_writes()
/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dbase.c213 if (!atomic_xchg(&clk->waiting, 0)) in nvkm_pstate_work()
246 atomic_set(&clk->waiting, 1); in nvkm_pstate_calc()
249 wait_event(clk->wait, !atomic_read(&clk->waiting)); in nvkm_pstate_calc()
577 atomic_set(&clk->waiting, 0); in nvkm_clk_ctor()
/drivers/mmc/host/
Djz4740_mmc.c136 unsigned long waiting; member
431 set_bit(0, &host->waiting); in jz4740_mmc_poll_irq()
599 if (!test_and_clear_bit(0, &host->waiting)) in jz4740_mmc_timeout()
795 if (test_and_clear_bit(0, &host->waiting)) { in jz_mmc_irq()
852 set_bit(0, &host->waiting); in jz4740_mmc_request()
/drivers/net/wan/
Dsdla.c437 int ret, waiting, len; in sdla_cmd() local
461 waiting = 1; in sdla_cmd()
463 while (waiting && time_before_eq(jiffies, jiffs)) in sdla_cmd()
465 if (waiting++ % 3) in sdla_cmd()
469 waiting = ((volatile int)(cmd_buf->opp_flag)); in sdla_cmd()
474 if (!waiting) in sdla_cmd()
/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dclk.h88 atomic_t waiting; member
/drivers/net/ethernet/cavium/liquidio/
Docteon_console.c455 console->waiting = 0; in octeon_console_handle_result()
516 if (console->waiting) in check_console()
593 console->waiting = 0; in octeon_add_console()
/drivers/gpu/drm/
Ddrm_dma.c131 buf->waiting = 0; in drm_legacy_free_buffer()
/drivers/scsi/libsas/
Dsas_ata.c587 struct completion *waiting; in sas_ata_task_abort() local
604 waiting = qc->private_data; in sas_ata_task_abort()
605 complete(waiting); in sas_ata_task_abort()
/drivers/block/
Dcciss_cmd.h210 struct completion *waiting; member
/drivers/staging/android/
DTODO39 waiting threads. We should eventually use multiple queues and select the
/drivers/infiniband/hw/i40iw/
Di40iw_utils.c346 cqp_request->waiting = true; in i40iw_get_cqp_request()
367 cqp_request->waiting = false; in i40iw_free_cqp_request()
462 if (cqp_request->waiting) in i40iw_handle_cqp_op()

123