Searched refs:sw_ready (Results 1 – 1 of 1) sorted by relevance
36 int sw_ready; /* Bytes ready to be transferred to/from hw */ member61 rec->sw_ready += (int)frames_to_bytes(runtime, diff); in snd_pcm_indirect_playback_transfer()65 while (rec->hw_ready < qsize && rec->sw_ready > 0) { in snd_pcm_indirect_playback_transfer()69 if (rec->sw_ready < (int)bytes) in snd_pcm_indirect_playback_transfer()70 bytes = rec->sw_ready; in snd_pcm_indirect_playback_transfer()85 rec->sw_ready -= bytes; in snd_pcm_indirect_playback_transfer()129 rec->sw_ready -= frames_to_bytes(runtime, diff); in snd_pcm_indirect_capture_transfer()133 rec->sw_ready < (int)rec->sw_buffer_size) { in snd_pcm_indirect_capture_transfer()136 size_t bytes = rec->sw_buffer_size - rec->sw_ready; in snd_pcm_indirect_capture_transfer()153 rec->sw_ready += bytes; in snd_pcm_indirect_capture_transfer()