Searched refs:rfile (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/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 | 367 struct snd_rawmidi_file *rfile) in rawmidi_open_priv() argument 372 rfile->input = rfile->output = NULL; in rawmidi_open_priv() 402 rfile->rmidi = rmidi; in rawmidi_open_priv() 403 rfile->input = sinput; in rawmidi_open_priv() 404 rfile->output = soutput; in rawmidi_open_priv() 410 int mode, struct snd_rawmidi_file *rfile) in snd_rawmidi_kernel_open() argument 415 if (snd_BUG_ON(!rfile)) in snd_rawmidi_kernel_open() 429 err = rawmidi_open_priv(rmidi, subdevice, mode, rfile); in snd_rawmidi_kernel_open() 576 static void rawmidi_release_priv(struct snd_rawmidi_file *rfile) in rawmidi_release_priv() argument 580 rmidi = rfile->rmidi; in rawmidi_release_priv() [all …]
|
/linux-6.1.9/include/sound/ |
D | rawmidi.h | 165 int mode, struct snd_rawmidi_file *rfile); 166 int snd_rawmidi_kernel_release(struct snd_rawmidi_file *rfile);
|