Searched refs:wait (Results 676 - 700 of 2181) sorted by relevance

<<21222324252627282930>>

/linux-master/drivers/net/ethernet/cisco/enic/
H A Dvnic_dev.h104 int wait);
120 u64 *a0, u64 *a1, int wait);
/linux-master/drivers/crypto/
H A Datmel-sha204a.c71 bool wait)
77 if (!wait)
70 atmel_sha204a_rng_read(struct hwrng *rng, void *data, size_t max, bool wait) argument
/linux-master/net/nfc/
H A Dllcp_sock.c19 DECLARE_WAITQUEUE(wait, current);
24 add_wait_queue(sk_sleep(sk), &wait); local
49 remove_wait_queue(sk_sleep(sk), &wait); local
452 DECLARE_WAITQUEUE(wait, current);
469 add_wait_queue_exclusive(sk_sleep(sk), &wait); local
488 remove_wait_queue(sk_sleep(sk), &wait); local
556 poll_table *wait)
563 sock_poll_wait(file, sock, wait);
555 llcp_sock_poll(struct file *file, struct socket *sock, poll_table *wait) argument
/linux-master/tools/perf/scripts/python/
H A Dparallel-perf.py94 def RawPollWait(self, p, wait):
95 if wait:
96 return p.wait()
99 def Poll(self, wait=False):
102 result = self.RawPollWait(self.popen, wait)
105 result = self.RawPollWait(self.consumer, wait)
116 return self.Poll(wait=True)
454 p.wait()
/linux-master/drivers/char/hw_random/
H A Dvirtio-rng.c78 static int virtio_read(struct hwrng *rng, void *buf, size_t size, bool wait) argument
97 if (!wait)
/linux-master/drivers/usb/gadget/legacy/
H A Dinode.c18 #include <linux/wait.h>
150 wait_queue_head_t wait; member in struct:dev_data
168 BUG_ON (waitqueue_active (&data->wait));
183 init_waitqueue_head (&dev->wait);
209 wait_queue_head_t wait; member in struct:ep_data
225 BUG_ON (waitqueue_active (&data->wait));
855 wake_up (&dev->wait);
976 retval = wait_event_interruptible (dev->wait,
1068 DBG (dev, "%s wait\n", __func__);
1070 /* wait fo
1222 ep0_poll(struct file *fd, poll_table *wait) argument
[all...]
/linux-master/sound/soc/qcom/qdsp6/
H A Dq6afe.c9 #include <linux/wait.h>
373 wait_queue_head_t wait; member in struct:q6afe
543 wait_queue_head_t wait; member in struct:q6afe_port
896 wake_up(&port->wait);
900 wake_up(&afe->wait);
912 wake_up(&afe->wait);
940 wait_queue_head_t *wait; local
946 wait = &port->wait;
950 wait
[all...]
/linux-master/net/rds/
H A Dib_rdma.c358 DEFINE_WAIT(wait);
363 finish_wait(&pool->flush_wait, &wait);
367 prepare_to_wait(&pool->flush_wait, &wait,
375 finish_wait(&pool->flush_wait, &wait);
379 finish_wait(&pool->flush_wait, &wait);
/linux-master/drivers/gpu/drm/panel/
H A Dpanel-sony-acx565akm.c396 unsigned long wait; local
402 wait = lcd->hw_guard_end - jiffies;
403 if ((long)wait > 0 && wait <= lcd->hw_guard_wait) {
405 schedule_timeout(wait);
/linux-master/drivers/virt/
H A Dfsl_hypervisor.c469 wait_queue_head_t wait; member in struct:doorbell_queue
506 wake_up_interruptible(&dbq->wait);
578 poll_wait(filp, &dbq->wait, p);
618 if (wait_event_interruptible(dbq->wait,
670 init_waitqueue_head(&dbq->wait);
/linux-master/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-hwbreak.c22 #include <sys/wait.h>
222 wait(&status);
242 wait(NULL);
603 wait(NULL);
613 wait(NULL);
/linux-master/net/ipv4/
H A Dtcp_bpf.c8 #include <linux/wait.h>
181 DEFINE_WAIT_FUNC(wait, woken_wake_function);
190 add_wait_queue(sk_sleep(sk), &wait);
194 !skb_queue_empty_lockless(&sk->sk_receive_queue), &wait);
196 remove_wait_queue(sk_sleep(sk), &wait); local
/linux-master/drivers/hid/
H A Dhid-rmi.c18 #include <linux/wait.h>
61 * @wait: Used for waiting for read data
84 wait_queue_head_t wait; member in struct:rmi_data
229 if (!wait_event_timeout(data->wait,
353 wake_up(&hdata->wait);
710 init_waitqueue_head(&data->wait);
/linux-master/include/linux/
H A Dwait.h5 * Linux wait queue related types and methods
26 * A single wait-queue entry structure:
99 * returns true if the wait list is not empty
110 * @cond = true; prepare_to_wait(&wq_head, &wait, state);
116 * finish_wait(&wq_head, &wait);
120 * observe an empty wait list while the waiter might not observe @cond.
132 * @wq_head: wait queue head
145 * @wq_head: wait queue head
155 * add_wait_queue modifications to the wait queue.
250 * @wq_head: the wait queu
[all...]
/linux-master/net/smc/
H A Dsmc_tx.c55 wake_up_interruptible_poll(&wq->wait,
79 DEFINE_WAIT_FUNC(wait, woken_wake_function);
87 add_wait_queue(sk_sleep(sk), &wait); local
121 &wait);
123 remove_wait_queue(sk_sleep(sk), &wait); local
140 * 2. If we have pending Tx CDC messages, wait for the first CDC
281 /* If we need to cork, do nothing and wait for the next
/linux-master/sound/core/
H A Drawmidi.c13 #include <linux/wait.h>
280 /* we need wait a while to make sure that Tx FIFOs are empty */
439 wait_queue_entry_t wait; local
481 init_waitqueue_entry(&wait, current);
482 add_wait_queue(&rmidi->open_wait, &wait);
508 remove_wait_queue(&rmidi->open_wait, &wait);
1284 wait_queue_entry_t wait; local
1290 init_waitqueue_entry(&wait, current);
1291 add_wait_queue(&runtime->sleep, &wait);
1295 remove_wait_queue(&runtime->sleep, &wait);
1601 wait_queue_entry_t wait; local
1636 wait_queue_entry_t wait; local
1656 snd_rawmidi_poll(struct file *file, poll_table *wait) argument
[all...]
/linux-master/drivers/char/tpm/
H A Dtpm_infineon.c187 static int wait(struct tpm_chip *chip, int wait_for_bit) function
200 dev_err(&chip->dev, "Timeout in wait(STAT_XFE)\n");
202 dev_err(&chip->dev, "Timeout in wait(STAT_RDA)\n");
210 wait(chip, STAT_XFE);
255 ret = wait(chip, STAT_RDA);
272 wait(chip, STAT_RDA);
330 ret = wait(chip, STAT_XFE);
/linux-master/drivers/pwm/
H A Dpwm-sti.c23 #include <linux/wait.h>
73 wait_queue_head_t wait; member in struct:sti_cpt_ddata
335 ret = wait_event_interruptible_timeout(ddata->wait, ddata->index > 1,
478 wake_up(&ddata->wait);
624 init_waitqueue_head(&ddata->wait);
/linux-master/drivers/media/cec/core/
H A Dcec-api.c41 poll_wait(filp, &fh->wait, poll);
239 /* Called by CEC_RECEIVE: wait for a message to arrive */
264 /* No, return EAGAIN in non-blocking mode or wait */
273 res = wait_event_interruptible_timeout(fh->wait,
282 res = wait_event_interruptible(fh->wait,
320 err = wait_event_interruptible(fh->wait,
578 init_waitqueue_head(&fh->wait);
/linux-master/sound/hda/
H A Dhdac_controller.c93 /* wait for cmd dmas till they are stopped */
329 wait_queue_entry_t wait; local
332 init_wait_entry(&wait, 0);
338 prepare_to_wait(&bus->rirb_wq, &wait,
346 finish_wait(&bus->rirb_wq, &wait);
372 finish_wait(&bus->rirb_wq, &wait);
555 /* Brent Chartrand said to wait >= 540us for codecs to initialize */
/linux-master/net/phonet/
H A Dsocket.c263 DEFINE_WAIT(wait);
274 prepare_to_wait_exclusive(sk_sleep(sk), &wait, local
279 finish_wait(sk_sleep(sk), &wait); local
330 poll_table *wait)
336 poll_wait(file, sk_sleep(sk), wait);
329 pn_socket_poll(struct file *file, struct socket *sock, poll_table *wait) argument
/linux-master/drivers/i2c/busses/
H A Di2c-ocores.c21 #include <linux/wait.h>
38 wait_queue_head_t wait; member in struct:ocores_i2c
162 wake_up(&i2c->wait);
307 * We wait for the data to be transferred (8bit),
384 if (wait_event_timeout(i2c->wait,
670 init_waitqueue_head(&i2c->wait);
/linux-master/drivers/input/touchscreen/
H A Dauo-pixcir-ts.c126 wait_queue_head_t wait; member in struct:auo_pixcir_ts
211 wait_event_timeout(ts->wait, ts->stopped,
254 wait_event_timeout(ts->wait, ts->stopped,
394 wake_up(&ts->wait);
506 init_waitqueue_head(&ts->wait);
/linux-master/drivers/md/bcache/
H A Dbcache.h170 * a node in the btree, we can wait until a 4k block of keys fills up before
989 long bch_bucket_alloc(struct cache *ca, unsigned int reserve, bool wait);
991 struct bkey *k, bool wait);
993 struct bkey *k, bool wait);
996 unsigned int write_prio, bool wait);
1002 int bch_prio_write(struct cache *ca, bool wait);
/linux-master/drivers/dma/
H A Ddmatest.c22 #include <linux/wait.h>
218 wait_queue_head_t *wait; member in struct:dmatest_done
250 static bool wait; variable
291 wait = true;
299 module_param_cb(wait, &wait_ops, &wait, 0444);
300 MODULE_PARM_DESC(wait, "Wait for tests to complete (default: false)");
441 wake_up_all(done->wait);
999 thread->test_done.wait = &thread->done_wait;
1351 if (params->iterations && wait)
[all...]

Completed in 422 milliseconds

<<21222324252627282930>>