Home
last modified time | relevance | path

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

/sound/core/
Dpcm_compat.c423 struct snd_pcm_mmap_status sstatus; in snd_pcm_ioctl_sync_ptr_x32() local
454 sstatus.state = status->state; in snd_pcm_ioctl_sync_ptr_x32()
455 sstatus.hw_ptr = status->hw_ptr % boundary; in snd_pcm_ioctl_sync_ptr_x32()
456 sstatus.tstamp = status->tstamp; in snd_pcm_ioctl_sync_ptr_x32()
457 sstatus.suspended_state = status->suspended_state; in snd_pcm_ioctl_sync_ptr_x32()
458 sstatus.audio_tstamp = status->audio_tstamp; in snd_pcm_ioctl_sync_ptr_x32()
460 if (put_user(sstatus.state, &src->s.status.state) || in snd_pcm_ioctl_sync_ptr_x32()
461 put_user(sstatus.hw_ptr, &src->s.status.hw_ptr) || in snd_pcm_ioctl_sync_ptr_x32()
462 put_user(sstatus.tstamp.tv_sec, &src->s.status.tstamp_sec) || in snd_pcm_ioctl_sync_ptr_x32()
463 put_user(sstatus.tstamp.tv_nsec, &src->s.status.tstamp_nsec) || in snd_pcm_ioctl_sync_ptr_x32()
[all …]
Dpcm_native.c3122 struct snd_pcm_mmap_status sstatus; in snd_pcm_ioctl_sync_ptr_compat() local
3158 sstatus.state = status->state; in snd_pcm_ioctl_sync_ptr_compat()
3159 sstatus.hw_ptr = status->hw_ptr % boundary; in snd_pcm_ioctl_sync_ptr_compat()
3160 sstatus.tstamp = status->tstamp; in snd_pcm_ioctl_sync_ptr_compat()
3161 sstatus.suspended_state = status->suspended_state; in snd_pcm_ioctl_sync_ptr_compat()
3162 sstatus.audio_tstamp = status->audio_tstamp; in snd_pcm_ioctl_sync_ptr_compat()
3164 if (put_user(sstatus.state, &src->s.status.state) || in snd_pcm_ioctl_sync_ptr_compat()
3165 put_user(sstatus.hw_ptr, &src->s.status.hw_ptr) || in snd_pcm_ioctl_sync_ptr_compat()
3166 put_user(sstatus.tstamp.tv_sec, &src->s.status.tstamp_sec) || in snd_pcm_ioctl_sync_ptr_compat()
3167 put_user(sstatus.tstamp.tv_nsec, &src->s.status.tstamp_nsec) || in snd_pcm_ioctl_sync_ptr_compat()
[all …]