Lines Matching refs:params
125 struct snd_pcm_sw_params params; in snd_pcm_ioctl_sw_params_compat() local
129 memset(¶ms, 0, sizeof(params)); in snd_pcm_ioctl_sw_params_compat()
130 if (get_user(params.tstamp_mode, &src->tstamp_mode) || in snd_pcm_ioctl_sw_params_compat()
131 get_user(params.period_step, &src->period_step) || in snd_pcm_ioctl_sw_params_compat()
132 get_user(params.sleep_min, &src->sleep_min) || in snd_pcm_ioctl_sw_params_compat()
133 get_user(params.avail_min, &src->avail_min) || in snd_pcm_ioctl_sw_params_compat()
134 get_user(params.xfer_align, &src->xfer_align) || in snd_pcm_ioctl_sw_params_compat()
135 get_user(params.start_threshold, &src->start_threshold) || in snd_pcm_ioctl_sw_params_compat()
136 get_user(params.stop_threshold, &src->stop_threshold) || in snd_pcm_ioctl_sw_params_compat()
137 get_user(params.silence_threshold, &src->silence_threshold) || in snd_pcm_ioctl_sw_params_compat()
138 get_user(params.silence_size, &src->silence_size) || in snd_pcm_ioctl_sw_params_compat()
139 get_user(params.tstamp_type, &src->tstamp_type) || in snd_pcm_ioctl_sw_params_compat()
140 get_user(params.proto, &src->proto)) in snd_pcm_ioctl_sw_params_compat()
147 if (boundary && params.silence_size >= boundary) in snd_pcm_ioctl_sw_params_compat()
148 params.silence_size = substream->runtime->boundary; in snd_pcm_ioctl_sw_params_compat()
149 err = snd_pcm_sw_params(substream, ¶ms); in snd_pcm_ioctl_sw_params_compat()