Home
last modified time | relevance | path

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

/device/linaro/hikey/hifi/xaf/host-apf/playback/tinyalsa/
Dpcm.c248 struct snd_pcm_mmap_control *mmap_control; member
352 pcm->mmap_control = mmap(NULL, page_size, PROT_READ | PROT_WRITE, in pcm_hw_mmap_status()
354 if (pcm->mmap_control == MAP_FAILED) in pcm_hw_mmap_status()
355 pcm->mmap_control = NULL; in pcm_hw_mmap_status()
356 if (!pcm->mmap_control) { in pcm_hw_mmap_status()
362 pcm->mmap_control->avail_min = pcm->config.avail_min; in pcm_hw_mmap_status()
364 pcm->mmap_control->avail_min = 1; in pcm_hw_mmap_status()
374 pcm->mmap_control = &pcm->sync_ptr->c.control; in pcm_hw_mmap_status()
376 pcm->mmap_control->avail_min = pcm->config.avail_min; in pcm_hw_mmap_status()
378 pcm->mmap_control->avail_min = 1; in pcm_hw_mmap_status()
[all …]