Searched refs:rfile (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/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 | 384 struct snd_rawmidi_file *rfile) in rawmidi_open_priv() argument 389 rfile->input = rfile->output = NULL; in rawmidi_open_priv() 419 rfile->rmidi = rmidi; in rawmidi_open_priv() 420 rfile->input = sinput; in rawmidi_open_priv() 421 rfile->output = soutput; in rawmidi_open_priv() 427 int mode, struct snd_rawmidi_file *rfile) in snd_rawmidi_kernel_open() argument 431 if (snd_BUG_ON(!rfile)) in snd_rawmidi_kernel_open() 437 err = rawmidi_open_priv(rmidi, subdevice, mode, rfile); in snd_rawmidi_kernel_open() 584 static void rawmidi_release_priv(struct snd_rawmidi_file *rfile) in rawmidi_release_priv() argument 588 rmidi = rfile->rmidi; in rawmidi_release_priv() [all …]
|
/linux-6.6.21/include/sound/ |
D | rawmidi.h | 178 int mode, struct snd_rawmidi_file *rfile); 179 int snd_rawmidi_kernel_release(struct snd_rawmidi_file *rfile);
|