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

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

?? ixp425pci.h

?? 支持linux-2.4以后的啟動參數設置
?? H
字號:
/* * IXP PCI Init * (C) Copyright 2004 eslab.whut.edu.cn * Yue Hu(huyue_whut@yahoo.com.cn), Ligong Xue(lgxue@hotmail.com) * * See file CREDITS for list of people who contributed to this * project. * * 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., 59 Temple Place, Suite 330, Boston, * MA 02111-1307 USA */#ifndef _IXP425PCI_H_#define _IXP425PCI_H_#define TRUE	1#define FALSE	0#define OK	0#define ERROR	-1#define BOOL	int#define IXP425_PCI_MAX_BAR_PER_FUNC  6#define IXP425_PCI_MAX_BAR (IXP425_PCI_MAX_BAR_PER_FUNC * \			    IXP425_PCI_MAX_FUNC_ON_BUS)enum PciBarId{	CSR_BAR=0,	IO_BAR,	SD_BAR,	NO_BAR};/*Base address register descriptor*/typedef struct{	unsigned int size;	unsigned int address;} PciBar;typedef struct{	unsigned int bus;	unsigned int device;	unsigned int func;	unsigned int irq;	BOOL error;	unsigned short vendor_id;	unsigned short device_id;	/*We need an extra entry in this array for dummy placeholder*/	PciBar bar[IXP425_PCI_MAX_BAR_PER_FUNC + 1];} PciDevice;/* Mask definitions*/#define IXP425_PCI_TOP_WORD_OF_LONG_MASK	0xffff0000#define IXP425_PCI_TOP_BYTE_OF_LONG_MASK	0xff000000#define IXP425_PCI_BOTTOM_WORD_OF_LONG_MASK	0x0000ffff#define IXP425_PCI_BOTTOM_TRIBYTES_OF_LONG_MASK 0x00ffffff#define IXP425_PCI_BOTTOM_NIBBLE_OF_LONG_MASK	0x0000000f#define IXP425_PCI_MAX_UINT32			0xffffffff#define IXP425_PCI_BAR_QUERY			0xffffffff#define IXP425_PCI_BAR_MEM_BASE 0x100000#define IXP425_PCI_BAR_IO_BASE	0x000000/*define the maximum number of bus segments - we support a single segment*/#define IXP425_PCI_MAX_BUS  1/*define the maximum number of cards per bus segment*/#define IXP425_PCI_MAX_DEV  4/*define the maximum number of functions per device*/#define IXP425_PCI_MAX_FUNC 8/* define the maximum number of separate functions that we can   potentially have on the bus*/#define IXP425_PCI_MAX_FUNC_ON_BUS (1+ IXP425_PCI_MAX_FUNC *	\				    IXP425_PCI_MAX_DEV *	\				    IXP425_PCI_MAX_BUS)/*define the maximum number of BARs per function*/#define IXP425_PCI_MAX_BAR_PER_FUNC  6#define IXP425_PCI_MAX_BAR (IXP425_PCI_MAX_BAR_PER_FUNC *	\			    IXP425_PCI_MAX_FUNC_ON_BUS)#define PCI_NP_CBE_BESL	 (4)#define PCI_NP_AD_FUNCSL (8)#define REG_WRITE(b,o,v) (*(volatile unsigned int*)((b+o))=(v))#define REG_READ(b,o,v)	 ((v)=(*(volatile unsigned int*)((b+o))))#define PCI_DELAY	500#define USEC_LOOP_COUNT 533#define PCI_SETTLE_USEC 200#define PCI_MIN_RESET_ASSERT_USEC 2000/*Register addressing definitions for PCI controller configuration  and status registers*/#define PCI_CSR_BASE (0xC0000000)/*#define PCI_NP_AD_OFFSET       (0x00)#define PCI_NP_CBE_OFFSET      (0x04)#define PCI_NP_WDATA_OFFSET    (0x08)#define PCI_NP_RDATA_OFFSET    (0x0C)#define PCI_CRP_OFFSET	       (0x10)#define PCI_CRP_WDATA_OFFSET   (0x14)#define PCI_CRP_RDATA_OFFSET   (0x18)#define PCI_CSR_OFFSET	       (0x1C)#define PCI_ISR_OFFSET	       (0x20)#define PCI_INTEN_OFFSET       (0x24)#define PCI_DMACTRL_OFFSET     (0x28)#define PCI_AHBMEMBASE_OFFSET  (0x2C)#define PCI_AHBIOBASE_OFFSET   (0x30)#define PCI_PCIMEMBASE_OFFSET  (0x34)#define PCI_AHBDOORBELL_OFFSET (0x38)#define PCI_PCIDOORBELL_OFFSET (0x3C)#define PCI_ATPDMA0_AHBADDR    (0x40)#define PCI_ATPDMA0_PCIADDR    (0x44)#define PCI_ATPDMA0_LENADDR    (0x48)#define PCI_ATPDMA1_AHBADDR    (0x4C)#define PCI_ATPDMA1_PCIADDR    (0x50)#define PCI_ATPDMA1_LENADDR    (0x54)#define PCI_PTADMA0_AHBADDR    (0x58)#define PCI_PTADMA0_PCIADDR    (0x5C)#define PCI_PTADMA0_LENADDR    (0x60)#define PCI_PTADMA1_AHBADDR    (0x64)#define PCI_PTADMA1_PCIADDR    (0x68)#define PCI_PTADMA1_LENADDR    (0x6C)*//*Non prefetch registers bit definitions*//*#define NP_CMD_INTACK	   (0x0)#define NP_CMD_SPECIAL	   (0x1)#define NP_CMD_IOREAD	   (0x2)#define NP_CMD_IOWRITE	   (0x3)#define NP_CMD_MEMREAD	   (0x6)#define NP_CMD_MEMWRITE	   (0x7)#define NP_CMD_CONFIGREAD  (0xa)#define NP_CMD_CONFIGWRITE (0xb)*//*define the default setting of the AHB memory base reg*/#define IXP425_PCI_AHBMEMBASE_DEFAULT 0x00010203#define IXP425_PCI_AHBIOBASE_DEFAULT  0x0#define IXP425_PCI_PCIMEMBASE_DEFAULT 0x0/*define the default settings for the controller's BARs*/#ifdef IXP425_PCI_SIMPLE_MAPPING#define IXP425_PCI_BAR_0_DEFAULT 0x00000000#define IXP425_PCI_BAR_1_DEFAULT 0x01000000#define IXP425_PCI_BAR_2_DEFAULT 0x02000000#define IXP425_PCI_BAR_3_DEFAULT 0x03000000#define IXP425_PCI_BAR_4_DEFAULT 0x00000000#define IXP425_PCI_BAR_5_DEFAULT 0x00000000#else#define IXP425_PCI_BAR_0_DEFAULT 0x40000000#define IXP425_PCI_BAR_1_DEFAULT 0x41000000#define IXP425_PCI_BAR_2_DEFAULT 0x42000000#define IXP425_PCI_BAR_3_DEFAULT 0x43000000#define IXP425_PCI_BAR_4_DEFAULT 0x00000000#define IXP425_PCI_BAR_5_DEFAULT 0x00000000#endif/*Configuration Port register bit definitions*/#define PCI_CRP_WRITE BIT(16)/*ISR (Interrupt status) Register bit definitions*/#define PCI_ISR_PSE   BIT(0)#define PCI_ISR_PFE   BIT(1)#define PCI_ISR_PPE   BIT(2)#define PCI_ISR_AHBE  BIT(3)#define PCI_ISR_APDC  BIT(4)#define PCI_ISR_PADC  BIT(5)#define PCI_ISR_ADB   BIT(6)#define PCI_ISR_PDB   BIT(7)/*INTEN (Interrupt Enable) Register bit definitions*/#define PCI_INTEN_PSE	BIT(0)#define PCI_INTEN_PFE	BIT(1)#define PCI_INTEN_PPE	BIT(2)#define PCI_INTEN_AHBE	BIT(3)#define PCI_INTEN_APDC	BIT(4)#define PCI_INTEN_PADC	BIT(5)#define PCI_INTEN_ADB	BIT(6)#define PCI_INTEN_PDB	BIT(7)/*PCI configuration regs.*/#define PCI_CFG_VENDOR_ID	0x00#define PCI_CFG_DEVICE_ID	0x02#define PCI_CFG_COMMAND		0x04#define PCI_CFG_STATUS		0x06#define PCI_CFG_REVISION	0x08#define PCI_CFG_PROGRAMMING_IF	0x09#define PCI_CFG_SUBCLASS	0x0a#define PCI_CFG_CLASS		0x0b#define PCI_CFG_CACHE_LINE_SIZE 0x0c#define PCI_CFG_LATENCY_TIMER	0x0d#define PCI_CFG_HEADER_TYPE	0x0e#define PCI_CFG_BIST		0x0f#define PCI_CFG_BASE_ADDRESS_0	0x10#define PCI_CFG_BASE_ADDRESS_1	0x14#define PCI_CFG_BASE_ADDRESS_2	0x18#define PCI_CFG_BASE_ADDRESS_3	0x1c#define PCI_CFG_BASE_ADDRESS_4	0x20#define PCI_CFG_BASE_ADDRESS_5	0x24#define PCI_CFG_CIS		0x28#define PCI_CFG_SUB_VENDOR_ID	0x2c#define PCI_CFG_SUB_SYSTEM_ID	0x2e#define PCI_CFG_EXPANSION_ROM	0x30#define PCI_CFG_RESERVED_0	0x34#define PCI_CFG_RESERVED_1	0x38#define PCI_CFG_DEV_INT_LINE	0x3c#define PCI_CFG_DEV_INT_PIN	0x3d#define PCI_CFG_MIN_GRANT	0x3e#define PCI_CFG_MAX_LATENCY	0x3f#define PCI_CFG_SPECIAL_USE	0x41#define PCI_CFG_MODE		0x43/*Specify the initial command we send to PCI devices*/#define INITIAL_PCI_CMD (PCI_CMD_IO_ENABLE	   \			 | PCI_CMD_MEM_ENABLE	   \			 | PCI_CMD_MASTER_ENABLE   \			 | PCI_CMD_WI_ENABLE)/*define the sub vendor and subsystem to be used */#define IXP425_PCI_SUB_VENDOR_SYSTEM 0x00000000#define PCI_IRQ_LINES		4#define PCI_CMD_IO_ENABLE	0x0001	/* IO access enable */#define PCI_CMD_MEM_ENABLE	0x0002	/* memory access enable */#define PCI_CMD_MASTER_ENABLE	0x0004	/* bus master enable */#define PCI_CMD_MON_ENABLE	0x0008	/* monitor special cycles enable */#define PCI_CMD_WI_ENABLE	0x0010	/* write and invalidate enable */#define PCI_CMD_SNOOP_ENABLE	0x0020	/* palette snoop enable */#define PCI_CMD_PERR_ENABLE	0x0040	/* parity error enable */#define PCI_CMD_WC_ENABLE	0x0080	/* wait cycle enable */#define PCI_CMD_SERR_ENABLE	0x0100	/* system error enable */#define PCI_CMD_FBTB_ENABLE	0x0200	/* fast back to back enable *//*CSR Register bit definitions*/#define PCI_CSR_HOST  BIT(0)#define PCI_CSR_ARBEN BIT(1)#define PCI_CSR_ADS   BIT(2)#define PCI_CSR_PDS   BIT(3)#define PCI_CSR_ABE   BIT(4)#define PCI_CSR_DBT   BIT(5)#define PCI_CSR_ASE   BIT(8)#define PCI_CSR_IC    BIT(15)/*Configuration command bit definitions*/#define PCI_CFG_CMD_IOAE BIT(0)#define PCI_CFG_CMD_MAE	 BIT(1)#define PCI_CFG_CMD_BME	 BIT(2)#define PCI_CFG_CMD_MWIE BIT(4)#define PCI_CFG_CMD_SER	 BIT(8)#define PCI_CFG_CMD_FBBE BIT(9)#define PCI_CFG_CMD_MDPE BIT(24)#define PCI_CFG_CMD_STA	 BIT(27)#define PCI_CFG_CMD_RTA	 BIT(28)#define PCI_CFG_CMD_RMA	 BIT(29)#define PCI_CFG_CMD_SSE	 BIT(30)#define PCI_CFG_CMD_DPE	 BIT(31)/*DMACTRL DMA Control and status Register*/#define PCI_DMACTRL_APDCEN  BIT(0)#define PCI_DMACTRL_APDC0   BIT(4)#define PCI_DMACTRL_APDE0   BIT(5)#define PCI_DMACTRL_APDC1   BIT(6)#define PCI_DMACTRL_APDE1   BIT(7)#define PCI_DMACTRL_PADCEN  BIT(8)#define PCI_DMACTRL_PADC0   BIT(12)#define PCI_DMACTRL_PADE0   BIT(13)#define PCI_DMACTRL_PADC1   BIT(14)#define PCI_DMACTRL_PADE1   BIT(15)/* GPIO related register */#undef IXP425_GPIO_GPOUTR#undef IXP425_GPIO_GPOER#undef IXP425_GPIO_GPINR#undef IXP425_GPIO_GPISR#undef IXP425_GPIO_GPIT1R#undef IXP425_GPIO_GPIT2R#undef IXP425_GPIO_GPCLKR#define IXP425_GPIO_GPOUTR	0xC8004000#define IXP425_GPIO_GPOER	0xC8004004#define IXP425_GPIO_GPINR	0xC8004008#define IXP425_GPIO_GPISR	0xC800400C#define IXP425_GPIO_GPIT1R	0xC8004010#define IXP425_GPIO_GPIT2R	0xC8004014#define IXP425_GPIO_GPCLKR	0xC8004018#define READ_GPIO_REG(addr,val) \		(val) = *((volatile int *)(addr));#define WRITE_GPIO_REG(addr,val) \		*((volatile int *)(addr)) = (val);#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲电影视频在线| 国产精品欧美久久久久一区二区| 国产麻豆日韩欧美久久| 同产精品九九九| 亚洲一区二区三区精品在线| 曰韩精品一区二区| 亚洲一卡二卡三卡四卡五卡| 成人欧美一区二区三区白人| 综合久久久久久| 亚洲激情欧美激情| 婷婷夜色潮精品综合在线| 午夜av一区二区三区| 亚洲1区2区3区4区| 日本人妖一区二区| 激情六月婷婷久久| 国产成人免费在线观看| 成人免费看的视频| 95精品视频在线| 欧美日韩大陆在线| 精品国产免费一区二区三区香蕉| 久久久精品中文字幕麻豆发布| 国产日韩高清在线| 亚洲精品中文字幕乱码三区| 亚洲一区二区五区| 捆绑紧缚一区二区三区视频| 国产精品自产自拍| 日本电影欧美片| 欧美电影精品一区二区| 国产色91在线| 一区二区三区精品视频在线| 蜜桃av一区二区在线观看| 国内成人精品2018免费看| 懂色一区二区三区免费观看| 欧美在线免费观看视频| 欧美电影免费提供在线观看| 国产精品成人午夜| 午夜久久久久久久久久一区二区| 国产一区二区三区四 | 欧美日韩极品在线观看一区| 欧美一区二区三区公司| 国产精品色噜噜| 日韩激情一二三区| 成人午夜视频网站| 91精品国产欧美日韩| 国产人成亚洲第一网站在线播放| 亚洲午夜精品久久久久久久久| 国产一区视频网站| 欧美日韩美女一区二区| 中文在线资源观看网站视频免费不卡| 午夜精品久久久久久久蜜桃app| 国产精品99久久久久久有的能看 | 国产精品网曝门| 日韩精品免费视频人成| 91在线视频播放| 精东粉嫩av免费一区二区三区| 91福利视频网站| 日韩欧美电影在线| 亚洲激情在线播放| 成人激情综合网站| 色先锋aa成人| 日韩一区二区视频在线观看| 国产日韩成人精品| 中文字幕一区二区三区不卡| 亚洲色图清纯唯美| 六月丁香婷婷色狠狠久久| 91亚洲大成网污www| 日韩精品一区二区三区蜜臀| 麻豆精品视频在线观看免费| 欧美一二三四区在线| 尤物av一区二区| 欧美日韩电影在线| 国产盗摄女厕一区二区三区| 国产精品午夜久久| 91精品一区二区三区久久久久久 | 久久久蜜桃精品| 色综合久久久久久久久| 精品美女一区二区三区| 日韩经典中文字幕一区| 亚洲自拍偷拍网站| 日韩一区二区高清| 亚洲va欧美va国产va天堂影院| 欧美日韩高清一区二区不卡| 91亚洲资源网| 国产欧美精品一区二区色综合| 久久综合色之久久综合| 成人免费视频网站在线观看| 国产一区二区三区免费播放 | 色一情一伦一子一伦一区| 国产剧情一区二区| 中文字幕综合网| 亚洲另类一区二区| 国产调教视频一区| 日韩一区有码在线| 欧美一级片免费看| 亚洲国产精品99久久久久久久久| 欧美在线不卡视频| 一区二区高清免费观看影视大全 | 中文字幕av在线一区二区三区| 蜜桃一区二区三区在线| 7777女厕盗摄久久久| 久久成人综合网| 精品久久久久久久久久久久包黑料 | 狠狠色狠狠色综合日日91app| 欧美mv和日韩mv国产网站| 国产福利一区二区| 亚洲免费观看视频| 91精品免费在线| 国产成人小视频| 悠悠色在线精品| 精品美女一区二区三区| 99精品欧美一区| 日韩精品乱码av一区二区| 久久久精品黄色| 日韩精品专区在线影院观看| 国产在线视频一区二区三区| 国产精品你懂的在线欣赏| 欧美日韩国产在线播放网站| 国产精品一区免费视频| 国产精品成人一区二区艾草| 在线不卡a资源高清| 国产成人av一区二区三区在线 | 国产女人水真多18毛片18精品视频| 99国产精品久久久久久久久久| 午夜精品视频在线观看| 国产日韩精品一区二区三区在线| 日本丰满少妇一区二区三区| 国产乱理伦片在线观看夜一区| 亚洲资源在线观看| 欧美国产日韩一二三区| 日韩一区二区中文字幕| 91福利精品视频| 成人激情小说乱人伦| 日韩av一二三| 亚洲一二三专区| 中文字幕中文在线不卡住| 亚洲精品在线电影| 欧美日韩国产首页| 色女孩综合影院| jiyouzz国产精品久久| 国内精品伊人久久久久av一坑| 亚洲一区二区三区四区在线 | 91久久国产综合久久| 成人黄色一级视频| 国产成人av一区二区三区在线观看| 日韩黄色一级片| 亚洲国产精品久久久久秋霞影院 | 久久综合九色综合久久久精品综合| 欧美在线不卡一区| 色8久久人人97超碰香蕉987| a4yy欧美一区二区三区| 成人精品视频一区| 丰满少妇在线播放bd日韩电影| 国产一区二区在线视频| 狠狠色丁香久久婷婷综合丁香| 蜜桃传媒麻豆第一区在线观看| 日本欧美一区二区| 日本麻豆一区二区三区视频| 日精品一区二区| 蜜桃一区二区三区在线| 麻豆精品视频在线| 久久99精品久久久久久动态图 | 日本不卡一区二区| 免费看欧美女人艹b| 奇米精品一区二区三区在线观看| 亚洲国产va精品久久久不卡综合| 玉足女爽爽91| 日韩1区2区日韩1区2区| 蜜桃免费网站一区二区三区| 国产一区二区三区在线观看免费 | 风流少妇一区二区| 成人免费视频caoporn| 91一区二区在线观看| 日本韩国欧美在线| 91麻豆精品国产自产在线观看一区| 欧美电影影音先锋| 337p粉嫩大胆色噜噜噜噜亚洲| 久久久国产精华| 18成人在线观看| 亚洲成人久久影院| 狠狠色丁香婷婷综合久久片| 成人av在线电影| 欧美精品日韩一本| 精品国产一区二区三区不卡| 中文字幕不卡在线播放| 亚洲午夜久久久久久久久电影院| 日本vs亚洲vs韩国一区三区 | 精品中文字幕一区二区| 风间由美中文字幕在线看视频国产欧美| 成人网在线播放| 欧美色图片你懂的| 久久久久久久综合日本| 中文字幕亚洲欧美在线不卡| 午夜电影一区二区| 成人自拍视频在线观看| 精品1区2区3区| 欧美韩国日本综合| 亚洲1区2区3区视频| 不卡一区二区三区四区| 91精品国产一区二区三区 | 香蕉久久一区二区不卡无毒影院 |