Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
usb_ids.h File Reference

Go to the source code of this file.

Macros

#define GCT_VID   0x1076
 
#define GCT_PID1   0x7e00
 
#define GCT_PID2   0x7f00
 
#define USB_DEVICE_ID_MATCH_DEVICE_INTERFACE   (USB_DEVICE_ID_MATCH_DEVICE | USB_DEVICE_ID_MATCH_INT_CLASS)
 
#define USB_DEVICE_INTF(vend, prod, intf)
 
#define EMERGENCY_PID   0x720f
 
#define BL_PID_MASK   0xffc0
 
#define USB_DEVICE_BOOTLOADER(vid, pid)
 
#define USB_DEVICE_CDC_DATA(vid, pid)   {USB_DEVICE_INTF((vid), (pid), USB_CLASS_CDC_DATA)}
 

Macro Definition Documentation

#define BL_PID_MASK   0xffc0

Definition at line 32 of file usb_ids.h.

#define EMERGENCY_PID   0x720f

Definition at line 31 of file usb_ids.h.

#define GCT_PID1   0x7e00

Definition at line 21 of file usb_ids.h.

#define GCT_PID2   0x7f00

Definition at line 22 of file usb_ids.h.

#define GCT_VID   0x1076

Definition at line 18 of file usb_ids.h.

#define USB_DEVICE_BOOTLOADER (   vid,
  pid 
)
Value:
{USB_DEVICE((vid), ((pid)&BL_PID_MASK)|B_DOWNLOAD)}, \

Definition at line 34 of file usb_ids.h.

#define USB_DEVICE_CDC_DATA (   vid,
  pid 
)    {USB_DEVICE_INTF((vid), (pid), USB_CLASS_CDC_DATA)}

Definition at line 38 of file usb_ids.h.

#define USB_DEVICE_ID_MATCH_DEVICE_INTERFACE   (USB_DEVICE_ID_MATCH_DEVICE | USB_DEVICE_ID_MATCH_INT_CLASS)

Definition at line 24 of file usb_ids.h.

#define USB_DEVICE_INTF (   vend,
  prod,
  intf 
)
Value:
.idVendor = (vend), .idProduct = (prod), .bInterfaceClass = (intf)

Definition at line 27 of file usb_ids.h.