Home
last modified time | relevance | path

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

/sound/core/
Drawmidi.c109 init_waitqueue_head(&runtime->sleep); in snd_rawmidi_runtime_create()
188 timeout = wait_event_interruptible_timeout(runtime->sleep, in snd_rawmidi_drain_output()
933 wake_up(&runtime->sleep); in snd_rawmidi_receive()
1014 add_wait_queue(&runtime->sleep, &wait); in snd_rawmidi_read()
1018 remove_wait_queue(&runtime->sleep, &wait); in snd_rawmidi_read()
1164 wake_up(&runtime->sleep); in __snd_rawmidi_transmit_ack()
1341 add_wait_queue(&runtime->sleep, &wait); in snd_rawmidi_write()
1345 remove_wait_queue(&runtime->sleep, &wait); in snd_rawmidi_write()
1371 add_wait_queue(&runtime->sleep, &wait); in snd_rawmidi_write()
1375 remove_wait_queue(&runtime->sleep, &wait); in snd_rawmidi_write()
[all …]
Dcompress_offload.c129 init_waitqueue_head(&runtime->sleep); in snd_compr_open()
418 poll_wait(f, &stream->runtime->sleep, wait); in snd_compr_poll()
741 wake_up(&stream->runtime->sleep); in error_delayed_work()
792 ret = wait_event_interruptible(stream->runtime->sleep, in snd_compress_wait_for_drain()
800 wake_up(&stream->runtime->sleep); in snd_compress_wait_for_drain()
825 wake_up(&stream->runtime->sleep); in snd_compr_drain()
885 wake_up(&stream->runtime->sleep); in snd_compr_partial_drain()
Dpcm_native.c1297 wake_up(&runtime->sleep); in snd_pcm_post_stop()
1408 wake_up(&runtime->sleep); in snd_pcm_post_pause()
1468 wake_up(&runtime->sleep); in snd_pcm_post_suspend()
1882 add_wait_queue(&to_check->sleep, &wait); in snd_pcm_drain()
1900 remove_wait_queue(&to_check->sleep, &wait); in snd_pcm_drain()
3185 poll_wait(file, &runtime->sleep, wait); in snd_pcm_poll()
Dpcm.c964 init_waitqueue_head(&runtime->sleep); in snd_pcm_attach_substream()
1105 wake_up(&substream->runtime->sleep); in snd_pcm_dev_disconnect()
Dpcm_lib.c198 wake_up(&runtime->sleep); in snd_pcm_update_state()
/sound/usb/usx2y/
Dusb_stream.h27 wait_queue_head_t sleep; member
Dus122l.c268 poll_wait(file, &us122l->sk.sleep, wait); in usb_stream_hwdep_poll()
431 wake_up_all(&us122l->sk.sleep); in usb_stream_hwdep_ioctl()
539 init_waitqueue_head(&US122L(card)->sk.sleep); in usx2y_create_card()
Dusb_stream.c496 wake_up_all(&sk->sleep); in stream_idle()
500 wake_up_all(&sk->sleep); in stream_idle()
/sound/soc/intel/common/
Dsst-dsp.c319 if (sst->ops->sleep) in sst_dsp_sleep()
320 sst->ops->sleep(sst); in sst_dsp_sleep()
Dsst-dsp-priv.h33 void (*sleep)(struct sst_dsp *); member
/sound/isa/gus/
Dgus_pcm.c44 wait_queue_head_t sleep; member
55 wake_up(&pcmp->sleep); in snd_gf1_pcm_block_change_ack()
691 init_waitqueue_head(&pcmp->sleep); in snd_gf1_pcm_playback_open()
718 if (!wait_event_timeout(pcmp->sleep, (atomic_read(&pcmp->dma_count) <= 0), 2*HZ)) in snd_gf1_pcm_playback_close()
/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/i2c/other/
Dak4117.c509 wake_up(&runtime->sleep); in snd_ak4117_check_rate_and_errors()
Dak4113.c606 wake_up(&runtime->sleep); in snd_ak4113_check_rate_and_errors()
/sound/soc/intel/haswell/
Dsst-haswell-dsp.c694 .sleep = hsw_sleep,
/sound/core/oss/
Dpcm_oss.c1588 add_wait_queue(&runtime->sleep, &wait); in snd_pcm_oss_sync1()
1622 remove_wait_queue(&runtime->sleep, &wait); in snd_pcm_oss_sync1()
2804 poll_wait(file, &runtime->sleep, wait); in snd_pcm_oss_poll()
2815 poll_wait(file, &runtime->sleep, wait); in snd_pcm_oss_poll()