Home
last modified time | relevance | path

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

/linux-2.6.39/include/sound/
Dpcm-indirect.h35 unsigned int sw_io; /* Current software pointer in bytes */ member
100 rec->sw_io += bytes; in snd_pcm_indirect_playback_pointer()
101 if (rec->sw_io >= rec->sw_buffer_size) in snd_pcm_indirect_playback_pointer()
102 rec->sw_io -= rec->sw_buffer_size; in snd_pcm_indirect_playback_pointer()
105 return bytes_to_frames(substream->runtime, rec->sw_io); in snd_pcm_indirect_playback_pointer()
169 rec->sw_io += bytes; in snd_pcm_indirect_capture_pointer()
170 if (rec->sw_io >= rec->sw_buffer_size) in snd_pcm_indirect_capture_pointer()
171 rec->sw_io -= rec->sw_buffer_size; in snd_pcm_indirect_capture_pointer()
174 return bytes_to_frames(substream->runtime, rec->sw_io); in snd_pcm_indirect_capture_pointer()
/linux-2.6.39/sound/drivers/
Dpcm-indirect2.c72 snd_printk(KERN_DEBUG "STAT: sw_io: %d, sw_data: %d\n", rec->sw_io, in snd_pcm_indirect2_stat()
143 rec->sw_io += bytes; in snd_pcm_indirect2_increase_min_periods()
144 if (rec->sw_io >= rec->sw_buffer_size) in snd_pcm_indirect2_increase_min_periods()
145 rec->sw_io -= rec->sw_buffer_size; in snd_pcm_indirect2_increase_min_periods()
187 if (rec->sw_io != rec->sw_data) { in snd_pcm_indirect2_increase_min_periods()
189 if (rec->sw_data > rec->sw_io) in snd_pcm_indirect2_increase_min_periods()
190 diff = rec->sw_data - rec->sw_io; in snd_pcm_indirect2_increase_min_periods()
193 rec->sw_io) + in snd_pcm_indirect2_increase_min_periods()
196 rec->sw_io = rec->sw_data; in snd_pcm_indirect2_increase_min_periods()
198 rec->sw_io += bytes; in snd_pcm_indirect2_increase_min_periods()
[all …]
Dpcm-indirect2.h80 unsigned int sw_io; /* Current software pointer in bytes */ member