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