Debian Codegraph @

spectro/UsbDkHlprCompat.h

raw symbols SCIP
1 /**********************************************************************
2 * Copyright (c) 2013-2014 Red Hat, Inc.
3 *
4 * Developed by Daynix Computing LTD.
5 *
6 * Authors:
7 * Dmitry Fleytman <[email protected]>
8 * Pavel Gurvich <[email protected]>
9 *
10 * Licensed under the Apache License, Version 2.0 (the "License");
11 * you may not use this file except in compliance with the License.
12 * You may obtain a copy of the License at
13 *
14 * http://www.apache.org/licenses/LICENSE-2.0
15 *
16 * Unless required by applicable law or agreed to in writing, software
17 * distributed under the License is distributed on an "AS IS" BASIS,
18 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 * See the License for the specific language governing permissions and
20 * limitations under the License.
21 *
22 **********************************************************************/
23
24 #pragma once
25
26 #include <PSHPACK1.H>
27
28 typedef struct _USB_CONFIGURATION_DESCRIPTOR {
29 UCHAR bLength;
30 UCHAR bDescriptorType;
31 USHORT wTotalLength;
32 UCHAR bNumInterfaces;
33 UCHAR bConfigurationValue;
34 UCHAR iConfiguration;
35 UCHAR bmAttributes;
36 UCHAR MaxPower;
37 } USB_CONFIGURATION_DESCRIPTOR, *PUSB_CONFIGURATION_DESCRIPTOR;
38
39 typedef struct _USB_DEVICE_DESCRIPTOR {
40 UCHAR bLength;
41 UCHAR bDescriptorType;
42 USHORT bcdUSB;
43 UCHAR bDeviceClass;
44 UCHAR bDeviceSubClass;
45 UCHAR bDeviceProtocol;
46 UCHAR bMaxPacketSize0;
47 USHORT idVendor;
48 USHORT idProduct;
49 USHORT bcdDevice;
50 UCHAR iManufacturer;
51 UCHAR iProduct;
52 UCHAR iSerialNumber;
53 UCHAR bNumConfigurations;
54 } USB_DEVICE_DESCRIPTOR, *PUSB_DEVICE_DESCRIPTOR;
55
56 #include <POPPACK.H>
57
58 /* 3ABF6F2D-71C4-462a-8A92-1E6861E6AF27 */
59 DEFINE_GUID(GUID_DEVINTERFACE_USB_HOST_CONTROLLER, 0x3abf6f2d, 0x71c4, 0x462a, 0x8a, 0x92, 0x1e, \
60 0x68, 0x61, 0xe6, 0xaf, 0x27);
61
62 #ifndef MAX_DEVICE_ID_LEN
63 # define MAX_DEVICE_ID_LEN 200
64 #endif