Home
last modified time | relevance | path

Searched refs:sleep (Results 1 – 16 of 16) sorted by relevance

/sound/core/
Drawmidi.c118 init_waitqueue_head(&runtime->sleep); in snd_rawmidi_runtime_create()
185 timeout = wait_event_interruptible_timeout(runtime->sleep, in snd_rawmidi_drain_output()
940 wake_up(&runtime->sleep); in snd_rawmidi_receive()
1020 add_wait_queue(&runtime->sleep, &wait); in snd_rawmidi_read()
1024 remove_wait_queue(&runtime->sleep, &wait); in snd_rawmidi_read()
1170 wake_up(&runtime->sleep); in __snd_rawmidi_transmit_ack()
1324 add_wait_queue(&runtime->sleep, &wait); in snd_rawmidi_write()
1328 remove_wait_queue(&runtime->sleep, &wait); in snd_rawmidi_write()
1353 add_wait_queue(&runtime->sleep, &wait); in snd_rawmidi_write()
1357 remove_wait_queue(&runtime->sleep, &wait); in snd_rawmidi_write()
[all …]
Dcompress_offload.c142 init_waitqueue_head(&runtime->sleep); in snd_compr_open()
430 poll_wait(f, &stream->runtime->sleep, wait); in snd_compr_poll()
729 wake_up(&stream->runtime->sleep); in error_delayed_work()
780 ret = wait_event_interruptible(stream->runtime->sleep, in snd_compress_wait_for_drain()
788 wake_up(&stream->runtime->sleep); in snd_compress_wait_for_drain()
805 wake_up(&stream->runtime->sleep); in snd_compr_drain()
847 wake_up(&stream->runtime->sleep); in snd_compr_partial_drain()
Dpcm_native.c1118 wake_up(&runtime->sleep); in snd_pcm_post_stop()
1231 wake_up(&runtime->sleep); in snd_pcm_post_pause()
1284 wake_up(&runtime->sleep); in snd_pcm_post_suspend()
1716 add_wait_queue(&to_check->sleep, &wait); in snd_pcm_drain()
1734 remove_wait_queue(&to_check->sleep, &wait); in snd_pcm_drain()
3169 poll_wait(file, &runtime->sleep, wait); in snd_pcm_playback_poll()
3208 poll_wait(file, &runtime->sleep, wait); in snd_pcm_capture_poll()
Dpcm.c1000 init_waitqueue_head(&runtime->sleep); in snd_pcm_attach_substream()
1142 wake_up(&substream->runtime->sleep); in snd_pcm_dev_disconnect()
Dpcm_lib.c231 wake_up(&runtime->sleep); in snd_pcm_update_state()
/sound/usb/usx2y/
Dusb_stream.h26 wait_queue_head_t sleep; member
Dus122l.c282 poll_wait(file, &us122l->sk.sleep, wait); in usb_stream_hwdep_poll()
452 wake_up_all(&us122l->sk.sleep); in usb_stream_hwdep_ioctl()
559 init_waitqueue_head(&US122L(card)->sk.sleep); in usx2y_create_card()
Dusb_stream.c495 wake_up_all(&sk->sleep); in stream_idle()
499 wake_up_all(&sk->sleep); in stream_idle()
/sound/soc/codecs/
Dtlv320aic31xx.c328 unsigned int mask, unsigned int wbits, int sleep, in aic31xx_wait_bits() argument
336 usleep_range(sleep, sleep * 2); in aic31xx_wait_bits()
344 (count - counter) * sleep); in aic31xx_wait_bits()
/sound/soc/intel/common/
Dsst-dsp.c330 if (sst->ops->sleep) in sst_dsp_sleep()
331 sst->ops->sleep(sst); in sst_dsp_sleep()
Dsst-dsp-priv.h42 void (*sleep)(struct sst_dsp *); member
/sound/isa/gus/
Dgus_pcm.c57 wait_queue_head_t sleep; member
70 wake_up(&pcmp->sleep); in snd_gf1_pcm_block_change_ack()
689 init_waitqueue_head(&pcmp->sleep); in snd_gf1_pcm_playback_open()
716 if (!wait_event_timeout(pcmp->sleep, (atomic_read(&pcmp->dma_count) <= 0), 2*HZ)) in snd_gf1_pcm_playback_close()
/sound/i2c/other/
Dak4117.c525 wake_up(&runtime->sleep); in snd_ak4117_check_rate_and_errors()
Dak4113.c623 wake_up(&runtime->sleep); in snd_ak4113_check_rate_and_errors()
/sound/soc/intel/haswell/
Dsst-haswell-dsp.c698 .sleep = hsw_sleep,
/sound/core/oss/
Dpcm_oss.c1637 add_wait_queue(&runtime->sleep, &wait); in snd_pcm_oss_sync1()
1671 remove_wait_queue(&runtime->sleep, &wait); in snd_pcm_oss_sync1()
2871 poll_wait(file, &runtime->sleep, wait); in snd_pcm_oss_poll()
2882 poll_wait(file, &runtime->sleep, wait); in snd_pcm_oss_poll()