^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0-or-later */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * Linux driver for TerraTec DMX 6Fire USB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) * Author: Torsten Schenk <torsten.schenk@zoho.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) * Created: Jan 01, 2011
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) * Copyright: (C) Torsten Schenk
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) #ifndef USB6FIRE_CHIP_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #define USB6FIRE_CHIP_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #include "common.h"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) struct sfire_chip {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) struct usb_device *dev;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) struct snd_card *card;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) int intf_count; /* number of registered interfaces */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) int regidx; /* index in module parameter arrays */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) bool shutdown;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) struct midi_runtime *midi;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) struct pcm_runtime *pcm;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) struct control_runtime *control;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) struct comm_runtime *comm;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) #endif /* USB6FIRE_CHIP_H */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)