Go to the documentation of this file. 1 #ifndef __LINUX_USB_STORAGE_H
2 #define __LINUX_USB_STORAGE_H
17 #define USB_SC_RBC 0x01
18 #define USB_SC_8020 0x02
19 #define USB_SC_QIC 0x03
20 #define USB_SC_UFI 0x04
21 #define USB_SC_8070 0x05
22 #define USB_SC_SCSI 0x06
23 #define USB_SC_LOCKABLE 0x07
25 #define USB_SC_ISD200 0xf0
26 #define USB_SC_CYP_ATACB 0xf1
27 #define USB_SC_DEVICE 0xff
31 #define USB_PR_CBI 0x00
32 #define USB_PR_CB 0x01
33 #define USB_PR_BULK 0x50
34 #define USB_PR_UAS 0x62
36 #define USB_PR_USBAT 0x80
37 #define USB_PR_EUSB_SDDR09 0x81
38 #define USB_PR_SDDR55 0x82
39 #define USB_PR_DPCM_USB 0xf0
40 #define USB_PR_FREECOM 0xf1
41 #define USB_PR_DATAFAB 0xf2
42 #define USB_PR_JUMPSHOT 0xf3
43 #define USB_PR_ALAUDA 0xf4
44 #define USB_PR_KARMA 0xf5
46 #define USB_PR_DEVICE 0xff
63 #define US_BULK_CB_WRAP_LEN 31
64 #define US_BULK_CB_SIGN 0x43425355
65 #define US_BULK_FLAG_IN (1 << 7)
66 #define US_BULK_FLAG_OUT 0
76 #define US_BULK_CS_WRAP_LEN 13
77 #define US_BULK_CS_SIGN 0x53425355
78 #define US_BULK_STAT_OK 0
79 #define US_BULK_STAT_FAIL 1
80 #define US_BULK_STAT_PHASE 2
83 #define US_BULK_RESET_REQUEST 0xff
84 #define US_BULK_GET_MAX_LUN 0xfe