Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define EFI_USB_GET_IDLE_REQUEST 0x02 |
Referenced by UsbGetIdleRequest().
#define EFI_USB_GET_PROTOCOL_REQUEST 0x03 |
Referenced by UsbGetProtocolRequest().
#define EFI_USB_GET_REPORT_REQUEST 0x01 |
Referenced by UsbGetReportRequest().
#define EFI_USB_SET_IDLE_REQUEST 0x0a |
Referenced by UsbSetIdleRequest().
#define EFI_USB_SET_PROTOCOL_REQUEST 0x0b |
Referenced by UsbSetProtocolRequest().
#define EFI_USB_SET_REPORT_REQUEST 0x09 |
Referenced by UsbSetReportRequest().
#define HID_COLLECTION_APPLICATION 1 |
#define HID_COLLECTION_LOGICAL 2 |
#define HID_COLLECTION_PHYSICAL 0 |
#define HID_FEATURE_REPORT 3 |
#define HID_GLOBAL_ITEM_TAG_LOGICAL_MAXIMUM 2 |
#define HID_GLOBAL_ITEM_TAG_LOGICAL_MINIMUM 1 |
#define HID_GLOBAL_ITEM_TAG_PHYSICAL_MAXIMUM 4 |
#define HID_GLOBAL_ITEM_TAG_PHYSICAL_MINIMUM 3 |
#define HID_GLOBAL_ITEM_TAG_POP 11 |
#define HID_GLOBAL_ITEM_TAG_PUSH 10 |
#define HID_GLOBAL_ITEM_TAG_REPORT_COUNT 9 |
#define HID_GLOBAL_ITEM_TAG_REPORT_ID 8 |
#define HID_GLOBAL_ITEM_TAG_REPORT_SIZE 7 |
#define HID_GLOBAL_ITEM_TAG_UNIT 6 |
#define HID_GLOBAL_ITEM_TAG_UNIT_EXPONENT 5 |
#define HID_GLOBAL_ITEM_TAG_USAGE_PAGE 0 |
#define HID_INPUT_REPORT 1 |
#define HID_ITEM_FORMAT_LONG 1 |
#define HID_ITEM_FORMAT_SHORT 0 |
#define HID_ITEM_TAG_LONG 15 |
#define HID_ITEM_TYPE_GLOBAL 1 |
#define HID_ITEM_TYPE_LOCAL 2 |
#define HID_ITEM_TYPE_MAIN 0 |
#define HID_ITEM_TYPE_RESERVED 3 |
#define HID_LOCAL_ITEM_TAG_DELIMITER 10 |
#define HID_LOCAL_ITEM_TAG_DESIGNATOR_INDEX 3 |
#define HID_LOCAL_ITEM_TAG_DESIGNATOR_MAXIMUM 5 |
#define HID_LOCAL_ITEM_TAG_DESIGNATOR_MINIMUM 4 |
#define HID_LOCAL_ITEM_TAG_STRING_INDEX 7 |
#define HID_LOCAL_ITEM_TAG_STRING_MAXIMUM 9 |
#define HID_LOCAL_ITEM_TAG_STRING_MINIMUM 8 |
#define HID_LOCAL_ITEM_TAG_USAGE 0 |
#define HID_LOCAL_ITEM_TAG_USAGE_MAXIMUM 2 |
#define HID_LOCAL_ITEM_TAG_USAGE_MINIMUM 1 |
#define HID_MAIN_ITEM_BUFFERED_BYTE 0x100 |
#define HID_MAIN_ITEM_CONSTANT 0x001 |
#define HID_MAIN_ITEM_NO_PREFERRED 0x020 |
#define HID_MAIN_ITEM_NONLINEAR 0x010 |
#define HID_MAIN_ITEM_NULL_STATE 0x040 |
#define HID_MAIN_ITEM_RELATIVE 0x004 |
#define HID_MAIN_ITEM_TAG_BEGIN_COLLECTION 10 |
#define HID_MAIN_ITEM_TAG_END_COLLECTION 12 |
#define HID_MAIN_ITEM_TAG_FEATURE 11 |
#define HID_MAIN_ITEM_TAG_INPUT 8 |
#define HID_MAIN_ITEM_TAG_OUTPUT 9 |
#define HID_MAIN_ITEM_VARIABLE 0x002 |
#define HID_MAIN_ITEM_VOLATILE 0x080 |
#define HID_MAIN_ITEM_WRAP 0x008 |
#define HID_OUTPUT_REPORT 2 |
#define USB_DEV_CLEAR_FEATURE 0x01 |
#define USB_DEV_CLEAR_FEATURE_REQ_TYPE_D 0x00 |
Referenced by UsbClearFeature().
#define USB_DEV_CLEAR_FEATURE_REQ_TYPE_E 0x02 |
Referenced by UsbClearFeature().
#define USB_DEV_CLEAR_FEATURE_REQ_TYPE_I 0x01 |
Referenced by UsbClearFeature().
#define USB_DEV_GET_CONFIGURATION 0x08 |
#define USB_DEV_GET_CONFIGURATION_REQ_TYPE 0x80 |
Referenced by UsbGetConfiguration().
#define USB_DEV_GET_DESCRIPTOR 0x06 |
#define USB_DEV_GET_DESCRIPTOR_REQ_TYPE 0x80 |
Referenced by UsbGetDescriptor().
#define USB_DEV_GET_INTERFACE 0x0A |
#define USB_DEV_GET_INTERFACE_REQ_TYPE 0x81 |
Referenced by UsbGetInterface().
#define USB_DEV_GET_STATUS 0x00 |
#define USB_DEV_GET_STATUS_REQ_TYPE_D 0x80 |
Referenced by UsbGetStatus().
#define USB_DEV_GET_STATUS_REQ_TYPE_E 0x82 |
Referenced by UsbGetStatus().
#define USB_DEV_GET_STATUS_REQ_TYPE_I 0x81 |
Referenced by UsbGetStatus().
#define USB_DEV_SET_ADDRESS 0x05 |
#define USB_DEV_SET_ADDRESS_REQ_TYPE 0x00 |
#define USB_DEV_SET_CONFIGURATION 0x09 |
#define USB_DEV_SET_CONFIGURATION_REQ_TYPE 0x00 |
Referenced by UsbSetConfiguration().
#define USB_DEV_SET_DESCRIPTOR 0x07 |
#define USB_DEV_SET_DESCRIPTOR_REQ_TYPE 0x00 |
Referenced by UsbSetDescriptor().
#define USB_DEV_SET_FEATURE 0x03 |
#define USB_DEV_SET_FEATURE_REQ_TYPE_D 0x00 |
Referenced by UsbSetFeature().
#define USB_DEV_SET_FEATURE_REQ_TYPE_E 0x02 |
Referenced by UsbSetFeature().
#define USB_DEV_SET_FEATURE_REQ_TYPE_I 0x01 |
Referenced by UsbSetFeature().
#define USB_DEV_SET_INTERFACE 0x0B |
#define USB_DEV_SET_INTERFACE_REQ_TYPE 0x01 |
Referenced by UsbSetInterface().
#define USB_DEV_SYNCH_FRAME 0x0C |
#define USB_DEV_SYNCH_FRAME_REQ_TYPE 0x82 |
#define USB_HID_CLASS_GET_REQ_TYPE 0xa1 |
Referenced by UsbGetIdleRequest(), UsbGetProtocolRequest(), and UsbGetReportRequest().
#define USB_HID_CLASS_SET_REQ_TYPE 0x21 |
Referenced by UsbSetIdleRequest(), UsbSetProtocolRequest(), and UsbSetReportRequest().
#define USB_HID_GET_DESCRIPTOR_REQ_TYPE 0x81 |
Referenced by UsbGetHidDescriptor(), and UsbGetReportDescriptor().
#define USB_MASS_STORE_8020I 0x02 |
SFF-8020i, typically a CD/DVD device.
#define USB_MASS_STORE_8070I 0x05 |
SFF-8070i, typically a floppy disk driver device.
#define USB_MASS_STORE_BOT 0x50 |
Bulk-Only Transport.
#define USB_MASS_STORE_CBI0 0x00 |
CBI protocol with command completion interrupt.
#define USB_MASS_STORE_CBI1 0x01 |
CBI protocol without command completion interrupt.
#define USB_MASS_STORE_CLASS 0x08 |
#define USB_MASS_STORE_QIC 0x03 |
Typically a tape device.
#define USB_MASS_STORE_RBC 0x01 |
Reduced Block Commands.
#define USB_MASS_STORE_SCSI 0x06 |
SCSI transparent command set.
#define USB_MASS_STORE_UFI 0x04 |
Typically a floppy disk driver device.
typedef struct hid_class_descriptor EFI_USB_HID_CLASS_DESCRIPTOR |
Descriptor header for Report/Physical Descriptors HID 1.1, section 6.2.1
typedef struct hid_descriptor EFI_USB_HID_DESCRIPTOR |
The HID descriptor identifies the length and type of subordinate descriptors for a device. HID 1.1, section 6.2.1
enum USB_TYPES_DEFINITION |