Blame view

sound/usb/usx2y/us122l.h 540 Bytes
030a07e44   Karsten Wiese   ALSA: Add USB US1...
1
2
3
4
5
  #ifndef US122L_H
  #define US122L_H
  
  
  struct us122l {
a014bbadb   Clemens Ladisch   sound: usxxx: cle...
6
7
  	struct usb_device	*dev;
  	int			card_index;
030a07e44   Karsten Wiese   ALSA: Add USB US1...
8
9
10
11
12
13
14
15
  	int			stride;
  	struct usb_stream_kernel sk;
  
  	struct mutex		mutex;
  	struct file		*first;
  	unsigned		second_periods_polled;
  	struct file		*master;
  	struct file		*slave;
d82af9f9a   Clemens Ladisch   sound: usb: make ...
16
  	struct list_head	midi_list;
030a07e44   Karsten Wiese   ALSA: Add USB US1...
17
18
19
20
21
22
23
24
25
26
27
  
  	atomic_t		mmap_count;
  };
  
  
  #define US122L(c) ((struct us122l *)(c)->private_data)
  
  #define NAME_ALLCAPS "US-122L"
  
  #define USB_ID_US122L 0x800E
  #define USB_ID_US144 0x800F
2b6f6c0d1   Tobias Hansen   ALSA: snd-usb-us1...
28
29
  #define USB_ID_US122MKII 0x8021
  #define USB_ID_US144MKII 0x8020
030a07e44   Karsten Wiese   ALSA: Add USB US1...
30
31
  
  #endif