Lines Matching refs:period_ptr
1153 runtime->oss.period_ptr = 0; in snd_pcm_oss_prepare()
1426 tmp = snd_pcm_oss_write2(substream, runtime->oss.buffer + runtime->oss.period_ptr, in snd_pcm_oss_write1()
1427 runtime->oss.buffer_used - runtime->oss.period_ptr, 1); in snd_pcm_oss_write1()
1431 runtime->oss.period_ptr += tmp; in snd_pcm_oss_write1()
1432 runtime->oss.period_ptr %= runtime->oss.period_bytes; in snd_pcm_oss_write1()
1433 if (runtime->oss.period_ptr == 0 || in snd_pcm_oss_write1()
1434 runtime->oss.period_ptr == runtime->oss.buffer_used) in snd_pcm_oss_write1()
1526 runtime->oss.period_ptr = tmp; in snd_pcm_oss_read1()
1532 …if (copy_to_user(buf, runtime->oss.buffer + (runtime->oss.period_ptr - runtime->oss.buffer_used), … in snd_pcm_oss_read1()
1580 runtime->oss.period_ptr = 0; in snd_pcm_oss_reset()
1686 } else if (runtime->oss.period_ptr > 0) { in snd_pcm_oss_sync()
1690 size = runtime->oss.period_bytes - runtime->oss.period_ptr; in snd_pcm_oss_sync()