summaryrefslogtreecommitdiffstats
path: root/sound/usb/usx2y/us122l.h
blob: 61ce5d7de0b99d093d806f0f0f0f8b40e9bd63a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef US122L_H
#define US122L_H


struct us122l {
	struct snd_usb_audio 	chip;
	int			stride;
	struct usb_stream_kernel sk;

	struct mutex		mutex;
	struct file		*first;
	unsigned		second_periods_polled;
	struct file		*master;
	struct file		*slave;
	struct list_head	midi_list;

	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

#endif
OpenPOWER on IntegriCloud