Searched refs:rfile (Results 1 – 2 of 2) sorted by relevance
/sound/core/ |
D | rawmidi_compat.c | 20 static int snd_rawmidi_ioctl_params_compat(struct snd_rawmidi_file *rfile, in snd_rawmidi_ioctl_params_compat() argument 35 if (!rfile->output) in snd_rawmidi_ioctl_params_compat() 37 return snd_rawmidi_output_params(rfile->output, ¶ms); in snd_rawmidi_ioctl_params_compat() 39 if (!rfile->input) in snd_rawmidi_ioctl_params_compat() 41 return snd_rawmidi_input_params(rfile->input, ¶ms); in snd_rawmidi_ioctl_params_compat() 56 static int snd_rawmidi_ioctl_status_compat64(struct snd_rawmidi_file *rfile, in snd_rawmidi_ioctl_status_compat64() argument 68 if (!rfile->output) in snd_rawmidi_ioctl_status_compat64() 70 err = snd_rawmidi_output_status(rfile->output, &status); in snd_rawmidi_ioctl_status_compat64() 73 if (!rfile->input) in snd_rawmidi_ioctl_status_compat64() 75 err = snd_rawmidi_input_status(rfile->input, &status); in snd_rawmidi_ioctl_status_compat64() [all …]
|
D | rawmidi.c | 330 struct snd_rawmidi_file *rfile) in rawmidi_open_priv() argument 335 rfile->input = rfile->output = NULL; in rawmidi_open_priv() 365 rfile->rmidi = rmidi; in rawmidi_open_priv() 366 rfile->input = sinput; in rawmidi_open_priv() 367 rfile->output = soutput; in rawmidi_open_priv() 373 int mode, struct snd_rawmidi_file *rfile) in snd_rawmidi_kernel_open() argument 378 if (snd_BUG_ON(!rfile)) in snd_rawmidi_kernel_open() 392 err = rawmidi_open_priv(rmidi, subdevice, mode, rfile); in snd_rawmidi_kernel_open() 536 static void rawmidi_release_priv(struct snd_rawmidi_file *rfile) in rawmidi_release_priv() argument 540 rmidi = rfile->rmidi; in rawmidi_release_priv() [all …]
|