Lines Matching defs:snd_rawmidi_runtime
52 struct snd_rawmidi_runtime { struct
53 struct snd_rawmidi_substream *substream;
54 unsigned int drain: 1, /* drain stage */
55 oss: 1; /* OSS compatible mode */
57 unsigned char *buffer; /* buffer for MIDI data */
58 size_t buffer_size; /* size of buffer */
59 size_t appl_ptr; /* application pointer */
60 size_t hw_ptr; /* hardware pointer */
61 size_t avail_min; /* min avail for wakeup */
62 size_t avail; /* max used buffer for wakeup */
63 size_t xruns; /* over/underruns counter */
64 int buffer_ref; /* buffer reference count */
66 spinlock_t lock;
67 wait_queue_head_t sleep;
91 struct snd_rawmidi_runtime *runtime; argument