Home
last modified time | relevance | path

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

/sound/core/
Dpcm_native.c2821 struct snd_pcm_sync_ptr sync_ptr; in snd_pcm_sync_ptr() local
2826 memset(&sync_ptr, 0, sizeof(sync_ptr)); in snd_pcm_sync_ptr()
2827 if (get_user(sync_ptr.flags, (unsigned __user *)&(_sync_ptr->flags))) in snd_pcm_sync_ptr()
2829 …if (copy_from_user(&sync_ptr.c.control, &(_sync_ptr->c.control), sizeof(struct snd_pcm_mmap_contro… in snd_pcm_sync_ptr()
2833 if (sync_ptr.flags & SNDRV_PCM_SYNC_PTR_HWSYNC) { in snd_pcm_sync_ptr()
2839 if (!(sync_ptr.flags & SNDRV_PCM_SYNC_PTR_APPL)) { in snd_pcm_sync_ptr()
2841 sync_ptr.c.control.appl_ptr); in snd_pcm_sync_ptr()
2847 sync_ptr.c.control.appl_ptr = control->appl_ptr; in snd_pcm_sync_ptr()
2849 if (!(sync_ptr.flags & SNDRV_PCM_SYNC_PTR_AVAIL_MIN)) in snd_pcm_sync_ptr()
2850 control->avail_min = sync_ptr.c.control.avail_min; in snd_pcm_sync_ptr()
[all …]