亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? usbdescriptors.h

?? OMAP1510的USB驅(qū)動程序
?? H
字號:
/* * (C) Copyright 2003 * Gerry Hamel, geh@ti.com, Texas Instruments * * Based on * linux/drivers/usbd/usb-function.h - USB Function * * Copyright (c) 2000, 2001, 2002 Lineo * Copyright (c) 2001 Hewlett Packard * * By: *	Stuart Lynne <sl@lineo.com>, *	Tom Rushworth <tbr@lineo.com>, *	Bruce Balden <balden@lineo.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * *//* USB Descriptors - Create a complete description of all of the * function driver capabilities. These map directly to the USB descriptors. * * This heirarchy is created by the functions drivers and is passed to the * usb-device driver when the function driver is registered. * *  device *	configuration *	     interface *		alternate *		     class *		     class *		alternate *		     endpoint *		     endpoint *	     interface *		alternate *		     endpoint *		     endpoint *	configuration *	     interface *		alternate *		     endpoint *		     endpoint * * * The configuration structures refer to the USB Configurations that will be * made available to a USB HOST during the enumeration process. * * The USB HOST will select a configuration and optionally an interface with * the usb set configuration and set interface commands. * * The selected interface (or the default interface if not specifically * selected) will define the list of endpoints that will be used. * * The configuration and interfaces are stored in an array that is indexed * by the specified configuratin or interface number minus one. * * A configuration number of zero is used to specify a return to the unconfigured * state. * */#ifndef __USBDESCRIPTORS_H__#define __USBDESCRIPTORS_H__#include <asm/types.h>/* * communications class types * * c.f. CDC  USB Class Definitions for Communications Devices * c.f. WMCD USB CDC Subclass Specification for Wireless Mobile Communications Devices * */#define CLASS_BCD_VERSION		0x0110/* c.f. CDC 4.1 Table 14 */#define COMMUNICATIONS_DEVICE_CLASS	0x02/* c.f. CDC 4.2 Table 15 */#define COMMUNICATIONS_INTERFACE_CLASS	0x02/* c.f. CDC 4.3 Table 16 */#define COMMUNICATIONS_NO_SUBCLASS	0x00#define COMMUNICATIONS_DLCM_SUBCLASS	0x01#define COMMUNICATIONS_ACM_SUBCLASS	0x02#define COMMUNICATIONS_TCM_SUBCLASS	0x03#define COMMUNICATIONS_MCCM_SUBCLASS	0x04#define COMMUNICATIONS_CCM_SUBCLASS	0x05#define COMMUNICATIONS_ENCM_SUBCLASS	0x06#define COMMUNICATIONS_ANCM_SUBCLASS	0x07/* c.f. WMCD 5.1 */#define COMMUNICATIONS_WHCM_SUBCLASS	0x08#define COMMUNICATIONS_DMM_SUBCLASS	0x09#define COMMUNICATIONS_MDLM_SUBCLASS	0x0a#define COMMUNICATIONS_OBEX_SUBCLASS	0x0b/* c.f. CDC 4.6 Table 18 */#define DATA_INTERFACE_CLASS		0x0a/* c.f. CDC 4.7 Table 19 */#define COMMUNICATIONS_NO_PROTOCOL	0x00/* c.f. CDC 5.2.3 Table 24 */#define CS_INTERFACE			0x24#define CS_ENDPOINT			0x25/* * bDescriptorSubtypes * * c.f. CDC 5.2.3 Table 25 * c.f. WMCD 5.3 Table 5.3 */#define USB_ST_HEADER			0x00#define USB_ST_CMF			0x01#define USB_ST_ACMF			0x02#define USB_ST_DLMF			0x03#define USB_ST_TRF			0x04#define USB_ST_TCLF			0x05#define USB_ST_UF			0x06#define USB_ST_CSF			0x07#define USB_ST_TOMF			0x08#define USB_ST_USBTF			0x09#define USB_ST_NCT			0x0a#define USB_ST_PUF			0x0b#define USB_ST_EUF			0x0c#define USB_ST_MCMF			0x0d#define USB_ST_CCMF			0x0e#define USB_ST_ENF			0x0f#define USB_ST_ATMNF			0x10#define USB_ST_WHCM			0x11#define USB_ST_MDLM			0x12#define USB_ST_MDLMD			0x13#define USB_ST_DMM			0x14#define USB_ST_OBEX			0x15#define USB_ST_CS			0x16#define USB_ST_CSD			0x17#define USB_ST_TCM			0x18/* endpoint modifiers * static struct usb_endpoint_description function_default_A_1[] = { * *     {this_endpoint: 0, attributes: CONTROL,	 max_size: 8,  polling_interval: 0 }, *     {this_endpoint: 1, attributes: BULK,	 max_size: 64, polling_interval: 0, direction: IN}, *     {this_endpoint: 2, attributes: BULK,	 max_size: 64, polling_interval: 0, direction: OUT}, *     {this_endpoint: 3, attributes: INTERRUPT, max_size: 8,  polling_interval: 0}, * * */#define OUT		0x00#define IN		0x80#define CONTROL		0x00#define ISOCHRONOUS	0x01#define BULK		0x02#define INTERRUPT	0x03/* configuration modifiers */#define BMATTRIBUTE_RESERVED		0x80#define BMATTRIBUTE_SELF_POWERED	0x40/* * standard usb descriptor structures */struct usb_endpoint_descriptor {	u8 bLength;	u8 bDescriptorType;	/* 0x5 */	u8 bEndpointAddress;	u8 bmAttributes;	u16 wMaxPacketSize;	u8 bInterval;} __attribute__ ((packed));struct usb_interface_descriptor {	u8 bLength;	u8 bDescriptorType;	/* 0x04 */	u8 bInterfaceNumber;	u8 bAlternateSetting;	u8 bNumEndpoints;	u8 bInterfaceClass;	u8 bInterfaceSubClass;	u8 bInterfaceProtocol;	u8 iInterface;} __attribute__ ((packed));struct usb_configuration_descriptor {	u8 bLength;	u8 bDescriptorType;	/* 0x2 */	u16 wTotalLength;	u8 bNumInterfaces;	u8 bConfigurationValue;	u8 iConfiguration;	u8 bmAttributes;	u8 bMaxPower;} __attribute__ ((packed));struct usb_device_descriptor {	u8 bLength;	u8 bDescriptorType;	/* 0x01 */	u16 bcdUSB;	u8 bDeviceClass;	u8 bDeviceSubClass;	u8 bDeviceProtocol;	u8 bMaxPacketSize0;	u16 idVendor;	u16 idProduct;	u16 bcdDevice;	u8 iManufacturer;	u8 iProduct;	u8 iSerialNumber;	u8 bNumConfigurations;} __attribute__ ((packed));struct usb_string_descriptor {	u8 bLength;	u8 bDescriptorType;	/* 0x03 */	u16 wData[0];} __attribute__ ((packed));struct usb_generic_descriptor {	u8 bLength;	u8 bDescriptorType;	u8 bDescriptorSubtype;} __attribute__ ((packed));/* * communications class descriptor structures * * c.f. CDC 5.2 Table 25c */struct usb_class_function_descriptor {	u8 bFunctionLength;	u8 bDescriptorType;	u8 bDescriptorSubtype;} __attribute__ ((packed));struct usb_class_function_descriptor_generic {	u8 bFunctionLength;	u8 bDescriptorType;	u8 bDescriptorSubtype;	u8 bmCapabilities;} __attribute__ ((packed));struct usb_class_header_function_descriptor {	u8 bFunctionLength;	u8 bDescriptorType;	u8 bDescriptorSubtype;	/* 0x00 */	u16 bcdCDC;} __attribute__ ((packed));struct usb_class_call_management_descriptor {	u8 bFunctionLength;	u8 bDescriptorType;	u8 bDescriptorSubtype;	/* 0x01 */	u8 bmCapabilities;	u8 bDataInterface;} __attribute__ ((packed));struct usb_class_abstract_control_descriptor {	u8 bFunctionLength;	u8 bDescriptorType;	u8 bDescriptorSubtype;	/* 0x02 */	u8 bmCapabilities;} __attribute__ ((packed));struct usb_class_direct_line_descriptor {	u8 bFunctionLength;	u8 bDescriptorType;	u8 bDescriptorSubtype;	/* 0x03 */} __attribute__ ((packed));struct usb_class_telephone_ringer_descriptor {	u8 bFunctionLength;	u8 bDescriptorType;	u8 bDescriptorSubtype;	/* 0x04 */	u8 bRingerVolSeps;	u8 bNumRingerPatterns;} __attribute__ ((packed));struct usb_class_telephone_call_descriptor {	u8 bFunctionLength;	u8 bDescriptorType;	u8 bDescriptorSubtype;	/* 0x05 */	u8 bmCapabilities;} __attribute__ ((packed));struct usb_class_union_function_descriptor {	u8 bFunctionLength;	u8 bDescriptorType;	u8 bDescriptorSubtype;	/* 0x06 */	u8 bMasterInterface;	u8 bSlaveInterface0[0];} __attribute__ ((packed));struct usb_class_country_selection_descriptor {	u8 bFunctionLength;	u8 bDescriptorType;	u8 bDescriptorSubtype;	/* 0x07 */	u8 iCountryCodeRelDate;	u16 wCountryCode0[0];} __attribute__ ((packed));struct usb_class_telephone_operational_descriptor {	u8 bFunctionLength;	u8 bDescriptorType;	u8 bDescriptorSubtype;	/* 0x08 */	u8 bmCapabilities;} __attribute__ ((packed));struct usb_class_usb_terminal_descriptor {	u8 bFunctionLength;	u8 bDescriptorType;	u8 bDescriptorSubtype;	/* 0x09 */	u8 bEntityId;	u8 bInterfaceNo;	u8 bOutInterfaceNo;	u8 bmOptions;	u8 bChild0[0];} __attribute__ ((packed));struct usb_class_network_channel_descriptor {	u8 bFunctionLength;	u8 bDescriptorType;	u8 bDescriptorSubtype;	/* 0x0a */	u8 bEntityId;	u8 iName;	u8 bChannelIndex;	u8 bPhysicalInterface;} __attribute__ ((packed));struct usb_class_protocol_unit_function_descriptor {	u8 bFunctionLength;	u8 bDescriptorType;	u8 bDescriptorSubtype;	/* 0x0b */	u8 bEntityId;	u8 bProtocol;	u8 bChild0[0];} __attribute__ ((packed));struct usb_class_extension_unit_descriptor {	u8 bFunctionLength;	u8 bDescriptorType;	u8 bDescriptorSubtype;	/* 0x0c */	u8 bEntityId;	u8 bExtensionCode;	u8 iName;	u8 bChild0[0];} __attribute__ ((packed));struct usb_class_multi_channel_descriptor {	u8 bFunctionLength;	u8 bDescriptorType;	u8 bDescriptorSubtype;	/* 0x0d */	u8 bmCapabilities;} __attribute__ ((packed));struct usb_class_capi_control_descriptor {	u8 bFunctionLength;	u8 bDescriptorType;	u8 bDescriptorSubtype;	/* 0x0e */	u8 bmCapabilities;} __attribute__ ((packed));struct usb_class_ethernet_networking_descriptor {	u8 bFunctionLength;	u8 bDescriptorType;	u8 bDescriptorSubtype;	/* 0x0f */	u8 iMACAddress;	u32 bmEthernetStatistics;	u16 wMaxSegmentSize;	u16 wNumberMCFilters;	u8 bNumberPowerFilters;} __attribute__ ((packed));struct usb_class_atm_networking_descriptor {	u8 bFunctionLength;	u8 bDescriptorType;	u8 bDescriptorSubtype;	/* 0x10 */	u8 iEndSystermIdentifier;	u8 bmDataCapabilities;	u8 bmATMDeviceStatistics;	u16 wType2MaxSegmentSize;	u16 wType3MaxSegmentSize;	u16 wMaxVC;} __attribute__ ((packed));struct usb_class_mdlm_descriptor {	u8 bFunctionLength;	u8 bDescriptorType;	u8 bDescriptorSubtype;	/* 0x12 */	u16 bcdVersion;	u8 bGUID[16];} __attribute__ ((packed));struct usb_class_mdlmd_descriptor {	u8 bFunctionLength;	u8 bDescriptorType;	u8 bDescriptorSubtype;	/* 0x13 */	u8 bGuidDescriptorType;	u8 bDetailData[0];} __attribute__ ((packed));/* * HID class descriptor structures * * c.f. HID 6.2.1 */struct usb_class_hid_descriptor {    u8	      bLength;    u8	      bDescriptorType;    u16	      bcdCDC;    u8	      bCountryCode;    u8	      bNumDescriptors;	/* 0x01 */    u8	      bDescriptorType0;    u16	      wDescriptorLength0;    /* optional descriptors are not supported. */} __attribute__((packed));struct usb_class_report_descriptor {    u8	      bLength;	/* dummy */    u8	      bDescriptorType;    u16	      wLength;    u8		bData[0];} __attribute__((packed));/* * descriptor union structures */struct usb_descriptor {	union {		struct usb_generic_descriptor generic;		struct usb_endpoint_descriptor endpoint;		struct usb_interface_descriptor interface;		struct usb_configuration_descriptor configuration;		struct usb_device_descriptor device;		struct usb_string_descriptor string;	} descriptor;} __attribute__ ((packed));struct usb_class_descriptor {	union {		struct usb_class_function_descriptor function;		struct usb_class_function_descriptor_generic generic;		struct usb_class_header_function_descriptor header_function;		struct usb_class_call_management_descriptor call_management;		struct usb_class_abstract_control_descriptor abstract_control;		struct usb_class_direct_line_descriptor direct_line;		struct usb_class_telephone_ringer_descriptor telephone_ringer;		struct usb_class_telephone_operational_descriptor telephone_operational;		struct usb_class_telephone_call_descriptor telephone_call;		struct usb_class_union_function_descriptor union_function;		struct usb_class_country_selection_descriptor country_selection;		struct usb_class_usb_terminal_descriptor usb_terminal;		struct usb_class_network_channel_descriptor network_channel;		struct usb_class_extension_unit_descriptor extension_unit;		struct usb_class_multi_channel_descriptor multi_channel;		struct usb_class_capi_control_descriptor capi_control;		struct usb_class_ethernet_networking_descriptor ethernet_networking;		struct usb_class_atm_networking_descriptor atm_networking;		struct usb_class_mdlm_descriptor mobile_direct;		struct usb_class_mdlmd_descriptor mobile_direct_detail;		struct usb_class_hid_descriptor hid;	} descriptor;} __attribute__ ((packed));#endif

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久精品视频一区二区| 亚洲六月丁香色婷婷综合久久| 床上的激情91.| 亚洲无人区一区| 国产精品美女一区二区| 欧美一区二区三区精品| 色噜噜狠狠色综合欧洲selulu | 国产精品亚洲午夜一区二区三区| 亚洲欧洲日韩女同| 精品国精品国产尤物美女| 欧美日韩在线播放三区四区| 成人毛片视频在线观看| 激情深爱一区二区| 婷婷综合另类小说色区| 一区二区三区中文在线| 国产精品欧美一区二区三区| 精品第一国产综合精品aⅴ| 欧美伦理视频网站| 色av成人天堂桃色av| 成人国产精品免费| 国产剧情在线观看一区二区| 青椒成人免费视频| 五月天视频一区| 一区二区不卡在线播放| 日韩美女视频一区| 日韩伦理av电影| 国产精品久久久久久久久快鸭| 久久久久久久免费视频了| 日韩欧美成人一区| 欧美一区二区三区白人| 欧美精品免费视频| 5858s免费视频成人| 欧美人xxxx| 91精品国产色综合久久不卡电影| 欧美色爱综合网| 欧美日韩三级视频| 日韩一区二区影院| 欧美大黄免费观看| 久久精品视频免费观看| 日本一区二区不卡视频| 国产精品三级电影| 国产精品久久久久7777按摩| 国产精品每日更新在线播放网址| 中文一区二区在线观看| 国产精品视频九色porn| 国产精品久久久久aaaa| 亚洲男人的天堂在线观看| 亚洲精品视频自拍| 亚洲成人动漫精品| 日韩成人伦理电影在线观看| 偷偷要91色婷婷| 免费视频一区二区| 国产九色sp调教91| 成人av动漫在线| 色综合天天综合网天天看片| 91丨九色丨蝌蚪富婆spa| 91日韩一区二区三区| 欧美日韩一卡二卡三卡| 日韩一区二区中文字幕| 欧美高清在线一区二区| 一区二区三区国产精华| 欧美aaa在线| 国产成人av自拍| 欧美亚洲另类激情小说| 日韩欧美在线观看一区二区三区| 精品国产一二三| 成人欧美一区二区三区1314| 白白色 亚洲乱淫| 91猫先生在线| 欧美变态tickling挠脚心| 国产欧美精品在线观看| 一区二区三区四区五区视频在线观看| 午夜成人免费电影| 国产**成人网毛片九色 | av日韩在线网站| 欧美综合在线视频| 欧美大尺度电影在线| 久久久电影一区二区三区| 亚洲男女一区二区三区| 久久成人免费日本黄色| 91小视频免费观看| 精品久久一区二区三区| 樱花影视一区二区| 国产麻豆91精品| 欧美男生操女生| 国产精品久久一卡二卡| 麻豆91免费观看| 日本韩国精品在线| 久久综合九色综合97_久久久| 一区二区三区日韩在线观看| 韩国精品主播一区二区在线观看 | 激情深爱一区二区| 91成人免费在线视频| www国产成人免费观看视频 深夜成人网| 91视频免费看| 91麻豆精品国产91| 亚洲天堂网中文字| 极品少妇一区二区| 在线播放中文一区| 亚洲一区二区影院| caoporen国产精品视频| 久久五月婷婷丁香社区| 天天av天天翘天天综合网| av高清久久久| 久久综合色综合88| 午夜精品久久久久久久99水蜜桃| a级高清视频欧美日韩| 亚洲精品在线电影| 日韩av不卡一区二区| 色偷偷88欧美精品久久久| 国产天堂亚洲国产碰碰| 久久精品噜噜噜成人av农村| 欧美日韩国产成人在线免费| 亚洲欧洲精品成人久久奇米网| 国产在线播放一区三区四| 91麻豆精品国产91久久久| 亚洲电影视频在线| 色噜噜偷拍精品综合在线| 国产女同性恋一区二区| 国内一区二区在线| 精品国产91乱码一区二区三区| 亚洲自拍与偷拍| 日本大香伊一区二区三区| 中文字幕一区二区不卡| 国产69精品久久777的优势| 久久久久久久综合| 国产精品一区专区| 久久久久成人黄色影片| 国产一区二区三区在线观看精品| 91精品国产91久久综合桃花| 成人黄色免费短视频| 欧美刺激午夜性久久久久久久| 青青青伊人色综合久久| 欧美日韩国产区一| 日韩av一区二| 欧美一级一区二区| 另类小说色综合网站| 欧美一区国产二区| 老色鬼精品视频在线观看播放| 日韩欧美久久一区| 国产精品资源网站| 国产精品欧美经典| 色综合天天综合狠狠| 一区二区三区免费看视频| 色94色欧美sute亚洲线路一ni| 亚洲精品老司机| 欧美日韩一区不卡| 麻豆成人免费电影| 国产偷国产偷亚洲高清人白洁| 国产91精品一区二区麻豆网站| 国产精品久久精品日日| 色悠悠久久综合| 日韩精品每日更新| 精品三级在线观看| 国产91高潮流白浆在线麻豆| 亚洲素人一区二区| 欧美日韩国产美女| 精品在线一区二区三区| 国产精品色眯眯| 欧洲一区二区三区免费视频| 午夜电影久久久| 久久久久国色av免费看影院| 9l国产精品久久久久麻豆| 亚洲v日本v欧美v久久精品| 精品少妇一区二区三区在线播放| 成人福利视频在线| 亚洲成人激情自拍| 国产日本欧美一区二区| 色婷婷激情综合| 看片的网站亚洲| 亚洲欧美另类久久久精品 | 26uuu国产在线精品一区二区| 国产成人日日夜夜| 亚洲一区二区高清| 久久这里只有精品视频网| 91捆绑美女网站| 美日韩黄色大片| 亚洲欧美另类小说视频| 欧美成人伊人久久综合网| 91亚洲精品乱码久久久久久蜜桃| 日本va欧美va欧美va精品| 国产精品天天看| 欧美一区二区三区精品| 成人视屏免费看| 日本三级亚洲精品| 亚洲图片欧美激情| 精品国精品国产| 欧美性欧美巨大黑白大战| 国产很黄免费观看久久| 香蕉成人啪国产精品视频综合网| 国产片一区二区| 91精品免费观看| 色欲综合视频天天天| 国产一区二区三区免费| 丝袜a∨在线一区二区三区不卡| 国产清纯在线一区二区www| 欧美精品v国产精品v日韩精品| av动漫一区二区| 国产成人精品免费在线| 蜜臀av一区二区在线免费观看|