chip.h 848 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Linux driver for TerraTec DMX 6Fire USB
  3. *
  4. * Author: Torsten Schenk <torsten.schenk@zoho.com>
  5. * Created: Jan 01, 2011
  6. * Version: 0.3.0
  7. * Copyright: (C) Torsten Schenk
  8. *
  9. * This program is free software; you can redistribute it and/or modify
  10. * it under the terms of the GNU General Public License as published by
  11. * the Free Software Foundation; either version 2 of the License, or
  12. * (at your option) any later version.
  13. */
  14. #ifndef USB6FIRE_CHIP_H
  15. #define USB6FIRE_CHIP_H
  16. #include "common.h"
  17. struct sfire_chip {
  18. struct usb_device *dev;
  19. struct snd_card *card;
  20. int intf_count; /* number of registered interfaces */
  21. int regidx; /* index in module parameter arrays */
  22. bool shutdown;
  23. struct midi_runtime *midi;
  24. struct pcm_runtime *pcm;
  25. struct control_runtime *control;
  26. struct comm_runtime *comm;
  27. };
  28. #endif /* USB6FIRE_CHIP_H */