Home
last modified time | relevance | path

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

/external/tinyalsa/
Dpcm.c255 struct snd_pcm_mmap_control *mmap_control; member
353 pcm->mmap_control = mmap(NULL, page_size, PROT_READ | PROT_WRITE, in pcm_hw_mmap_status()
355 if (pcm->mmap_control == MAP_FAILED) in pcm_hw_mmap_status()
356 pcm->mmap_control = NULL; in pcm_hw_mmap_status()
357 if (!pcm->mmap_control) { in pcm_hw_mmap_status()
363 pcm->mmap_control->avail_min = pcm->config.avail_min; in pcm_hw_mmap_status()
365 pcm->mmap_control->avail_min = 1; in pcm_hw_mmap_status()
375 pcm->mmap_control = &pcm->sync_ptr->c.control; in pcm_hw_mmap_status()
377 pcm->mmap_control->avail_min = pcm->config.avail_min; in pcm_hw_mmap_status()
379 pcm->mmap_control->avail_min = 1; in pcm_hw_mmap_status()
[all …]