Home
last modified time | relevance | path

Searched refs:mmap_control (Results 1 – 1 of 1) sorted by relevance

/external/tinyalsa/
Dpcm.c254 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()
[all …]