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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? usbd-func.h

?? Linux2.4.20針對三星公司的s3c2440內核基礎上的一些設備驅動代碼
?? H
?? 第 1 頁 / 共 2 頁
字號:
/* * 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 Function Driver structures * * Descriptors: *   struct usb_endpoint_description *   struct usb_interface_description  *   struct usb_configuration_description * * Driver description: *   struct usb_function_driver *   struct usb_function_operations * *//* 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. * *//* * 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/* * commuications class description structures * * c.f. CDC 5.1 * c.f. WCMC 6.7.2 * * XXX add the other dozen class descriptor description structures.... */struct usb_header_description {	__u8 bDescriptorSubtype;	__u16 bcdCDC;};struct usb_call_management_description {	__u8 bmCapabilities;	__u8 bDataInterface;};struct usb_abstract_control_description {	__u8 bmCapabilities;};struct usb_union_function_description {	__u8 bMasterInterface;	__u8 bSlaveInterface[1];	//__u8        bSlaveInterface[0];                    // XXX FIXME};struct usb_ethernet_networking_description {	char *iMACAddress;	__u8 bmEthernetStatistics;	__u16 wMaxSegmentSize;	__u16 wNumberMCFilters;	__u8 bNumberPowerFilters;};struct usb_mobile_direct_line_model_description {	__u16 bcdVersion;	__u8 bGUID[16];};struct usb_mobile_direct_line_model_detail_description {	__u8 bGuidDescriptorType;	__u8 bDetailData[2];	//__u8      bDetailData[0];                         // XXX FIXME};/* * HID class types * * c.f. USB Device Class Definitions for Human Interface Devices (HID) * */#define CLASS_HID_BCD_VERSION               0x0101/* * HID class description structures * * c.f. HID 6.2.1 * */struct usb_hid_description {	__u16       bcdCDC;	__u8        bCountryCode;	__u8        bDescriptorType;	__u16       wDescriptorLength;	/* optional descriptors are not supported. */	__u8 *reportDescriptor;	/* FIXME: more human readable structure... */};struct usb_class_description {	__u8 bDescriptorType;	__u8 bDescriptorSubtype;	__u8 elements;	union {		struct usb_header_description header;		struct usb_call_management_description call_management;		struct usb_abstract_control_description abstract_control;		struct usb_union_function_description union_function;		struct usb_ethernet_networking_description ethernet_networking;		struct usb_mobile_direct_line_model_description mobile_direct;		struct usb_mobile_direct_line_model_detail_description mobile_direct_detail;		struct usb_hid_description hid;	} description;};/* 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/* * usb device description structures */struct usb_endpoint_description {	__u8 bEndpointAddress;	__u8 bmAttributes;	__u16 wMaxPacketSize;	__u8 bInterval;	__u8 direction;	__u32 transferSize;	// maximum bulk transfer size};struct usb_alternate_description {	char *iInterface;	__u8 bAlternateSetting;	// list of CDC class descriptions for this alternate interface	__u8 classes;	struct usb_class_description *class_list;	// list of endpoint descriptions for this alternate interface	__u8 endpoints;	struct usb_endpoint_description *endpoint_list;};struct usb_interface_description {	__u8 bInterfaceClass;	__u8 bInterfaceSubClass;	__u8 bInterfaceProtocol;	char *iInterface;	// list of alternate interface descriptions for this interface	__u8 alternates;	struct usb_alternate_description *alternate_list;};struct usb_configuration_description {	char *iConfiguration;	__u8 bmAttributes;	__u8 bMaxPower;	// list of interface descriptons for this configuration	__u8 interfaces;	struct usb_interface_description *interface_list;	int configuration_type;};#define VENDOR  0xffstruct usb_device_description {	__u8 bDeviceClass;	__u8 bDeviceSubClass;	__u8 bDeviceProtocol;	__u16 idVendor;	__u16 idProduct;	char *iManufacturer;	char *iProduct;	char *iSerialNumber;};/*  * 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;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产一区二区h| 丁香一区二区三区| 国产乱子轮精品视频| 日韩欧美一级在线播放| 国产午夜精品一区二区三区四区| 亚洲一区二区成人在线观看| 国产成人亚洲综合a∨婷婷| 欧洲av一区二区嗯嗯嗯啊| 欧美经典一区二区| 经典三级一区二区| 欧美日本在线看| 亚洲精品成人少妇| 波多野结衣亚洲| 久久久久久日产精品| 成人性视频免费网站| 日韩一区二区在线看片| 亚洲国产综合人成综合网站| 色综合久久久久久久| 国产精品美女久久久久久 | 国产大陆精品国产| 日韩三级电影网址| 日韩黄色片在线观看| 6080国产精品一区二区| 亚洲综合在线观看视频| 欧美一区二区在线观看| 亚洲一区二区五区| 欧美日韩一区二区在线观看视频| 一区二区三区不卡视频在线观看| 99精品视频一区二区三区| 国产精品久久毛片| 不卡的av在线| 亚洲素人一区二区| 色欧美片视频在线观看在线视频| 亚洲欧美日韩国产综合在线 | 日韩精品一区二区在线观看| 香蕉成人啪国产精品视频综合网| 91黄色小视频| 亚洲123区在线观看| 欧美福利一区二区| 久久99久久99小草精品免视看| 91精品国产色综合久久不卡蜜臀| 日韩va亚洲va欧美va久久| 日韩精品一区二区三区四区| 韩国女主播一区二区三区| 国产色综合久久| av激情综合网| 日本强好片久久久久久aaa| 欧美成人性战久久| 成人开心网精品视频| 一区二区三区**美女毛片| 91精品国产乱码久久蜜臀| 国产在线播放一区三区四| 国产亚洲成aⅴ人片在线观看 | 4hu四虎永久在线影院成人| 奇米色一区二区| 久久婷婷国产综合精品青草| 色播五月激情综合网| 免费观看成人av| 国产精品系列在线| 欧美日韩精品一区二区天天拍小说 | 精品少妇一区二区三区视频免付费| 国产精品一级黄| 黑人巨大精品欧美黑白配亚洲| 久久伊人蜜桃av一区二区| 波多野结衣精品在线| 婷婷六月综合亚洲| 国产精品丝袜一区| 91精品国产入口在线| 成人性色生活片| 午夜久久久久久久久久一区二区| 久久综合色鬼综合色| 在线观看一区日韩| 国产高清久久久久| 日韩黄色免费电影| 久久99久久精品| 亚洲人成网站在线| 精品免费日韩av| 欧美色综合网站| 国产91精品免费| 美女一区二区在线观看| 一区二区三区在线视频观看58 | 久久99在线观看| 亚洲综合在线视频| 国产精品视频一二三| 日韩精品一区二区三区在线| 欧美少妇一区二区| 宅男噜噜噜66一区二区66| 色综合色综合色综合| 粉嫩av亚洲一区二区图片| 麻豆精品国产传媒mv男同 | 狠狠色狠狠色综合| 天天av天天翘天天综合网色鬼国产| 中文字幕成人网| 精品播放一区二区| 欧美一区欧美二区| 欧美色国产精品| 色拍拍在线精品视频8848| 91啪九色porn原创视频在线观看| 国产精品一区2区| 精品综合免费视频观看| 日韩**一区毛片| 亚洲一二三区在线观看| 亚洲天堂a在线| 亚洲视频综合在线| 国产精品久线在线观看| 国产精品污网站| 国产日韩欧美亚洲| 久久精品人人做人人综合 | 色偷偷久久人人79超碰人人澡| 国产精品香蕉一区二区三区| 久久99热这里只有精品| 乱中年女人伦av一区二区| 美国av一区二区| 久久精品国产久精国产爱| 精品一区二区在线视频| 精品无码三级在线观看视频| 蜜桃精品在线观看| 久久er99精品| 国产精品一区在线观看你懂的| av在线一区二区| 99久久精品国产导航| 日本高清不卡视频| 欧美日韩一区二区三区四区| 欧美精三区欧美精三区| 91精品国产色综合久久不卡电影| 日韩一区二区三区电影| 久久综合九色欧美综合狠狠| 久久一区二区三区四区| 中日韩免费视频中文字幕| 国产精品二区一区二区aⅴ污介绍| 亚洲特级片在线| 午夜久久久久久久久| 久久99九九99精品| 欧美综合在线视频| 欧美美女直播网站| 精品99999| 亚洲欧洲精品一区二区三区| 亚洲一级在线观看| 精品中文字幕一区二区小辣椒| 豆国产96在线|亚洲| 91国内精品野花午夜精品| 日韩午夜精品视频| 久久精品视频一区二区三区| 亚洲精品中文字幕乱码三区| 奇米影视一区二区三区| 成人综合婷婷国产精品久久蜜臀| 91黄视频在线| 中文字幕一区不卡| 五月婷婷久久丁香| 国产成人综合网站| 欧美亚洲动漫另类| 日韩欧美中文字幕一区| 国产精品嫩草影院com| 亚洲va国产天堂va久久en| 国产精品一区不卡| 欧美视频完全免费看| 久久精品视频一区二区三区| 亚洲第一综合色| 丁香婷婷综合色啪| 337p亚洲精品色噜噜噜| 国产精品成人免费精品自在线观看 | 91久久精品国产91性色tv| 欧美一区二区啪啪| 亚洲视频你懂的| 国产专区欧美精品| 精品视频一区二区不卡| 中文一区一区三区高中清不卡| 午夜电影网亚洲视频| 91热门视频在线观看| 久久久精品蜜桃| 蜜臀av性久久久久蜜臀aⅴ流畅| 成人av电影观看| 久久午夜老司机| 奇米777欧美一区二区| 欧美性生交片4| 亚洲国产日韩av| 一本一道综合狠狠老| 欧美激情一区二区三区四区| 蜜臀久久99精品久久久久宅男| 在线影院国内精品| 中文字幕中文乱码欧美一区二区 | 成人av片在线观看| 久久品道一品道久久精品| 亚洲gay无套男同| 91一区二区三区在线播放| 欧美国产综合色视频| 国产精品一卡二卡在线观看| 欧美成人精精品一区二区频| 国产精品一二三四| 日韩欧美电影一区| 亚洲国产日日夜夜| 欧洲一区二区三区在线| 亚洲美女电影在线| 成人app在线观看| 中文字幕乱码一区二区免费| 国产高清精品久久久久| 久久精品综合网| 成人性生交大合| 亚洲国产精品二十页| 国产精品一区二区久久不卡|