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

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

?? irda-usb.h

?? MIZI Research, Inc.發布的嵌入式Linux內核源碼
?? H
字號:
/***************************************************************************** * * Filename:      irda-usb.h * Version:       0.9b * Description:   IrDA-USB Driver * Status:        Experimental  * Author:        Dag Brattli <dag@brattli.net> * *	Copyright (C) 2001, Roman Weissgaerber <weissg@vienna.at> *      Copyright (C) 2000, Dag Brattli <dag@brattli.net> *      Copyright (C) 2001, Jean Tourrilhes <jt@hpl.hp.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. * *****************************************************************************/#include <linux/time.h>#include <net/irda/irda.h>#include <net/irda/irlap.h>#include <net/irda/irda_device.h>#define RX_COPY_THRESHOLD 200#define IRDA_USB_MAX_MTU 2051#define IRDA_USB_SPEED_MTU 64		/* Weird, but work like this *//* Maximum number of active URB on the Rx path * This is the amount of buffers the we keep between the USB harware and the * IrDA stack. * * Note : the network layer does also queue the packets between us and the * IrDA stack, and is actually pretty fast and efficient in doing that. * Therefore, we don't need to have a large number of URBs, and we can * perfectly live happy with only one. We certainly don't need to keep the * full IrTTP window around here... * I repeat for those who have trouble to understand : 1 URB is plenty * good enough to handle back-to-back (brickwalled) frames. I tried it, * it works (it's the hardware that has trouble doing it). * * Having 2 URBs would allow the USB stack to process one URB while we take * care of the other and then swap the URBs... * On the other hand, increasing the number of URB will have penalities * in term of latency and will interact with the link management in IrLAP... * Jean II */#define IU_MAX_ACTIVE_RX_URBS	1	/* Don't touch !!! *//* When a Rx URB is passed back to us, we can't reuse it immediately, * because it may still be referenced by the USB layer. Therefore we * need to keep one extra URB in the Rx path. * Jean II */#define IU_MAX_RX_URBS	(IU_MAX_ACTIVE_RX_URBS + 1)/* Various ugly stuff to try to workaround generic problems *//* Send speed command in case of timeout, just for trying to get things sane */#define IU_BUG_KICK_TIMEOUT/* Show the USB class descriptor */#undef IU_DUMP_CLASS_DESC /* Assume a minimum round trip latency for USB transfer (in us)... * USB transfer are done in the next USB slot if there is no traffic * (1/19 msec) and is done at 12 Mb/s : * Waiting for slot + tx = (53us + 16us) * 2 = 137us minimum. * Rx notification will only be done at the end of the USB frame period : * OHCI : frame period = 1ms * UHCI : frame period = 1ms, but notification can take 2 or 3 ms :-( * EHCI : frame period = 125us */#define IU_USB_MIN_RTT		500	/* This should be safe in most cases *//* Inbound header */#define MEDIA_BUSY    0x80#define SPEED_2400    0x01#define SPEED_9600    0x02#define SPEED_19200   0x03#define SPEED_38400   0x04#define SPEED_57600   0x05#define SPEED_115200  0x06#define SPEED_576000  0x07#define SPEED_1152000 0x08#define SPEED_4000000 0x09/* Basic capabilities */#define IUC_DEFAULT	0x00	/* Basic device compliant with 1.0 spec *//* Main bugs */#define IUC_SPEED_BUG	0x01	/* Device doesn't set speed after the frame */#define IUC_NO_WINDOW	0x02	/* Device doesn't behave with big Rx window */#define IUC_NO_TURN	0x04	/* Device doesn't do turnaround by itself *//* Not currently used */#define IUC_SIR_ONLY	0x08	/* Device doesn't behave at FIR speeds */#define IUC_SMALL_PKT	0x10	/* Device doesn't behave with big Rx packets */#define IUC_MAX_WINDOW	0x20	/* Device underestimate the Rx window */#define IUC_MAX_XBOFS	0x40	/* Device need more xbofs than advertised *//* USB class definitions */#define USB_IRDA_HEADER   0x01#define USB_CLASS_IRDA    0x02 /* USB_CLASS_APP_SPEC subclass */ #define USB_DT_IRDA       0x21struct irda_class_desc {	__u8  bLength;	__u8  bDescriptorType;	__u16 bcdSpecRevision;	__u8  bmDataSize;	__u8  bmWindowSize;	__u8  bmMinTurnaroundTime;	__u16 wBaudRate;	__u8  bmAdditionalBOFs;	__u8  bIrdaRateSniff;	__u8  bMaxUnicastList;} __attribute__ ((packed));/* class specific interface request to get the IrDA-USB class descriptor * (6.2.5, USB-IrDA class spec 1.0) */#define IU_REQ_GET_CLASS_DESC	0x06struct irda_usb_cb {	struct irda_class_desc *irda_desc;	struct usb_device *usbdev;	/* init: probe_irda */	unsigned int ifnum;		/* Interface number of the USB dev. */	int netopen;			/* Device is active for network */	int present;			/* Device is present on the bus */	__u32 capability;		/* Capability of the hardware */	__u8  bulk_in_ep;		/* Rx Endpoint assignments */	__u8  bulk_out_ep;		/* Tx Endpoint assignments */	__u16 bulk_out_mtu;		/* Max Tx packet size in bytes */	__u8  bulk_int_ep;		/* Interrupt Endpoint assignments */	wait_queue_head_t wait_q;	/* for timeouts */	struct urb rx_urb[IU_MAX_RX_URBS];	/* URBs used to receive data frames */	struct urb *idle_rx_urb;	/* Pointer to idle URB in Rx path */	struct urb tx_urb;		/* URB used to send data frames */	struct urb speed_urb;		/* URB used to send speed commands */		struct net_device *netdev;	/* Yes! we are some kind of netdev. */	struct net_device_stats stats;	struct irlap_cb   *irlap;	/* The link layer we are binded to */	struct qos_info qos;	hashbin_t *tx_list;		/* Queued transmit skb's */	char *speed_buff;		/* Buffer for speed changes */	struct timeval stamp;	struct timeval now;	spinlock_t lock;		/* For serializing operations */	__u16 xbofs;			/* Current xbofs setting */	__s16 new_xbofs;		/* xbofs we need to set */	__u32 speed;			/* Current speed */	__s32 new_speed;		/* speed we need to set */	__u32 flags;			/* Interface flags */};

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩在线播放一区| 不卡的av电影在线观看| 亚洲日本中文字幕区| 1000部国产精品成人观看| 亚洲欧美影音先锋| 亚洲欧美一区二区在线观看| 中文字幕亚洲成人| 亚洲国产欧美一区二区三区丁香婷| 国产视频亚洲色图| 国产精品拍天天在线| 日韩美女视频一区二区| 亚洲高清免费视频| 国产成人丝袜美腿| 成人黄色一级视频| av在线不卡网| 色哟哟一区二区三区| 欧美年轻男男videosbes| 欧美高清激情brazzers| www国产成人| 亚洲国产精品一区二区久久| 另类人妖一区二区av| 在线精品视频小说1| 亚洲精品一线二线三线| 亚洲视频一区二区在线| 日本系列欧美系列| 在线免费观看成人短视频| 2020日本不卡一区二区视频| 一区二区三区四区视频精品免费| 美日韩一区二区三区| 日韩欧美国产综合在线一区二区三区| 制服丝袜亚洲色图| 一区二区三区在线视频播放| 99热这里都是精品| 国产精品视频一二三区| 九一九一国产精品| 欧美久久高跟鞋激| 亚洲午夜av在线| 91免费精品国自产拍在线不卡| 欧美成人aa大片| 亚洲尤物在线视频观看| 欧美日韩在线不卡| 亚洲一二三区在线观看| 欧美在线不卡视频| 丝袜亚洲另类欧美综合| 91麻豆精品91久久久久同性| 五月天久久比比资源色| 91精品中文字幕一区二区三区| 日韩电影免费一区| wwww国产精品欧美| 成人午夜私人影院| 亚洲男人天堂av网| 91看片淫黄大片一级| 亚洲一级在线观看| 久久久亚洲精品石原莉奈| 激情文学综合插| 制服丝袜成人动漫| 国产传媒久久文化传媒| 亚洲精品中文在线| 久久亚洲欧美国产精品乐播| 色婷婷综合五月| 午夜精品免费在线观看| 国产免费久久精品| 欧美性做爰猛烈叫床潮| 国内精品国产成人国产三级粉色| 亚洲伦理在线免费看| 久久久国产综合精品女国产盗摄| 色婷婷亚洲一区二区三区| 久久99精品国产.久久久久久 | 全部av―极品视觉盛宴亚洲| 中文字幕av免费专区久久| 欧美肥胖老妇做爰| 99久久综合99久久综合网站| 国产精品小仙女| 成人app在线| 久久爱另类一区二区小说| 亚洲精品写真福利| 中文字幕亚洲综合久久菠萝蜜| 久久综合中文字幕| 日韩免费看的电影| 欧美精品一二三区| 欧美日韩精品久久久| 国产99久久久国产精品潘金网站| 青青草国产成人99久久| 亚洲一区二区精品视频| 亚洲欧美日韩久久| 一区在线播放视频| 一区在线中文字幕| 亚洲日穴在线视频| 亚洲六月丁香色婷婷综合久久| 精品国产露脸精彩对白| 天天综合色天天综合| 99精品国产视频| 国产精品女主播av| 国产成人午夜精品影院观看视频| 在线成人免费观看| 舔着乳尖日韩一区| 日韩欧美中文字幕一区| 免费日韩伦理电影| 日韩女优制服丝袜电影| 久久国产精品第一页| 黑人巨大精品欧美一区| 2021国产精品久久精品| 色狠狠一区二区三区香蕉| 精品中文av资源站在线观看| 欧美一级二级在线观看| 免费观看91视频大全| 精品国产一区久久| 国产精品亚洲午夜一区二区三区 | 国产精品视频第一区| 成人免费黄色大片| 亚洲人精品一区| 欧美精品精品一区| 国产在线不卡一区| 亚洲少妇屁股交4| 欧美无人高清视频在线观看| 精品一区二区久久| 国产精品福利一区二区三区| 欧美久久久久久久久中文字幕| 奇米影视在线99精品| 国产婷婷色一区二区三区在线| 成人高清免费观看| 日本成人超碰在线观看| 亚洲女性喷水在线观看一区| 日韩午夜电影av| 一本一本久久a久久精品综合麻豆| 久久国产免费看| 麻豆中文一区二区| 美女在线一区二区| 国产精品亚洲午夜一区二区三区 | 岛国av在线一区| 日韩电影在线一区二区三区| 日韩一区在线免费观看| 欧美在线高清视频| 国产精品一区二区在线观看网站| 中文幕一区二区三区久久蜜桃| 日韩西西人体444www| 欧美一级免费大片| 日韩美女视频一区二区在线观看| 911国产精品| 2024国产精品| 日本一区免费视频| 日本一区二区三区高清不卡| 91精品欧美久久久久久动漫| 成人免费毛片app| 亚洲欧洲制服丝袜| 奇米四色…亚洲| 国产精品网曝门| 欧美久久一二三四区| 国产一区二区久久| 午夜精品一区二区三区免费视频 | 26uuu欧美| 精品日产卡一卡二卡麻豆| 精品视频一区 二区 三区| 成人开心网精品视频| 成人h动漫精品一区二区| 免费的成人av| 色综合久久久久综合体桃花网| 精品视频在线看| 欧美精品第1页| 视频一区在线视频| 欧美高清视频在线高清观看mv色露露十八| 亚欧色一区w666天堂| 91精品免费在线| 国产一区二区91| 亚洲女爱视频在线| 欧美美女黄视频| 国产在线精品一区二区三区不卡| 久久精品视频在线免费观看| 91视频xxxx| 日韩福利视频导航| 中文字幕av一区二区三区高| 91国模大尺度私拍在线视频| 肉肉av福利一精品导航| 久久综合九色综合97婷婷| 成人av免费在线观看| 五月天婷婷综合| 欧美经典三级视频一区二区三区| 欧美伊人精品成人久久综合97| 久久精品视频一区二区| 亚洲精品国久久99热| 粉嫩在线一区二区三区视频| 一区二区三区在线免费观看| 日韩视频在线你懂得| 成人av第一页| 麻豆精品国产传媒mv男同| 国产精品国产三级国产aⅴ无密码| 欧美日韩一区二区欧美激情| 国产精品99久久久| 亚洲r级在线视频| 国产精品天干天干在观线| 7878成人国产在线观看| 成人免费毛片app| 男人的j进女人的j一区| 亚洲视频资源在线| 久久久三级国产网站| 欧美精品日韩综合在线| 91在线视频18| 国产另类ts人妖一区二区| 日韩电影一二三区| 一区二区三区国产豹纹内裤在线 |