Home
last modified time | relevance | path

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

/Linux-v5.10/include/sound/
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()
116 rec->sw_ready -= frames_to_bytes(runtime, diff); in snd_pcm_indirect_capture_transfer()
120 rec->sw_ready < (int)rec->sw_buffer_size) { in snd_pcm_indirect_capture_transfer()
123 size_t bytes = rec->sw_buffer_size - rec->sw_ready; in snd_pcm_indirect_capture_transfer()
140 rec->sw_ready += bytes; in snd_pcm_indirect_capture_transfer()