Lines Matching +full:per +full:- +full:port
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * 32bit -> 64bit ioctl wrapper for sequencer API
13 struct snd_seq_addr addr; /* client/port numbers */
14 char name[64]; /* port name */
16 u32 capability; /* port capability bits */
17 u32 type; /* port type bits */
18 s32 midi_channels; /* channels per MIDI port */
19 s32 midi_voices; /* voices per MIDI port */
20 s32 synth_voices; /* voices per SYNTH port */
22 s32 read_use; /* R/O: subscribers for output (from this port) */
23 s32 write_use; /* R/O: subscribers for input (to this port) */
39 return -ENOMEM; in snd_seq_call_port_info_ioctl()
42 get_user(data->flags, &data32->flags) || in snd_seq_call_port_info_ioctl()
43 get_user(data->time_queue, &data32->time_queue)) in snd_seq_call_port_info_ioctl()
44 return -EFAULT; in snd_seq_call_port_info_ioctl()
45 data->kernel = NULL; in snd_seq_call_port_info_ioctl()
47 err = snd_seq_kernel_client_ctl(client->number, cmd, data); in snd_seq_call_port_info_ioctl()
52 put_user(data->flags, &data32->flags) || in snd_seq_call_port_info_ioctl()
53 put_user(data->time_queue, &data32->time_queue)) in snd_seq_call_port_info_ioctl()
54 return -EFAULT; in snd_seq_call_port_info_ioctl()
74 struct snd_seq_client *client = file->private_data; in snd_seq_ioctl_compat()
78 return -ENXIO; in snd_seq_ioctl_compat()
122 return -ENOIOCTLCMD; in snd_seq_ioctl_compat()