chip.h 830 B

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