Searched refs:hw_avail (Results 1 – 1 of 1) sorted by relevance
2458 snd_pcm_sframes_t hw_avail; in snd_pcm_playback_rewind() local2483 hw_avail = snd_pcm_playback_hw_avail(runtime); in snd_pcm_playback_rewind()2484 if (hw_avail <= 0) { in snd_pcm_playback_rewind()2488 if (frames > (snd_pcm_uframes_t)hw_avail) in snd_pcm_playback_rewind()2489 frames = hw_avail; in snd_pcm_playback_rewind()2506 snd_pcm_sframes_t hw_avail; in snd_pcm_capture_rewind() local2531 hw_avail = snd_pcm_capture_hw_avail(runtime); in snd_pcm_capture_rewind()2532 if (hw_avail <= 0) { in snd_pcm_capture_rewind()2536 if (frames > (snd_pcm_uframes_t)hw_avail) in snd_pcm_capture_rewind()2537 frames = hw_avail; in snd_pcm_capture_rewind()