Home
last modified time | relevance | path

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

/external/tinyalsa/
Dpcm.c168 struct snd_pcm_mmap_control *mmap_control; member
261 pcm->mmap_control = mmap(NULL, page_size, PROT_READ | PROT_WRITE, in pcm_hw_mmap_status()
263 if (pcm->mmap_control == MAP_FAILED) in pcm_hw_mmap_status()
264 pcm->mmap_control = NULL; in pcm_hw_mmap_status()
265 if (!pcm->mmap_control) { in pcm_hw_mmap_status()
271 pcm->mmap_control->avail_min = pcm->config.avail_min; in pcm_hw_mmap_status()
273 pcm->mmap_control->avail_min = 1; in pcm_hw_mmap_status()
283 pcm->mmap_control = &pcm->sync_ptr->c.control; in pcm_hw_mmap_status()
285 pcm->mmap_control->avail_min = pcm->config.avail_min; in pcm_hw_mmap_status()
287 pcm->mmap_control->avail_min = 1; in pcm_hw_mmap_status()
[all …]