Lines Matching refs:appl_ptr
474 frames = hw_ptr - pcm->mmap_control->appl_ptr;
476 frames = hw_ptr + pcm->buffer_size - pcm->mmap_control->appl_ptr;
1084 avail = pcm->mmap_status->hw_ptr + pcm->buffer_size - pcm->mmap_control->appl_ptr;
1096 int avail = pcm->mmap_status->hw_ptr - pcm->mmap_control->appl_ptr;
1113 unsigned int appl_ptr = pcm->mmap_control->appl_ptr;
1114 appl_ptr += frames;
1117 if (appl_ptr > pcm->boundary)
1118 appl_ptr -= pcm->boundary;
1119 pcm->mmap_control->appl_ptr = appl_ptr;
1131 *offset = pcm->mmap_control->appl_ptr % pcm->buffer_size;
1253 (unsigned int)pcm->mmap_control->appl_ptr,
1283 (unsigned int)pcm->mmap_control->appl_ptr,
1285 pcm->mmap_control->appl_ptr = 0;
1304 (unsigned int)pcm->mmap_control->appl_ptr,