v_midi.h 320 B

12345678910111213141516
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. typedef struct vmidi_devc {
  3. int dev;
  4. /* State variables */
  5. int opened;
  6. spinlock_t lock;
  7. /* MIDI fields */
  8. int my_mididev;
  9. int pair_mididev;
  10. int input_opened;
  11. int intr_active;
  12. void (*midi_input_intr) (int dev, unsigned char data);
  13. } vmidi_devc;