1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Driver for Tascam US-X2Y USB soundcards
5 * Copyright (c) 2003 by Karsten Wiese <annabellesgarden@yahoo.de>
8 #ifndef __SOUND_USX2Y_COMMON_H
9 #define __SOUND_USX2Y_COMMON_H
12 #define USX2Y_DRIVER_VERSION 0x0100 /* 0.1.0 */
16 #define SND_USX2Y_LOADER_ID "USX2Y Loader"
17 #define SND_USX2Y_USBPCM_ID "USX2Y USBPCM"
27 #define USB_ID_US122 0x8007
28 #define USB_ID_US224 0x8005
29 #define USB_ID_US428 0x8001
33 USX2Y_STAT_CHIP_INIT = (1 << 0), /* all operational */
34 USX2Y_STAT_CHIP_MMAP_PCM_URBS = (1 << 1), /* pcm transport over mmaped urbs */
35 USX2Y_STAT_CHIP_HUP = (1 << 31), /* all operational */
38 #endif /* __SOUND_USX2Y_COMMON_H */