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()
462 if (put_user(sstatus.state, &src->s.status.state) || in snd_pcm_ioctl_sync_ptr_x32()
463 put_user(sstatus.hw_ptr, &src->s.status.hw_ptr) || in snd_pcm_ioctl_sync_ptr_x32()
464 put_user(sstatus.tstamp.tv_sec, &src->s.status.tstamp_sec) || in snd_pcm_ioctl_sync_ptr_x32()
465 put_user(sstatus.tstamp.tv_nsec, &src->s.status.tstamp_nsec) || in snd_pcm_ioctl_sync_ptr_x32()
[all …]
Dpcm_native.c3130 struct snd_pcm_mmap_status sstatus; in snd_pcm_ioctl_sync_ptr_compat() local
3166 sstatus.state = status->state; in snd_pcm_ioctl_sync_ptr_compat()
3167 sstatus.hw_ptr = status->hw_ptr % boundary; in snd_pcm_ioctl_sync_ptr_compat()
3168 sstatus.tstamp = status->tstamp; in snd_pcm_ioctl_sync_ptr_compat()
3169 sstatus.suspended_state = status->suspended_state; in snd_pcm_ioctl_sync_ptr_compat()
3170 sstatus.audio_tstamp = status->audio_tstamp; in snd_pcm_ioctl_sync_ptr_compat()
3174 if (put_user(sstatus.state, &src->s.status.state) || in snd_pcm_ioctl_sync_ptr_compat()
3175 put_user(sstatus.hw_ptr, &src->s.status.hw_ptr) || in snd_pcm_ioctl_sync_ptr_compat()
3176 put_user(sstatus.tstamp.tv_sec, &src->s.status.tstamp_sec) || in snd_pcm_ioctl_sync_ptr_compat()
3177 put_user(sstatus.tstamp.tv_nsec, &src->s.status.tstamp_nsec) || in snd_pcm_ioctl_sync_ptr_compat()
[all …]