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

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

?? dwc_otg_pcd.h

?? host usb 主設備程序 支持sd卡 mouse keyboard 的最單單的驅動程序 gcc編譯
?? H
字號:
/* ========================================================================== * $File: //dwh/usb_iip/dev/software/otg_ipmate/linux/drivers/dwc_otg_pcd.h $ * $Revision: 1.1 $ * $Date: 2008/03/31 00:20:10 $ * $Change: 1000263 $ * * Synopsys HS OTG Linux Software Driver and documentation (hereinafter, * "Software") is an Unsupported proprietary work of Synopsys, Inc. unless * otherwise expressly agreed to in writing between Synopsys and you. *  * The Software IS NOT an item of Licensed Software or Licensed Product under * any End User Software License Agreement or Agreement for Licensed Product * with Synopsys or any supplement thereto. You are permitted to use and * redistribute this Software in source and binary forms, with or without * modification, provided that redistributions of source code must retain this * notice. You may not view, use, disclose, copy or distribute this file or * any information contained herein except pursuant to this license grant from * Synopsys. If you do not agree with this notice, including the disclaimer * below, then you are not authorized to use the Software. *  * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" BASIS * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS BE LIABLE FOR ANY DIRECT, * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH * DAMAGE. * ========================================================================== */#ifndef DWC_HOST_ONLY#if !defined(__DWC_PCD_H__)#define __DWC_PCD_H__#include <linux/types.h>#include <linux/list.h>#include <linux/errno.h>#include <linux/device.h>#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,21)# include <linux/usb/ch9.h>#else# include <linux/usb_ch9.h>#endif#include <linux/usb_gadget.h>#include <linux/interrupt.h>#include <linux/dma-mapping.h>struct lm_device;struct dwc_otg_device;#include "dwc_otg_cil.h"/** * @file * * This file contains the structures, constants, and interfaces for * the Perpherial Contoller Driver (PCD). * * The Peripheral Controller Driver (PCD) for Linux will implement the * Gadget API, so that the existing Gadget drivers can be used.	 For * the Mass Storage Function driver the File-backed USB Storage Gadget * (FBS) driver will be used.  The FBS driver supports the * Control-Bulk (CB), Control-Bulk-Interrupt (CBI), and Bulk-Only * transports. * *//** Invalid DMA Address */#define DMA_ADDR_INVALID	(~(dma_addr_t)0)/** Maxpacket size for EP0 */#define MAX_EP0_SIZE	64		   /** Maxpacket size for any EP */#define MAX_PACKET_SIZE 1024/** * Get the pointer to the core_if from the pcd pointer. */#define GET_CORE_IF( _pcd ) (_pcd->otg_dev->core_if)/** * States of EP0. */typedef enum ep0_state { 	EP0_DISCONNECT,		/* no host */	EP0_IDLE,	EP0_IN_DATA_PHASE,	EP0_OUT_DATA_PHASE,	EP0_IN_STATUS_PHASE,	EP0_OUT_STATUS_PHASE,	EP0_STALL,} ep0state_e;/** Fordward declaration.*/struct dwc_otg_pcd;/** DWC_otg iso request structure. *  */typedef struct usb_iso_request  dwc_otg_pcd_iso_request_t;/**	  PCD EP structure. * This structure describes an EP, there is an array of EPs in the PCD * structure. */typedef struct dwc_otg_pcd_ep {	/** USB EP data */	struct usb_ep		ep; 	/** USB EP Descriptor */	const struct usb_endpoint_descriptor	*desc;		/** queue of dwc_otg_pcd_requests. */	struct list_head	queue; 	unsigned stopped : 1;		 	unsigned disabling : 1;	unsigned dma : 1;	unsigned queue_sof : 1;	/** DWC_otg Isochronous Transfer *///	dwc_otg_pcd_iso_request_t* iso_req;	struct usb_iso_request* iso_req;	/** DWC_otg ep data. */	dwc_ep_t dwc_ep;	/** Pointer to PCD */	struct dwc_otg_pcd *pcd;}dwc_otg_pcd_ep_t;/** DWC_otg PCD Structure. * This structure encapsulates the data for the dwc_otg PCD. */typedef struct dwc_otg_pcd {	/** USB gadget */	struct usb_gadget gadget;	/** USB gadget driver pointer*/	struct usb_gadget_driver *driver; 	/** The DWC otg device pointer. */	struct dwc_otg_device *otg_dev;			/** State of EP0 */	ep0state_e	ep0state; 	/** EP0 Request is pending */	unsigned	ep0_pending : 1;	/** Indicates when SET CONFIGURATION Request is in process */	unsigned	request_config : 1;	/** The state of the Remote Wakeup Enable. */	unsigned	remote_wakeup_enable : 1;	/** The state of the B-Device HNP Enable. */	unsigned	b_hnp_enable : 1;	/** The state of A-Device HNP Support. */	unsigned	a_hnp_support : 1;	/** The state of the A-Device Alt HNP support. */	unsigned	a_alt_hnp_support : 1;	/** Count of pending Requests */	unsigned	request_pending;				/** SETUP packet for EP0 	 * This structure is allocated as a DMA buffer on PCD initialization	 * with enough space for up to 3 setup packets.	 */	union 	{			struct usb_ctrlrequest	req;			uint32_t	d32[2];	} *setup_pkt;	dma_addr_t setup_pkt_dma_handle;	/** 2-byte dma buffer used to return status from GET_STATUS */	uint16_t *status_buf;	dma_addr_t status_buf_dma_handle;	/** EP0 */	dwc_otg_pcd_ep_t ep0; 	/** Array of IN EPs. */	dwc_otg_pcd_ep_t in_ep[ MAX_EPS_CHANNELS - 1]; 	/** Array of OUT EPs. */	dwc_otg_pcd_ep_t out_ep[ MAX_EPS_CHANNELS - 1]; 	/** number of valid EPs in the above array. *///	  unsigned	num_eps : 4;			spinlock_t	lock;	/** Timer for SRP.	If it expires before SRP is successful	 * clear the SRP. */	struct timer_list srp_timer;	/** Tasklet to defer starting of TEST mode transmissions until	 *	Status Phase has been completed.	 */	struct tasklet_struct test_mode_tasklet;	/** Tasklet to delay starting of xfer in DMA mode */	struct tasklet_struct *start_xfer_tasklet;	/** The test mode to enter when the tasklet is executed. */	unsigned test_mode;		} dwc_otg_pcd_t;/** DWC_otg request structure. * This structure is a list of requests. */typedef struct {	struct usb_request	req; /**< USB Request. */	struct list_head	queue;	/**< queue of these requests. */} dwc_otg_pcd_request_t;extern int dwc_otg_pcd_init(struct lm_device *_lmdev);//extern void dwc_otg_pcd_remove( struct dwc_otg_device *_otg_dev );extern void dwc_otg_pcd_remove( struct lm_device *_lmdev );extern int32_t dwc_otg_pcd_handle_intr( dwc_otg_pcd_t *_pcd );extern void dwc_otg_pcd_start_srp_timer(dwc_otg_pcd_t *_pcd );extern void dwc_otg_pcd_initiate_srp(dwc_otg_pcd_t *_pcd);extern void dwc_otg_pcd_remote_wakeup(dwc_otg_pcd_t *_pcd, int set);#endif#endif /* DWC_HOST_ONLY */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品亚洲综合一区在线观看| 国产成人在线观看| 国产精品你懂的| 国产欧美日韩在线| 国产欧美精品在线观看| 中文字幕欧美三区| 国产视频在线观看一区二区三区 | 亚洲精品视频自拍| 亚洲一区在线观看免费观看电影高清| 亚洲欧美一区二区视频| 一区二区三区小说| 丝袜诱惑制服诱惑色一区在线观看 | 久久日一线二线三线suv| 久久亚洲捆绑美女| 中文字幕一区日韩精品欧美| 亚洲欧美日韩国产中文在线| 亚洲综合色网站| 性做久久久久久久久| 九色porny丨国产精品| 国产福利不卡视频| 色88888久久久久久影院按摩| 欧美欧美午夜aⅴ在线观看| 精品成人在线观看| 亚洲色图在线看| 日韩国产欧美一区二区三区| 国产一区二区三区蝌蚪| 在线视频国内一区二区| 精品三级av在线| 亚洲视频一二三| 麻豆精品视频在线观看视频| 成人免费福利片| 91精品国产高清一区二区三区 | 欧美一区二区三区啪啪| 最新国产の精品合集bt伙计| 亚洲成人免费av| 国产91对白在线观看九色| 欧美肥妇free| 最近中文字幕一区二区三区| 久久精品国产77777蜜臀| 色一情一乱一乱一91av| 日韩精品资源二区在线| 亚洲在线视频网站| 国产91露脸合集magnet | heyzo一本久久综合| 日韩三级免费观看| 一区二区三区视频在线看| 九色综合狠狠综合久久| 欧美日韩视频在线观看一区二区三区 | 懂色av中文一区二区三区| 在线不卡中文字幕播放| 亚洲精品视频在线观看网站| 韩国av一区二区三区在线观看| 欧美视频一二三区| 亚洲私人黄色宅男| 成人免费黄色大片| 久久久综合精品| 精品亚洲成a人| 欧美一区二区人人喊爽| 亚洲高清免费观看 | 91浏览器打开| 国产午夜精品久久久久久免费视 | 成人的网站免费观看| 国产日韩欧美精品一区| 激情综合五月天| 精品免费国产一区二区三区四区| 亚洲一区二区视频在线观看| 91丨九色丨黑人外教| 免费成人av资源网| 国产a区久久久| 欧美精品一区视频| 美女在线视频一区| 日韩视频免费观看高清完整版在线观看| 亚洲一区二区视频在线观看| 欧美性做爰猛烈叫床潮| 亚洲午夜免费福利视频| 欧美高清视频www夜色资源网| 亚洲成人高清在线| 欧美一区三区四区| 美女脱光内衣内裤视频久久网站| 在线成人小视频| 麻豆中文一区二区| 久久久久久久久久久黄色| 韩国毛片一区二区三区| 欧美国产日韩一二三区| 波多野结衣欧美| 夜夜嗨av一区二区三区中文字幕| 欧美在线高清视频| 人人精品人人爱| 国产日韩综合av| 日本韩国欧美三级| 五月天中文字幕一区二区| 欧美成人精品3d动漫h| 丰满亚洲少妇av| 一区二区三区中文字幕在线观看| 欧美喷潮久久久xxxxx| 激情综合色播五月| 成人免费一区二区三区视频| 欧美日韩一区二区电影| 精品在线一区二区三区| ...av二区三区久久精品| 欧美视频一区二区三区在线观看| 久久精品999| 亚洲色大成网站www久久九九| 欧美丰满少妇xxxbbb| 成人午夜激情在线| 婷婷成人综合网| 欧美国产日韩在线观看| 欧美精选一区二区| 国产91丝袜在线观看| 亚洲福利视频三区| 欧美国产一区二区| 91精品国产91综合久久蜜臀| av激情综合网| 久久99九九99精品| 亚洲精品久久久蜜桃| 久久色在线观看| 欧美美女直播网站| 97se亚洲国产综合在线| 国产最新精品免费| 亚洲a一区二区| 1区2区3区国产精品| 精品国产一区二区在线观看| 欧美在线短视频| 99精品一区二区三区| 国产美女精品一区二区三区| 亚洲高清不卡在线观看| 国产精品国产三级国产普通话三级| 7777精品伊人久久久大香线蕉完整版 | 国产日产欧美精品一区二区三区| 欧美日韩久久久久久| av高清不卡在线| 国产经典欧美精品| 久久精品国产精品青草| 午夜久久久影院| 亚洲自拍与偷拍| 中文字幕在线播放不卡一区| 久久综合色天天久久综合图片| 6080日韩午夜伦伦午夜伦| 日本黄色一区二区| 91视频免费播放| 色婷婷av一区二区三区大白胸| 成人午夜av电影| 国产91露脸合集magnet| 国产精品99久久久| 国产91精品在线观看| 国产成人丝袜美腿| 国产99精品视频| 成人黄色在线看| 91色porny在线视频| 91小视频在线观看| 色综合久久88色综合天天免费| voyeur盗摄精品| 一本色道久久综合亚洲91| 91老师片黄在线观看| 欧美伊人精品成人久久综合97| 91国偷自产一区二区三区成为亚洲经典 | 成人欧美一区二区三区黑人麻豆 | 日韩av电影免费观看高清完整版在线观看| 一区二区三区四区亚洲| 亚洲综合自拍偷拍| 日本大胆欧美人术艺术动态| 久久国产欧美日韩精品| 国产一区二区三区香蕉| 成人高清免费观看| 欧美在线播放高清精品| 91麻豆精品国产自产在线观看一区 | 色就色 综合激情| 欧美精品亚洲二区| 26uuu精品一区二区三区四区在线| 2020日本不卡一区二区视频| 国产精品久久久久久亚洲毛片 | 国产一区二区伦理| 成人av电影观看| 欧美亚洲高清一区二区三区不卡| 欧美精品亚洲二区| 久久午夜羞羞影院免费观看| 国产精品丝袜一区| 午夜视频一区在线观看| 国产在线视频一区二区三区| 91亚洲精华国产精华精华液| 538prom精品视频线放| 国产午夜精品久久久久久久| 一区二区日韩电影| 久草这里只有精品视频| 一本一道综合狠狠老| 欧美一区2区视频在线观看| 中文字幕精品一区二区三区精品| 亚洲图片有声小说| 国产激情视频一区二区三区欧美 | 91免费精品国自产拍在线不卡| 7777精品伊人久久久大香线蕉经典版下载| 久久日韩精品一区二区五区| 亚洲视频综合在线| 久久99国内精品| 在线免费亚洲电影| 国产精品免费久久久久| 天天影视色香欲综合网老头| 成人国产亚洲欧美成人综合网| 欧美一区二区三区成人| 亚洲精品欧美综合四区|