Lines Matching refs:scontrol
496 struct snd_pcm_mmap_control scontrol; in snd_pcm_ioctl_sync_ptr_compat() local
505 get_user(scontrol.appl_ptr, &src->c.control.appl_ptr) || in snd_pcm_ioctl_sync_ptr_compat()
506 get_user(scontrol.avail_min, &src->c.control.avail_min)) in snd_pcm_ioctl_sync_ptr_compat()
521 control->appl_ptr = scontrol.appl_ptr; in snd_pcm_ioctl_sync_ptr_compat()
523 scontrol.appl_ptr = control->appl_ptr % boundary; in snd_pcm_ioctl_sync_ptr_compat()
525 control->avail_min = scontrol.avail_min; in snd_pcm_ioctl_sync_ptr_compat()
527 scontrol.avail_min = control->avail_min; in snd_pcm_ioctl_sync_ptr_compat()
540 put_user(scontrol.appl_ptr, &src->c.control.appl_ptr) || in snd_pcm_ioctl_sync_ptr_compat()
541 put_user(scontrol.avail_min, &src->c.control.avail_min)) in snd_pcm_ioctl_sync_ptr_compat()
584 struct snd_pcm_mmap_control scontrol; in snd_pcm_ioctl_sync_ptr_x32() local
593 get_user(scontrol.appl_ptr, &src->c.control.appl_ptr) || in snd_pcm_ioctl_sync_ptr_x32()
594 get_user(scontrol.avail_min, &src->c.control.avail_min)) in snd_pcm_ioctl_sync_ptr_x32()
609 control->appl_ptr = scontrol.appl_ptr; in snd_pcm_ioctl_sync_ptr_x32()
611 scontrol.appl_ptr = control->appl_ptr % boundary; in snd_pcm_ioctl_sync_ptr_x32()
613 control->avail_min = scontrol.avail_min; in snd_pcm_ioctl_sync_ptr_x32()
615 scontrol.avail_min = control->avail_min; in snd_pcm_ioctl_sync_ptr_x32()
627 put_user(scontrol.appl_ptr, &src->c.control.appl_ptr) || in snd_pcm_ioctl_sync_ptr_x32()
628 put_user(scontrol.avail_min, &src->c.control.avail_min)) in snd_pcm_ioctl_sync_ptr_x32()