Lines Matching refs:appl_ptr

765 	status->appl_ptr = runtime->control->appl_ptr;  in snd_pcm_status()
1490 runtime->control->appl_ptr = runtime->status->hw_ptr; in snd_pcm_post_reset()
1536 runtime->control->appl_ptr = runtime->status->hw_ptr; in snd_pcm_post_prepare()
2436 snd_pcm_sframes_t appl_ptr; in snd_pcm_playback_rewind() local
2470 appl_ptr = runtime->control->appl_ptr - frames; in snd_pcm_playback_rewind()
2471 if (appl_ptr < 0) in snd_pcm_playback_rewind()
2472 appl_ptr += runtime->boundary; in snd_pcm_playback_rewind()
2473 runtime->control->appl_ptr = appl_ptr; in snd_pcm_playback_rewind()
2484 snd_pcm_sframes_t appl_ptr; in snd_pcm_capture_rewind() local
2518 appl_ptr = runtime->control->appl_ptr - frames; in snd_pcm_capture_rewind()
2519 if (appl_ptr < 0) in snd_pcm_capture_rewind()
2520 appl_ptr += runtime->boundary; in snd_pcm_capture_rewind()
2521 runtime->control->appl_ptr = appl_ptr; in snd_pcm_capture_rewind()
2532 snd_pcm_sframes_t appl_ptr; in snd_pcm_playback_forward() local
2567 appl_ptr = runtime->control->appl_ptr + frames; in snd_pcm_playback_forward()
2568 if (appl_ptr >= (snd_pcm_sframes_t)runtime->boundary) in snd_pcm_playback_forward()
2569 appl_ptr -= runtime->boundary; in snd_pcm_playback_forward()
2570 runtime->control->appl_ptr = appl_ptr; in snd_pcm_playback_forward()
2581 snd_pcm_sframes_t appl_ptr; in snd_pcm_capture_forward() local
2616 appl_ptr = runtime->control->appl_ptr + frames; in snd_pcm_capture_forward()
2617 if (appl_ptr >= (snd_pcm_sframes_t)runtime->boundary) in snd_pcm_capture_forward()
2618 appl_ptr -= runtime->boundary; in snd_pcm_capture_forward()
2619 runtime->control->appl_ptr = appl_ptr; in snd_pcm_capture_forward()
2721 control->appl_ptr = sync_ptr.c.control.appl_ptr; in snd_pcm_sync_ptr()
2723 sync_ptr.c.control.appl_ptr = control->appl_ptr; in snd_pcm_sync_ptr()