/sound/core/seq/ |
D | seq_fifo.c | 178 wait_queue_t wait; in snd_seq_fifo_cell_out() local 184 init_waitqueue_entry(&wait, current); in snd_seq_fifo_cell_out() 193 add_wait_queue(&f->input_sleep, &wait); in snd_seq_fifo_cell_out() 197 remove_wait_queue(&f->input_sleep, &wait); in snd_seq_fifo_cell_out() 227 poll_table *wait) in snd_seq_fifo_poll_wait() argument 229 poll_wait(file, &f->input_sleep, wait); in snd_seq_fifo_poll_wait()
|
D | seq_memory.c | 229 wait_queue_t wait; in snd_seq_cell_alloc() local 236 init_waitqueue_entry(&wait, current); in snd_seq_cell_alloc() 246 add_wait_queue(&pool->output_sleep, &wait); in snd_seq_cell_alloc() 250 remove_wait_queue(&pool->output_sleep, &wait); in snd_seq_cell_alloc() 370 poll_table *wait) in snd_seq_pool_poll_wait() argument 372 poll_wait(file, &pool->output_sleep, wait); in snd_seq_pool_poll_wait()
|
D | seq_fifo.h | 66 int snd_seq_fifo_poll_wait(struct snd_seq_fifo *f, struct file *file, poll_table *wait);
|
D | seq_clientmgr.h | 97 int snd_seq_kernel_client_write_poll(int clientid, struct file *file, poll_table *wait);
|
D | seq_memory.h | 102 int snd_seq_pool_poll_wait(struct snd_seq_pool *pool, struct file *file, poll_table *wait);
|
/sound/firewire/ |
D | fcp.c | 42 wait_queue_head_t wait; member 82 init_waitqueue_head(&t.wait); in fcp_avc_transaction() 97 wait_event_timeout(t.wait, t.state != STATE_PENDING, in fcp_avc_transaction() 137 wake_up(&t->wait); in fcp_bus_reset() 193 wake_up(&t->wait); in fcp_response()
|
/sound/pci/mixart/ |
D | mixart_core.c | 243 wait_queue_t wait; in snd_mixart_send_msg() local 248 init_waitqueue_entry(&wait, current); in snd_mixart_send_msg() 260 add_wait_queue(&mgr->msg_sleep, &wait); in snd_mixart_send_msg() 263 remove_wait_queue(&mgr->msg_sleep, &wait); in snd_mixart_send_msg() 292 wait_queue_t wait; in snd_mixart_send_msg_wait_notif() local 304 init_waitqueue_entry(&wait, current); in snd_mixart_send_msg_wait_notif() 316 add_wait_queue(&mgr->msg_sleep, &wait); in snd_mixart_send_msg_wait_notif() 319 remove_wait_queue(&mgr->msg_sleep, &wait); in snd_mixart_send_msg_wait_notif()
|
/sound/oss/ |
D | sound_calls.h | 23 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);
|
D | swarm_cs4297a.c | 253 wait_queue_head_t wait; member 1012 wake_up(&d->wait); in cs4297a_update_ptr() 1018 wake_up(&d->wait); in cs4297a_update_ptr() 1103 wake_up(&d->wait); in cs4297a_update_ptr() 1144 wake_up(&d->wait); in cs4297a_update_ptr() 1626 DECLARE_WAITQUEUE(wait, current); in drain_dac() 1636 add_wait_queue(&s->dma_dac.wait, &wait); in drain_dac() 1654 remove_wait_queue(&s->dma_dac.wait, &wait); in drain_dac() 1743 interruptible_sleep_on(&s->dma_adc.wait); in cs4297a_read() 1839 interruptible_sleep_on(&d->wait); in cs4297a_write() [all …]
|
D | vwsnd.c | 1823 DECLARE_WAITQUEUE(wait, current); in pcm_shutdown_port() 1826 add_wait_queue(&aport->queue, &wait); in pcm_shutdown_port() 1839 remove_wait_queue(&aport->queue, &wait); in pcm_shutdown_port() 2191 DECLARE_WAITQUEUE(wait, current); in pcm_write_sync() 2196 add_wait_queue(&wport->queue, &wait); in pcm_write_sync() 2209 remove_wait_queue(&wport->queue, &wait); in pcm_write_sync() 2278 DECLARE_WAITQUEUE(wait, current); in vwsnd_audio_do_read() 2279 add_wait_queue(&rport->queue, &wait); in vwsnd_audio_do_read() 2286 remove_wait_queue(&rport->queue, &wait); in vwsnd_audio_do_read() 2292 remove_wait_queue(&rport->queue, &wait); in vwsnd_audio_do_read() [all …]
|
D | midibuf.c | 398 unsigned int MIDIbuf_poll(int dev, struct file *file, poll_table * wait) in MIDIbuf_poll() argument 405 poll_wait(file, &input_sleeper[dev], wait); in MIDIbuf_poll() 410 poll_wait(file, &midi_sleeper[dev], wait); in MIDIbuf_poll()
|
D | soundcard.c | 407 static unsigned int sound_poll(struct file *file, poll_table * wait) in sound_poll() argument 416 return sequencer_poll(dev, file, wait); in sound_poll() 419 return MIDIbuf_poll(dev, file, wait); in sound_poll() 424 return DMAbuf_poll(file, dev >> 4, wait); in sound_poll()
|
D | dmabuf.c | 1199 static unsigned int poll_input(struct file * file, int dev, poll_table *wait) in poll_input() argument 1228 static unsigned int poll_output(struct file * file, int dev, poll_table *wait) in poll_output() argument 1249 unsigned int DMAbuf_poll(struct file * file, int dev, poll_table *wait) in DMAbuf_poll() argument 1252 poll_wait(file, &adev->poll_sleeper, wait); in DMAbuf_poll() 1253 return poll_input(file, dev, wait) | poll_output(file, dev, wait); in DMAbuf_poll()
|
/sound/core/ |
D | rawmidi.c | 358 wait_queue_t wait; in snd_rawmidi_open() local 400 init_waitqueue_entry(&wait, current); in snd_rawmidi_open() 401 add_wait_queue(&rmidi->open_wait, &wait); in snd_rawmidi_open() 436 remove_wait_queue(&rmidi->open_wait, &wait); in snd_rawmidi_open() 991 wait_queue_t wait; in snd_rawmidi_read() local 996 init_waitqueue_entry(&wait, current); in snd_rawmidi_read() 997 add_wait_queue(&runtime->sleep, &wait); in snd_rawmidi_read() 1001 remove_wait_queue(&runtime->sleep, &wait); in snd_rawmidi_read() 1236 wait_queue_t wait; in snd_rawmidi_write() local 1241 init_waitqueue_entry(&wait, current); in snd_rawmidi_write() [all …]
|
D | hwdep.c | 88 wait_queue_t wait; in snd_hwdep_open() local 108 init_waitqueue_entry(&wait, current); in snd_hwdep_open() 109 add_wait_queue(&hw->open_wait, &wait); in snd_hwdep_open() 143 remove_wait_queue(&hw->open_wait, &wait); in snd_hwdep_open() 180 static unsigned int snd_hwdep_poll(struct file * file, poll_table * wait) in snd_hwdep_poll() argument 184 return hw->ops.poll(hw, file, wait); in snd_hwdep_poll()
|
D | init.c | 297 static unsigned int snd_disconnect_poll(struct file * file, poll_table * wait) in snd_disconnect_poll() argument 968 wait_queue_t wait; in snd_power_wait() local 974 init_waitqueue_entry(&wait, current); in snd_power_wait() 975 add_wait_queue(&card->power_sleep, &wait); in snd_power_wait() 988 remove_wait_queue(&card->power_sleep, &wait); in snd_power_wait()
|
D | pcm_native.c | 1455 wait_queue_t wait; in snd_pcm_drain() local 1516 init_waitqueue_entry(&wait, current); in snd_pcm_drain() 1517 add_wait_queue(&to_check->sleep, &wait); in snd_pcm_drain() 1535 remove_wait_queue(&to_check->sleep, &wait); in snd_pcm_drain() 2162 wait_queue_t wait; in snd_pcm_open() local 2175 init_waitqueue_entry(&wait, current); in snd_pcm_open() 2176 add_wait_queue(&pcm->open_wait, &wait); in snd_pcm_open() 2202 remove_wait_queue(&pcm->open_wait, &wait); in snd_pcm_open() 2956 static unsigned int snd_pcm_playback_poll(struct file *file, poll_table * wait) in snd_pcm_playback_poll() argument 2971 poll_wait(file, &runtime->sleep, wait); in snd_pcm_playback_poll() [all …]
|
D | control.c | 1425 wait_queue_t wait; in snd_ctl_read() local 1430 init_waitqueue_entry(&wait, current); in snd_ctl_read() 1431 add_wait_queue(&ctl->change_sleep, &wait); in snd_ctl_read() 1435 remove_wait_queue(&ctl->change_sleep, &wait); in snd_ctl_read() 1464 static unsigned int snd_ctl_poll(struct file *file, poll_table * wait) in snd_ctl_poll() argument 1472 poll_wait(file, &ctl->change_sleep, wait); in snd_ctl_poll()
|
/sound/core/seq/oss/ |
D | seq_oss_rw.c | 200 snd_seq_oss_poll(struct seq_oss_devinfo *dp, struct file *file, poll_table * wait) in snd_seq_oss_poll() argument 206 if (snd_seq_oss_readq_poll(dp->readq, file, wait)) in snd_seq_oss_poll() 212 if (snd_seq_kernel_client_write_poll(dp->cseq, file, wait)) in snd_seq_oss_poll()
|
D | seq_oss.c | 67 static unsigned int odev_poll(struct file *file, poll_table * wait); 200 odev_poll(struct file *file, poll_table * wait) in odev_poll() argument 206 return snd_seq_oss_poll(dp, file, wait); in odev_poll()
|
D | seq_oss_readq.c | 193 snd_seq_oss_readq_poll(struct seq_oss_readq *q, struct file *file, poll_table *wait) in snd_seq_oss_readq_poll() argument 195 poll_wait(file, &q->midi_sleep, wait); in snd_seq_oss_readq_poll()
|
D | seq_oss_readq.h | 45 …igned int snd_seq_oss_readq_poll(struct seq_oss_readq *readq, struct file *file, poll_table *wait);
|
D | seq_oss_device.h | 131 unsigned int snd_seq_oss_poll(struct seq_oss_devinfo *dp, struct file *file, poll_table * wait);
|
/sound/usb/usx2y/ |
D | usX2Yhwdep.c | 90 static unsigned int snd_us428ctls_poll(struct snd_hwdep *hw, struct file *file, poll_table *wait) in snd_us428ctls_poll() argument 98 poll_wait(file, &us428->us428ctls_wait_queue_head, wait); in snd_us428ctls_poll()
|
/sound/soc/blackfin/ |
D | bf5xx-sport.c | 1016 unsigned long wait = 0; in sport_send_and_recv() local 1057 if (wait++ > 100) in sport_send_and_recv() 1061 wait = 0; in sport_send_and_recv() 1067 if (wait++ > 1000) in sport_send_and_recv()
|