Home
last modified time | relevance | path

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

/linux/include/sound/
H A Dpcm-indirect.h23 int sw_ready; /* Bytes ready to be transferred to/from hw */ member
48 rec->sw_ready += (int)frames_to_bytes(runtime, diff); in snd_pcm_indirect_playback_transfer()
52 while (rec->hw_ready < qsize && rec->sw_ready > 0) { in snd_pcm_indirect_playback_transfer()
56 if (rec->sw_ready < (int)bytes) in snd_pcm_indirect_playback_transfer()
57 bytes = rec->sw_ready; in snd_pcm_indirect_playback_transfer()
72 rec->sw_ready -= bytes; in snd_pcm_indirect_playback_transfer()
121 rec->sw_ready -= frames_to_bytes(runtime, diff); in snd_pcm_indirect_capture_transfer()
125 rec->sw_ready < (int)rec->sw_buffer_size) { in snd_pcm_indirect_capture_transfer()
128 size_t bytes = rec->sw_buffer_size - rec->sw_ready; in snd_pcm_indirect_capture_transfer()
145 rec->sw_ready += bytes; in snd_pcm_indirect_capture_transfer()