• Home
  • Raw
  • Download

Lines Matching refs:mmap_control

254     struct snd_pcm_mmap_control *mmap_control;  member
358 pcm->mmap_control = mmap(NULL, page_size, PROT_READ | PROT_WRITE, in pcm_hw_mmap_status()
360 if (pcm->mmap_control == MAP_FAILED) in pcm_hw_mmap_status()
361 pcm->mmap_control = NULL; in pcm_hw_mmap_status()
362 if (!pcm->mmap_control) { in pcm_hw_mmap_status()
368 pcm->mmap_control->avail_min = pcm->config.avail_min; in pcm_hw_mmap_status()
370 pcm->mmap_control->avail_min = 1; in pcm_hw_mmap_status()
380 pcm->mmap_control = &pcm->sync_ptr->c.control; in pcm_hw_mmap_status()
382 pcm->mmap_control->avail_min = pcm->config.avail_min; in pcm_hw_mmap_status()
384 pcm->mmap_control->avail_min = 1; in pcm_hw_mmap_status()
399 if (pcm->mmap_control) in pcm_hw_munmap_status()
400 munmap(pcm->mmap_control, page_size); in pcm_hw_munmap_status()
403 pcm->mmap_control = NULL; in pcm_hw_munmap_status()
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()
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()