Lines Matching refs:info
190 struct snd_hwdep_info info; in snd_hwdep_info() local
192 memset(&info, 0, sizeof(info)); in snd_hwdep_info()
193 info.card = hw->card->number; in snd_hwdep_info()
194 strlcpy(info.id, hw->id, sizeof(info.id)); in snd_hwdep_info()
195 strlcpy(info.name, hw->name, sizeof(info.name)); in snd_hwdep_info()
196 info.iface = hw->iface; in snd_hwdep_info()
197 if (copy_to_user(_info, &info, sizeof(info))) in snd_hwdep_info()
205 struct snd_hwdep_dsp_status info; in snd_hwdep_dsp_status() local
210 memset(&info, 0, sizeof(info)); in snd_hwdep_dsp_status()
211 info.dsp_loaded = hw->dsp_loaded; in snd_hwdep_dsp_status()
212 if ((err = hw->ops.dsp_status(hw, &info)) < 0) in snd_hwdep_dsp_status()
214 if (copy_to_user(_info, &info, sizeof(info))) in snd_hwdep_dsp_status()
222 struct snd_hwdep_dsp_image info; in snd_hwdep_dsp_load() local
227 memset(&info, 0, sizeof(info)); in snd_hwdep_dsp_load()
228 if (copy_from_user(&info, _info, sizeof(info))) in snd_hwdep_dsp_load()
231 if (hw->dsp_loaded & (1 << info.index)) in snd_hwdep_dsp_load()
233 if (!access_ok(VERIFY_READ, info.image, info.length)) in snd_hwdep_dsp_load()
235 err = hw->ops.dsp_load(hw, &info); in snd_hwdep_dsp_load()
238 hw->dsp_loaded |= (1 << info.index); in snd_hwdep_dsp_load()
304 struct snd_hwdep_info __user *info = (struct snd_hwdep_info __user *)arg; in snd_hwdep_control_ioctl() local
308 if (get_user(device, &info->device)) in snd_hwdep_control_ioctl()
313 err = snd_hwdep_info(hwdep, info); in snd_hwdep_control_ioctl()