Searched refs:sw_io (Results 1 – 1 of 1) sorted by relevance
22 unsigned int sw_io; /* Current software pointer in bytes */ member90 rec->sw_io += bytes; in snd_pcm_indirect_playback_pointer()91 if (rec->sw_io >= rec->sw_buffer_size) in snd_pcm_indirect_playback_pointer()92 rec->sw_io -= rec->sw_buffer_size; in snd_pcm_indirect_playback_pointer()95 return bytes_to_frames(substream->runtime, rec->sw_io); in snd_pcm_indirect_playback_pointer()162 rec->sw_io += bytes; in snd_pcm_indirect_capture_pointer()163 if (rec->sw_io >= rec->sw_buffer_size) in snd_pcm_indirect_capture_pointer()164 rec->sw_io -= rec->sw_buffer_size; in snd_pcm_indirect_capture_pointer()167 return bytes_to_frames(substream->runtime, rec->sw_io); in snd_pcm_indirect_capture_pointer()