Lines Matching refs:appl_ptr
474 frames = hw_ptr - pcm->mmap_control->appl_ptr; in pcm_get_htimestamp()
476 frames = hw_ptr + pcm->buffer_size - pcm->mmap_control->appl_ptr; in pcm_get_htimestamp()
1090 avail = pcm->mmap_status->hw_ptr + pcm->buffer_size - pcm->mmap_control->appl_ptr; in pcm_mmap_playback_avail()
1102 int avail = pcm->mmap_status->hw_ptr - pcm->mmap_control->appl_ptr; in pcm_mmap_capture_avail()
1119 unsigned int appl_ptr = pcm->mmap_control->appl_ptr; in pcm_mmap_appl_forward() local
1120 appl_ptr += frames; in pcm_mmap_appl_forward()
1123 if (appl_ptr > pcm->boundary) in pcm_mmap_appl_forward()
1124 appl_ptr -= pcm->boundary; in pcm_mmap_appl_forward()
1125 pcm->mmap_control->appl_ptr = appl_ptr; in pcm_mmap_appl_forward()
1137 *offset = pcm->mmap_control->appl_ptr % pcm->buffer_size; in pcm_mmap_begin()
1259 (unsigned int)pcm->mmap_control->appl_ptr, in pcm_mmap_transfer()
1289 (unsigned int)pcm->mmap_control->appl_ptr, in pcm_mmap_transfer()
1291 pcm->mmap_control->appl_ptr = 0; in pcm_mmap_transfer()
1310 (unsigned int)pcm->mmap_control->appl_ptr, in pcm_mmap_transfer()