Lines Matching refs:appl_ptr
776 status->appl_ptr = runtime->control->appl_ptr; in snd_pcm_status()
1487 runtime->control->appl_ptr = runtime->status->hw_ptr; in snd_pcm_post_reset()
1533 runtime->control->appl_ptr = runtime->status->hw_ptr; in snd_pcm_post_prepare()
2434 snd_pcm_sframes_t appl_ptr; in snd_pcm_playback_rewind() local
2468 appl_ptr = runtime->control->appl_ptr - frames; in snd_pcm_playback_rewind()
2469 if (appl_ptr < 0) in snd_pcm_playback_rewind()
2470 appl_ptr += runtime->boundary; in snd_pcm_playback_rewind()
2471 runtime->control->appl_ptr = appl_ptr; in snd_pcm_playback_rewind()
2482 snd_pcm_sframes_t appl_ptr; in snd_pcm_capture_rewind() local
2516 appl_ptr = runtime->control->appl_ptr - frames; in snd_pcm_capture_rewind()
2517 if (appl_ptr < 0) in snd_pcm_capture_rewind()
2518 appl_ptr += runtime->boundary; in snd_pcm_capture_rewind()
2519 runtime->control->appl_ptr = appl_ptr; in snd_pcm_capture_rewind()
2530 snd_pcm_sframes_t appl_ptr; in snd_pcm_playback_forward() local
2565 appl_ptr = runtime->control->appl_ptr + frames; in snd_pcm_playback_forward()
2566 if (appl_ptr >= (snd_pcm_sframes_t)runtime->boundary) in snd_pcm_playback_forward()
2567 appl_ptr -= runtime->boundary; in snd_pcm_playback_forward()
2568 runtime->control->appl_ptr = appl_ptr; in snd_pcm_playback_forward()
2579 snd_pcm_sframes_t appl_ptr; in snd_pcm_capture_forward() local
2614 appl_ptr = runtime->control->appl_ptr + frames; in snd_pcm_capture_forward()
2615 if (appl_ptr >= (snd_pcm_sframes_t)runtime->boundary) in snd_pcm_capture_forward()
2616 appl_ptr -= runtime->boundary; in snd_pcm_capture_forward()
2617 runtime->control->appl_ptr = appl_ptr; in snd_pcm_capture_forward()
2719 control->appl_ptr = sync_ptr.c.control.appl_ptr; in snd_pcm_sync_ptr()
2721 sync_ptr.c.control.appl_ptr = control->appl_ptr; in snd_pcm_sync_ptr()