Searched refs:wait (Results 1 - 25 of 72) sorted by relevance

123

/sound/firewire/
H A Dfcp.c15 #include <linux/wait.h>
42 wait_queue_head_t wait; member in struct:fcp_transaction
46 * fcp_avc_transaction - send an AV/C command and wait for its response
82 init_waitqueue_head(&t.wait);
97 wait_event_timeout(t.wait, t.state != STATE_PENDING,
137 wake_up(&t->wait);
193 wake_up(&t->wait);
/sound/isa/sb/
H A Demu8000_local.h24 #include <linux/wait.h>
/sound/core/seq/oss/
H A Dseq_oss_readq.h45 unsigned int snd_seq_oss_readq_poll(struct seq_oss_readq *readq, struct file *file, poll_table *wait);
H A Dseq_oss_readq.c27 #include <linux/wait.h>
193 snd_seq_oss_readq_poll(struct seq_oss_readq *q, struct file *file, poll_table *wait) argument
195 poll_wait(file, &q->midi_sleep, wait);
H A Dseq_oss_rw.c200 snd_seq_oss_poll(struct seq_oss_devinfo *dp, struct file *file, poll_table * wait) argument
206 if (snd_seq_oss_readq_poll(dp->readq, file, wait))
212 if (snd_seq_kernel_client_write_poll(dp->cseq, file, wait))
H A Dseq_oss_device.h25 #include <linux/wait.h>
131 unsigned int snd_seq_oss_poll(struct seq_oss_devinfo *dp, struct file *file, poll_table * wait);
H A Dseq_oss.c67 static unsigned int odev_poll(struct file *file, poll_table * wait);
200 odev_poll(struct file *file, poll_table * wait) argument
206 return snd_seq_oss_poll(dp, file, wait);
H A Dseq_oss_writeq.c29 #include <linux/wait.h>
91 * wait until the write buffer has enough room
/sound/core/seq/
H A Dseq_fifo.h66 int snd_seq_fifo_poll_wait(struct snd_seq_fifo *f, struct file *file, poll_table *wait);
H A Dseq_fifo.c178 wait_queue_t wait; local
184 init_waitqueue_entry(&wait, current);
193 add_wait_queue(&f->input_sleep, &wait);
197 remove_wait_queue(&f->input_sleep, &wait);
227 poll_table *wait)
229 poll_wait(file, &f->input_sleep, wait);
226 snd_seq_fifo_poll_wait(struct snd_seq_fifo *f, struct file *file, poll_table *wait) argument
H A Dseq_clientmgr.h97 int snd_seq_kernel_client_write_poll(int clientid, struct file *file, poll_table *wait);
H A Dseq_memory.h102 int snd_seq_pool_poll_wait(struct snd_seq_pool *pool, struct file *file, poll_table *wait);
H A Dseq_memory.c228 wait_queue_t wait; local
235 init_waitqueue_entry(&wait, current);
245 add_wait_queue(&pool->output_sleep, &wait);
249 remove_wait_queue(&pool->output_sleep, &wait);
367 /* poll wait */
369 poll_table *wait)
371 poll_wait(file, &pool->output_sleep, wait);
423 /* wait for closing all threads */
368 snd_seq_pool_poll_wait(struct snd_seq_pool *pool, struct file *file, poll_table *wait) argument
/sound/oss/
H A Dsound_calls.h23 unsigned int DMAbuf_poll(struct file *file, int dev, poll_table *wait);
50 unsigned int sequencer_poll(int dev, struct file *file, poll_table * wait);
70 unsigned int MIDIbuf_poll(int dev, struct file *file, poll_table * wait);
H A Dmidibuf.c322 * No data yet, wait
398 unsigned int MIDIbuf_poll(int dev, struct file *file, poll_table * wait) argument
405 poll_wait(file, &input_sleeper[dev], wait);
410 poll_wait(file, &midi_sleeper[dev], wait);
H A Dvwsnd.c148 #include <linux/wait.h>
836 /* 3. Deassert the ~RESET signal and enter a wait period to allow
1823 DECLARE_WAITQUEUE(wait, current);
1826 add_wait_queue(&aport->queue, &wait);
1839 remove_wait_queue(&aport->queue, &wait);
2191 DECLARE_WAITQUEUE(wait, current);
2196 add_wait_queue(&wport->queue, &wait);
2209 remove_wait_queue(&wport->queue, &wait);
2278 DECLARE_WAITQUEUE(wait, current);
2279 add_wait_queue(&rport->queue, &wait);
2404 vwsnd_audio_poll(struct file *file, struct poll_table_struct *wait) argument
[all...]
H A Dsoundcard.c38 #include <linux/wait.h>
407 static unsigned int sound_poll(struct file *file, poll_table * wait) argument
416 return sequencer_poll(dev, file, wait);
419 return MIDIbuf_poll(dev, file, wait);
424 return DMAbuf_poll(file, dev >> 4, wait);
H A Dswarm_cs4297a.c238 wait_queue_head_t wait; member in struct:serdma_s
997 wake_up(&d->wait);
1003 wake_up(&d->wait);
1070 // check for end of buffer, means that we are going to wait for another interrupt
1088 wake_up(&d->wait);
1129 wake_up(&d->wait);
1611 DECLARE_WAITQUEUE(wait, current);
1621 add_wait_queue(&s->dma_dac.wait, &wait);
1639 remove_wait_queue(&s->dma_dac.wait,
1888 cs4297a_poll(struct file *file, struct poll_table_struct *wait) argument
[all...]
/sound/core/
H A Dhwdep.c87 wait_queue_t wait; local
105 init_waitqueue_entry(&wait, current);
106 add_wait_queue(&hw->open_wait, &wait);
136 remove_wait_queue(&hw->open_wait, &wait);
172 static unsigned int snd_hwdep_poll(struct file * file, poll_table * wait) argument
176 return hw->ops.poll(hw, file, wait);
H A Drawmidi.c28 #include <linux/wait.h>
203 /* we need wait a while to make sure that Tx FIFOs are empty */
373 wait_queue_t wait; local
413 init_waitqueue_entry(&wait, current);
414 add_wait_queue(&rmidi->open_wait, &wait);
445 remove_wait_queue(&rmidi->open_wait, &wait);
998 wait_queue_t wait; local
1003 init_waitqueue_entry(&wait, current);
1004 add_wait_queue(&runtime->sleep, &wait);
1008 remove_wait_queue(&runtime->sleep, &wait);
1241 wait_queue_t wait; local
1271 wait_queue_t wait; local
1290 snd_rawmidi_poll(struct file *file, poll_table * wait) argument
[all...]
H A Dinit.c294 static unsigned int snd_disconnect_poll(struct file * file, poll_table * wait) argument
474 /* wait, until all devices are ready for the free operation */
913 * snd_power_wait - wait until the power-state is changed.
923 wait_queue_t wait; local
929 init_waitqueue_entry(&wait, current);
930 add_wait_queue(&card->power_sleep, &wait);
943 remove_wait_queue(&card->power_sleep, &wait);
/sound/pci/mixart/
H A Dmixart_core.c203 /* the pending event is the notification we wait for ! */
207 /* the pending event is the answer we wait for (same address than the request)! */
241 u32 msg_frame = 0; /* set to 0, so it's no notification to wait for, but the answer */
243 wait_queue_t wait; local
248 init_waitqueue_entry(&wait, current);
260 add_wait_queue(&mgr->msg_sleep, &wait);
263 remove_wait_queue(&mgr->msg_sleep, &wait);
292 wait_queue_t wait; local
304 init_waitqueue_entry(&wait, current);
316 add_wait_queue(&mgr->msg_sleep, &wait);
[all...]
/sound/soc/blackfin/
H A Dbf5xx-sport.h34 #include <linux/wait.h>
/sound/synth/emux/
H A Demux_voice.h25 #include <linux/wait.h>
/sound/usb/usx2y/
H A DusX2Yhwdep.c90 static unsigned int snd_us428ctls_poll(struct snd_hwdep *hw, struct file *file, poll_table *wait) argument
98 poll_wait(file, &us428->us428ctls_wait_queue_head, wait);

Completed in 1900 milliseconds

123