Lines Matching refs:wait
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()
2995 static unsigned int snd_pcm_capture_poll(struct file *file, poll_table * wait) in snd_pcm_capture_poll() argument
3010 poll_wait(file, &runtime->sleep, wait); in snd_pcm_capture_poll()