/sound/core/seq/ |
D | seq_compat.c | 91 void __user *argp = compat_ptr(arg); in snd_seq_ioctl_compat() local 125 return snd_seq_call_port_info_ioctl(client, SNDRV_SEQ_IOCTL_CREATE_PORT, argp); in snd_seq_ioctl_compat() 127 return snd_seq_call_port_info_ioctl(client, SNDRV_SEQ_IOCTL_DELETE_PORT, argp); in snd_seq_ioctl_compat() 129 return snd_seq_call_port_info_ioctl(client, SNDRV_SEQ_IOCTL_GET_PORT_INFO, argp); in snd_seq_ioctl_compat() 131 return snd_seq_call_port_info_ioctl(client, SNDRV_SEQ_IOCTL_SET_PORT_INFO, argp); in snd_seq_ioctl_compat() 133 return snd_seq_call_port_info_ioctl(client, SNDRV_SEQ_IOCTL_QUERY_NEXT_PORT, argp); in snd_seq_ioctl_compat()
|
/sound/core/ |
D | pcm_compat.c | 662 void __user *argp = compat_ptr(arg); in snd_pcm_ioctl_compat() local 696 return snd_pcm_playback_ioctl1(file, substream, cmd, argp); in snd_pcm_ioctl_compat() 698 return snd_pcm_capture_ioctl1(file, substream, cmd, argp); in snd_pcm_ioctl_compat() 700 return snd_pcm_ioctl_hw_params_compat(substream, 1, argp); in snd_pcm_ioctl_compat() 702 return snd_pcm_ioctl_hw_params_compat(substream, 0, argp); in snd_pcm_ioctl_compat() 704 return snd_pcm_ioctl_sw_params_compat(substream, argp); in snd_pcm_ioctl_compat() 706 return snd_pcm_status_user_compat(substream, argp, false); in snd_pcm_ioctl_compat() 708 return snd_pcm_status_user_compat(substream, argp, true); in snd_pcm_ioctl_compat() 710 return snd_pcm_ioctl_sync_ptr_compat(substream, argp); in snd_pcm_ioctl_compat() 712 return snd_pcm_ioctl_channel_info_compat(substream, argp); in snd_pcm_ioctl_compat() [all …]
|
D | timer_compat.c | 139 void __user *argp = compat_ptr(arg); in __snd_timer_user_ioctl_compat() local 157 return __snd_timer_user_ioctl(file, cmd, (unsigned long)argp); in __snd_timer_user_ioctl_compat() 159 return snd_timer_user_gparams_compat(file, argp); in __snd_timer_user_ioctl_compat() 161 return snd_timer_user_info_compat(file, argp); in __snd_timer_user_ioctl_compat() 163 return snd_timer_user_status_compat(file, argp); in __snd_timer_user_ioctl_compat() 166 return snd_timer_user_status_x32(file, argp); in __snd_timer_user_ioctl_compat()
|
D | rawmidi_compat.c | 159 void __user *argp = compat_ptr(arg); in snd_rawmidi_ioctl_compat() local 167 return snd_rawmidi_ioctl(file, cmd, (unsigned long)argp); in snd_rawmidi_ioctl_compat() 169 return snd_rawmidi_ioctl_params_compat(rfile, argp); in snd_rawmidi_ioctl_compat() 171 return snd_rawmidi_ioctl_status_compat(rfile, argp); in snd_rawmidi_ioctl_compat() 174 return snd_rawmidi_ioctl_status_x32(rfile, argp); in snd_rawmidi_ioctl_compat()
|
D | control_compat.c | 454 void __user *argp = compat_ptr(arg); in snd_ctl_ioctl_compat() local 473 return snd_ctl_ioctl(file, cmd, (unsigned long)argp); in snd_ctl_ioctl_compat() 475 return snd_ctl_elem_list_compat(ctl->card, argp); in snd_ctl_ioctl_compat() 477 return snd_ctl_elem_info_compat(ctl, argp); in snd_ctl_ioctl_compat() 479 return snd_ctl_elem_read_user_compat(ctl->card, argp); in snd_ctl_ioctl_compat() 481 return snd_ctl_elem_write_user_compat(ctl, argp); in snd_ctl_ioctl_compat() 483 return snd_ctl_elem_add_compat(ctl, argp, 0); in snd_ctl_ioctl_compat() 485 return snd_ctl_elem_add_compat(ctl, argp, 1); in snd_ctl_ioctl_compat() 488 return snd_ctl_elem_read_user_x32(ctl->card, argp); in snd_ctl_ioctl_compat() 490 return snd_ctl_elem_write_user_x32(ctl, argp); in snd_ctl_ioctl_compat()
|
D | hwdep_compat.c | 66 void __user *argp = compat_ptr(arg); in snd_hwdep_ioctl_compat() local 71 return snd_hwdep_ioctl(file, cmd, (unsigned long)argp); in snd_hwdep_ioctl_compat() 73 return snd_hwdep_dsp_load_compat(hw, argp); in snd_hwdep_ioctl_compat()
|
D | hwdep.c | 246 void __user *argp = (void __user *)arg; in snd_hwdep_ioctl() local 249 return put_user(SNDRV_HWDEP_VERSION, (int __user *)argp); in snd_hwdep_ioctl() 251 return snd_hwdep_info(hw, argp); in snd_hwdep_ioctl() 253 return snd_hwdep_dsp_status(hw, argp); in snd_hwdep_ioctl() 255 return snd_hwdep_dsp_load(hw, argp); in snd_hwdep_ioctl()
|
D | control.c | 1499 void __user *argp = (void __user *)arg; in snd_ctl_ioctl() local 1500 int __user *ip = argp; in snd_ctl_ioctl() 1511 return snd_ctl_card_info(card, ctl, cmd, argp); in snd_ctl_ioctl() 1513 return snd_ctl_elem_list(card, argp); in snd_ctl_ioctl() 1515 return snd_ctl_elem_info_user(ctl, argp); in snd_ctl_ioctl() 1517 return snd_ctl_elem_read_user(card, argp); in snd_ctl_ioctl() 1519 return snd_ctl_elem_write_user(ctl, argp); in snd_ctl_ioctl() 1521 return snd_ctl_elem_lock(ctl, argp); in snd_ctl_ioctl() 1523 return snd_ctl_elem_unlock(ctl, argp); in snd_ctl_ioctl() 1525 return snd_ctl_elem_add_user(ctl, argp, 0); in snd_ctl_ioctl() [all …]
|
D | rawmidi.c | 722 void __user *argp = (void __user *)arg; in snd_rawmidi_ioctl() local 729 return put_user(SNDRV_RAWMIDI_VERSION, (int __user *)argp) ? -EFAULT : 0; in snd_rawmidi_ioctl() 733 struct snd_rawmidi_info __user *info = argp; in snd_rawmidi_ioctl() 748 if (copy_from_user(¶ms, argp, sizeof(struct snd_rawmidi_params))) in snd_rawmidi_ioctl() 767 if (copy_from_user(&status, argp, sizeof(struct snd_rawmidi_status))) in snd_rawmidi_ioctl() 785 if (copy_to_user(argp, &status, sizeof(struct snd_rawmidi_status))) in snd_rawmidi_ioctl() 792 if (get_user(val, (int __user *) argp)) in snd_rawmidi_ioctl() 806 if (get_user(val, (int __user *) argp)) in snd_rawmidi_ioctl() 833 void __user *argp = (void __user *)arg; in snd_rawmidi_control_ioctl() local 840 if (get_user(device, (int __user *)argp)) in snd_rawmidi_control_ioctl() [all …]
|
D | timer.c | 1887 void __user *argp = (void __user *)arg; in __snd_timer_user_ioctl() local 1888 int __user *p = argp; in __snd_timer_user_ioctl() 1895 return snd_timer_user_next_device(argp); in __snd_timer_user_ioctl() 1908 return snd_timer_user_ginfo(file, argp); in __snd_timer_user_ioctl() 1910 return snd_timer_user_gparams(file, argp); in __snd_timer_user_ioctl() 1912 return snd_timer_user_gstatus(file, argp); in __snd_timer_user_ioctl() 1914 return snd_timer_user_tselect(file, argp); in __snd_timer_user_ioctl() 1916 return snd_timer_user_info(file, argp); in __snd_timer_user_ioctl() 1918 return snd_timer_user_params(file, argp); in __snd_timer_user_ioctl() 1920 return snd_timer_user_status(file, argp); in __snd_timer_user_ioctl()
|
/sound/pci/hda/ |
D | hda_hwdep.c | 67 void __user *argp = (void __user *)arg; in hda_hwdep_ioctl() local 71 return put_user(HDA_HWDEP_VERSION, (int __user *)argp); in hda_hwdep_ioctl() 73 return verb_write_ioctl(codec, argp); in hda_hwdep_ioctl() 75 return get_wcap_ioctl(codec, argp); in hda_hwdep_ioctl()
|
/sound/drivers/opl3/ |
D | opl3_synth.c | 95 void __user *argp = (void __user *)arg; in snd_opl3_ioctl() local 108 if (copy_to_user(argp, &info, sizeof(struct snd_dm_fm_info))) in snd_opl3_ioctl() 126 if (copy_from_user(¬e, argp, sizeof(struct snd_dm_fm_note))) in snd_opl3_ioctl() 137 if (copy_from_user(&voice, argp, sizeof(struct snd_dm_fm_voice))) in snd_opl3_ioctl() 148 if (copy_from_user(¶ms, argp, sizeof(struct snd_dm_fm_params))) in snd_opl3_ioctl()
|
/sound/isa/wavefront/ |
D | wavefront_synth.c | 1657 void __user *argp = (void __user *)arg; in snd_wavefront_synth_ioctl() local 1672 if (wavefront_load_patch (dev, argp) != 0) { in snd_wavefront_synth_ioctl() 1678 wc = memdup_user(argp, sizeof(*wc)); in snd_wavefront_synth_ioctl() 1684 else if (copy_to_user (argp, wc, sizeof (*wc))) in snd_wavefront_synth_ioctl()
|
/sound/pci/emu10k1/ |
D | emufx.c | 2515 void __user *argp = (void __user *)arg; in snd_emu10k1_fx8010_ioctl() local 2521 return put_user(SNDRV_EMU10K1_VERSION, (int __user *)argp); in snd_emu10k1_fx8010_ioctl() 2527 if (copy_to_user(argp, info, sizeof(*info))) { in snd_emu10k1_fx8010_ioctl() 2537 icode = memdup_user(argp, sizeof(*icode)); in snd_emu10k1_fx8010_ioctl() 2544 icode = memdup_user(argp, sizeof(*icode)); in snd_emu10k1_fx8010_ioctl() 2548 if (res == 0 && copy_to_user(argp, icode, sizeof(*icode))) { in snd_emu10k1_fx8010_ioctl() 2555 ipcm = memdup_user(argp, sizeof(*ipcm)); in snd_emu10k1_fx8010_ioctl() 2562 ipcm = memdup_user(argp, sizeof(*ipcm)); in snd_emu10k1_fx8010_ioctl() 2566 if (res == 0 && copy_to_user(argp, ipcm, sizeof(*ipcm))) { in snd_emu10k1_fx8010_ioctl() 2575 if (get_user(addr, (unsigned int __user *)argp)) in snd_emu10k1_fx8010_ioctl() [all …]
|
/sound/core/oss/ |
D | mixer_oss.c | 314 void __user *argp = (void __user *)arg; in snd_mixer_oss_ioctl1() local 315 int __user *p = argp; in snd_mixer_oss_ioctl1() 323 return snd_mixer_oss_info(fmixer, argp); in snd_mixer_oss_ioctl1() 325 return snd_mixer_oss_info_obsolete(fmixer, argp); in snd_mixer_oss_ioctl1()
|
/sound/pci/rme9652/ |
D | hdspm.c | 6165 void __user *argp = (void __user *)arg; in snd_hdspm_hwdep_ioctl() local 6218 s = copy_to_user(argp, levels, sizeof(struct hdspm_peak_rms)); in snd_hdspm_hwdep_ioctl() 6263 s = copy_to_user(argp, <c, sizeof(struct hdspm_ltc)); in snd_hdspm_hwdep_ioctl() 6288 if (copy_to_user(argp, &info, sizeof(info))) in snd_hdspm_hwdep_ioctl() 6327 if (copy_to_user(argp, &status, sizeof(status))) in snd_hdspm_hwdep_ioctl() 6345 if (copy_to_user(argp, &hdspm_version, in snd_hdspm_hwdep_ioctl() 6351 if (copy_from_user(&mixer, argp, sizeof(mixer))) in snd_hdspm_hwdep_ioctl()
|
D | hdsp.c | 4681 void __user *argp = (void __user *)arg; in snd_hdsp_hwdep_ioctl() local 4767 if (copy_to_user(argp, &info, sizeof(info))) in snd_hdsp_hwdep_ioctl() 4777 if (copy_to_user(argp, &h9632_aeb, sizeof(h9632_aeb))) in snd_hdsp_hwdep_ioctl() 4793 if ((err = copy_to_user(argp, &hdsp_version, sizeof(hdsp_version)))) in snd_hdsp_hwdep_ioctl() 4811 firmware = (struct hdsp_firmware __user *)argp; in snd_hdsp_hwdep_ioctl() 4853 struct hdsp_mixer __user *mixer = (struct hdsp_mixer __user *)argp; in snd_hdsp_hwdep_ioctl()
|