Lines Matching full:buffer_size
163 unsigned int buffer_size;
177 return pcm->buffer_size;
380 frames = hw_ptr + pcm->buffer_size - pcm->mmap_control->appl_ptr;
596 munmap(pcm->mmap_buffer, pcm_frames_to_bytes(pcm, pcm->buffer_size));
602 pcm->buffer_size = 0;
680 pcm->buffer_size = config->period_count * config->period_size;
683 pcm->mmap_buffer = mmap(NULL, pcm_frames_to_bytes(pcm, pcm->buffer_size),
687 pcm_frames_to_bytes(pcm, pcm->buffer_size));
729 pcm->boundary = sparams.boundary = pcm->buffer_size;
731 while (pcm->boundary * 2 <= INT_MAX - pcm->buffer_size)
761 munmap(pcm->mmap_buffer, pcm_frames_to_bytes(pcm, pcm->buffer_size));
801 avail = pcm->mmap_status->hw_ptr + pcm->buffer_size - pcm->mmap_control->appl_ptr;
848 *offset = pcm->mmap_control->appl_ptr % pcm->buffer_size;
851 if (avail > pcm->buffer_size)
852 avail = pcm->buffer_size;
853 continuous = pcm->buffer_size - *offset;
961 (pcm->buffer_size - avail) >= pcm->config.start_threshold) {