Lines Matching refs:hw_offset
839 static int snd_pcm_rate_grab_next_period(snd_pcm_t *pcm, snd_pcm_uframes_t hw_offset)
842 snd_pcm_uframes_t cont = pcm->buffer_size - hw_offset;
856 snd_pcm_rate_read_areas1(pcm, areas, hw_offset,
922 cont = pcm->buffer_size - hw_offset;
924 snd_pcm_rate_read_areas1(pcm, areas, hw_offset,
930 snd_pcm_areas_copy(areas, hw_offset,
1010 snd_pcm_uframes_t xfer, hw_offset, size;
1014 hw_offset = snd_pcm_mmap_hw_offset(pcm);
1017 int err = snd_pcm_rate_grab_next_period(pcm, hw_offset);
1025 hw_offset += pcm->period_size;
1026 hw_offset %= pcm->buffer_size;