Changeset 772 for GPL/trunk/alsa-kernel/include/sound/rawmidi.h
- Timestamp:
- Apr 19, 2025, 8:08:37 PM (4 months ago)
- Location:
- GPL/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk
- Property svn:mergeinfo changed
/GPL/branches/uniaud32-6.6-LTS (added) merged: 765,768-769 /GPL/branches/uniaud32-exp (added) merged: 735-741,743-744,748-751,753-760,762-764 /GPL/branches/uniaud32-next merged: 718-734
- Property svn:mergeinfo changed
-
GPL/trunk/alsa-kernel/include/sound/rawmidi.h
r717 r772 19 19 #include <sound/seq_device.h> 20 20 #endif 21 #include <sound/info.h> 21 22 22 23 /* … … 48 49 void (*get_port_info)(struct snd_rawmidi *rmidi, int number, 49 50 struct snd_seq_port_info *info); 51 long (*ioctl)(struct snd_rawmidi *rmidi, unsigned int cmd, 52 void __user *argp); 53 void (*proc_read)(struct snd_info_entry *entry, 54 struct snd_info_buffer *buf); 50 55 }; 51 56 … … 62 67 size_t avail; /* max used buffer for wakeup */ 63 68 size_t xruns; /* over/underruns counter */ 69 size_t align; /* alignment (0 = byte stream, 3 = UMP) */ 64 70 int buffer_ref; /* buffer reference count */ 65 71 /* misc */ 66 spinlock_t lock;67 72 wait_queue_head_t sleep; 68 73 /* event handler (new bytes, input only) */ … … 86 91 int use_count; /* use counter (for output) */ 87 92 size_t bytes; 93 spinlock_t lock; 88 94 struct snd_rawmidi *rmidi; 89 95 struct snd_rawmidi_str *pstr; … … 130 136 wait_queue_head_t open_wait; 131 137 132 struct device dev;138 struct device *dev; 133 139 134 140 struct snd_info_entry *proc_entry; … … 147 153 const struct snd_rawmidi_ops *ops); 148 154 155 /* internal */ 156 int snd_rawmidi_init(struct snd_rawmidi *rmidi, 157 struct snd_card *card, char *id, int device, 158 int output_count, int input_count, 159 unsigned int info_flags); 160 int snd_rawmidi_free(struct snd_rawmidi *rmidi); 161 149 162 /* callbacks */ 150 163 … … 157 170 int snd_rawmidi_transmit(struct snd_rawmidi_substream *substream, 158 171 unsigned char *buffer, int count); 159 int __snd_rawmidi_transmit_peek(struct snd_rawmidi_substream *substream,160 unsigned char *buffer, int count);161 int __snd_rawmidi_transmit_ack(struct snd_rawmidi_substream *substream,162 int count);163 172 int snd_rawmidi_proceed(struct snd_rawmidi_substream *substream); 164 173 … … 166 175 167 176 int snd_rawmidi_info_select(struct snd_card *card, struct snd_rawmidi_info *info); 168 int snd_rawmidi_kernel_open(struct snd_ card *card, int device, int subdevice,177 int snd_rawmidi_kernel_open(struct snd_rawmidi *rmidi, int subdevice, 169 178 int mode, struct snd_rawmidi_file *rfile); 170 179 int snd_rawmidi_kernel_release(struct snd_rawmidi_file *rfile);
Note:
See TracChangeset
for help on using the changeset viewer.