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

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

?? i2o.h

?? 針對yassylcd的uboot源碼
?? H
字號:
#ifndef I2O_H#define I2O_H/********************************************************* * * copyright @ Motorola, 1999 *********************************************************/#define I2O_REG_OFFSET 0x0004#define PCI_CFG_CLA    0x0B#define PCI_CFG_SCL    0x0A#define PCI_CFG_PIC    0x09#define I2O_IMR0 0x0050#define I2O_IMR1 0x0054#define I2O_OMR0 0x0058#define I2O_OMR1 0x005C#define I2O_ODBR 0x0060#define I2O_IDBR 0x0068#define I2O_OMISR  0x0030#define I2O_OMIMR  0x0034#define I2O_IMISR  0x0100#define I2O_IMIMR  0x0104/* accessable to PCI master but local processor */#define I2O_IFQPR  0x0040#define I2O_OFQPR  0x0044/* accessable to local processor */#define I2O_IFHPR  0x0120#define I2O_IFTPR  0x0128#define I2O_IPHPR  0x0130#define I2O_IPTPR  0x0138#define I2O_OFHPR  0x0140#define I2O_OFTPR  0x0148#define I2O_OPHPR  0x0150#define I2O_OPTPR  0x0158#define I2O_MUCR   0x0164#define I2O_QBAR   0x0170#define I2O_NUM_MSG 2typedef enum _i2o_status{	I2OSUCCESS = 0,	I2OINVALID,	I2OMSGINVALID,	I2ODBINVALID,	I2OQUEINVALID,	I2OQUEEMPTY,	I2OQUEFULL,	I2ONOEVENT,} I2OSTATUS;typedef enum _queue_size{    QSIZE_4K = 0x02,    QSIZE_8K = 0x04,    QSIZE_16K = 0x08,    QSIZE_32K = 0x10,    QSIZe_64K = 0x20,} QUEUE_SIZE;typedef enum _location{    LOCAL = 0,     /* used by local processor to access its own on board device,		      local processor's eumbbar is required */    REMOTE,        /* used by PCI master to access the devices on its PCI device,		      device's pcsrbar is required */} LOCATION;/* door bell */typedef enum _i2o_in_db{  IN_DB = 1,  MC,         /* machine check */} I2O_IN_DB;/* I2O PCI configuration identification */typedef struct _i2o_iop{	unsigned int base_class : 8;	unsigned int sub_class  : 8;	unsigned int prg_code   : 8;} I2OIOP;/* I2O Outbound Message Interrupt Status Register */typedef struct _i2o_om_stat{	unsigned int rsvd0 : 26;	unsigned int opqi  : 1;	unsigned int rsvd1 : 1;	unsigned int odi   : 1;	unsigned int rsvd2 : 1;	unsigned int om1i  : 1;	unsigned int om0i  : 1;} I2OOMSTAT;/* I2O inbound Message Interrupt Status Register */typedef struct _i2o_im_stat{	unsigned int rsvd0 : 23;	unsigned int ofoi  : 1;	unsigned int ipoi  : 1;	unsigned int rsvd1 : 1;	unsigned int ipqi  : 1;	unsigned int mci   : 1;	unsigned int idi   : 1;	unsigned int rsvd2 : 1;	unsigned int im1i  : 1;	unsigned int im0i  : 1;} I2OIMSTAT;/** Enable the interrupt associated with in/out bound msg Inbound message interrupt generated by PCI master and serviced by local processor local processor needs to enable its inbound interrupts it wants to handle (LOCAL) Outbound message interrupt generated by local processor and serviced by PCI master PCI master needs to enable the devices' outbound interrupts it wants to handle (REMOTE) **/extern I2OSTATUS I2OMsgEnable( LOCATION,            /*  REMOTE/LOCAL   */			       unsigned int base,   /* pcsrbar/eumbbar */			       unsigned char n );   /* b'1' - msg 0									     * b'10'- msg 1									     * b'11'- both									     *//** Disable the interrupt associated with in/out bound msg local processor needs to disable its inbound interrupts it is not interested (LOCAL) PCI master needs to disable outbound interrupts of devices it is not interested (REMOTE) **/extern I2OSTATUS I2OMsgDisable( LOCATION,          /*  REMOTE/LOCAL   */				unsigned int base, /* pcsrbar/eumbbar */				unsigned char n ); /* b'1' - msg 0									    * b'10'- msg 1									    * b'11'- both									    *//** Read the msg register either from local inbound msg 0/1, or an outbound msg 0/1 of devices. If it is not local, pcsrbar must be passed to the function. Otherwise eumbbar is passed. If it is remote, outbound msg of the device is read. Otherwise local inbound msg is read. **/extern I2OSTATUS I2OMsgGet ( LOCATION,                 /* REMOTE/LOCAL */			     unsigned int base,        /*pcsrbar/eumbbar */			     unsigned int n,           /* 0 or 1 */			     unsigned int *msg );/** Write to nth Msg register either on local outbound msg 0/1, or aninbound msg 0/1 of devices If it is not local, pcsrbar must be passed to the function. Otherwise eumbbar is passed. If it is remote, inbound msg on the device is written. Otherwise local outbound msg is written. **/extern I2OSTATUS I2OMsgPost( LOCATION,                 /* REMOTE/LOCAL */				unsigned int base,        /*pcsrbar/eumbbar */				unsigned int n,           /* 0 or 1 */				unsigned int msg );/** Enable the In/Out DoorBell Interrupt InDoorBell interrupt is generated by PCI master and serviced by local processor local processor needs to enable its inbound doorbell interrupts it wants to handle OutDoorbell interrupt is generated by local processor and serviced by PCI master PCI master needs to enable outbound doorbell interrupts of the devices it wants to handle **/extern I2OSTATUS I2ODBEnable( LOCATION,            /*  REMOTE/LOCAL   */			      unsigned int base,   /* pcsrbar/eumbbar */			      unsigned int in_db );/* when LOCAL, I2O_IN_DB, MC, I2O_IN_DB|MC *//** Disable the In/Out DoorBell Interrupt local processor needs to disable its inbound doorbell interrupts it is not interested PCI master needs to disable outbound doorbell interrupts of devices it is not interested **/extern I2OSTATUS I2ODBDisable( LOCATION,              /*  REMOTE/LOCAL   */			       unsigned int base,     /* pcsrbar/eumbbar */			       unsigned int in_db );  /* when LOCAL, I2O_IN_DB, MC, I2O_IN_DB|MC *//** Read a local indoorbell register, or an outdoorbell of devices. Reading a doorbell register, the register will be cleared. If it is not local, pcsrbar must be passed to the function. Otherwise eumbbar is passed. If it is remote, outdoorbell register on the device is read. Otherwise local in doorbell is read **/extern unsigned int I2ODBGet( LOCATION,             /*  REMOTE/LOCAL   */			      unsigned int base);   /* pcsrbar/eumbbar *//** Write to a local outdoorbell register, or an indoorbell register of devices. If it is not local, pcsrbar must be passed to the function. Otherwise eumbbar is passed. If it is remote, in doorbell register on the device is written. Otherwise local out doorbell is written **/extern void I2ODBPost( LOCATION,                 /*  REMOTE/LOCAL   */		       unsigned int base,        /* pcsrbar/eumbbar */		       unsigned int msg );       /*   in   / out    *//** Read the outbound msg unit interrupt status of devices. Reading an interrupt status register, the register will be cleared. The outbound interrupt status is AND with the outbound interrupt mask. The result is returned. PCI master must pass the pcsrbar to the function. **/extern I2OSTATUS I2OOutMsgStatGet( unsigned int pcsrbar, I2OOMSTAT * );/** Read the inbound msg unit interrupt status. Reading an interrupt status register, the register will be cleared. The inbound interrupt status is AND with the inbound interrupt mask. The result is returned. Local process must pass its eumbbar to the function.**/extern I2OSTATUS I2OInMsgStatGet( unsigned int eumbbar, I2OIMSTAT * );/** Configure the I2O FIFO, including QBAR, IFHPR/IFTPR,IPHPR/IPTPR,OFHPR/OFTPR, OPHPR/OPTPR, MUCR. **/extern I2OSTATUS I2OFIFOInit( unsigned int eumbbar,					      QUEUE_SIZE,					      unsigned int qba);/* queue base address that must be aligned at 1M *//** Enable the circular queue **/extern I2OSTATUS I2OFIFOEnable( unsigned int eumbbar );/** Disable the circular queue **/extern void I2OFIFODisable( unsigned int eumbbar );/** Enable the circular queue interrupt PCI master enables outbound FIFO interrupt of device Device enables its inbound FIFO interrupt **/extern void I2OFIFOIntEnable( LOCATION, unsigned int base  );/** Disable the circular queue interrupt PCI master disables outbound FIFO interrupt of device Device disables its inbound FIFO interrupt **/extern void I2OFIFOIntDisable( LOCATION, unsigned int base );/** Enable the circular queue overflow interrupt **/extern void I2OFIFOOverflowIntEnable( unsigned int eumbbar );/** Disable the circular queue overflow interrupt **/extern void I2OFIFOOverflowIntDisable( unsigned int eumbbar );/** Allocate a free msg frame from free FIFO. PCI Master allocates a free msg frame through inbound queue port of device(IFQPR) while local processor allocates a free msg frame from outbound free queue(OFTPR) Unless both free queues are initialized, allocating a free MF will return 0xffffffff **/extern I2OSTATUS I2OFIFOAlloc( LOCATION,					       unsigned int base,					       void         **pMsg);/** Free a used msg frame back to free queue PCI Master frees a MFA through outbound queue port of device(OFQPR) while local processor frees a MFA into its inbound free queue(IFHPR) Used msg frame does not need to be recycled in the order they read This function has to be called by PCI master to initialize Inbound free queue and by device to initialize Outbound free queue before I2OFIFOAlloc can be used. **/extern I2OSTATUS I2OFIFOFree( LOCATION,					  unsigned int base,					  void        *pMsg );/** Post a msg into FIFO PCI Master posts a msg through inbound queue port of device(IFQPR) while local processor post a msg into its outbound post queue(OPHPR) The total number of msg must be less than the max size of the queue Otherwise queue overflow interrupt will assert. **/extern I2OSTATUS I2OFIFOPost( LOCATION,				      unsigned int base,				      void         *pMsg );/** Read a msg from FIFO PCI Master reads a msg through outbound queue port of device(OFQPR) while local processor reads a msg from its inbound post queue(IPTPR) **/extern I2OSTATUS I2OFIFOGet( LOCATION,					  unsigned int base,							  void     **pMsg );/** Get the I2O PCI configuration identification register **/extern I2OSTATUS I2OPCIConfigGet( LOCATION,					   unsigned int base,							   I2OIOP *);#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩二区三区| 精品国产一区二区国模嫣然| 国产视频一区在线观看| 亚洲精品菠萝久久久久久久| 久久99蜜桃精品| 色婷婷综合久久| 久久九九全国免费| 天堂资源在线中文精品| 北条麻妃一区二区三区| 7777精品伊人久久久大香线蕉 | 欧美成人精品二区三区99精品| 国产人久久人人人人爽| 三级精品在线观看| 色婷婷激情久久| 久久久久久久精| 日韩精品免费专区| 欧洲视频一区二区| 国产精品天干天干在观线| 日韩精品久久久久久| 91国偷自产一区二区三区成为亚洲经典| 久久影院电视剧免费观看| 午夜精品一区在线观看| voyeur盗摄精品| 26uuu亚洲综合色| 免费成人av资源网| 欧美群妇大交群中文字幕| 亚洲欧美视频一区| av一本久道久久综合久久鬼色| 精品久久人人做人人爰| 蜜臀av在线播放一区二区三区 | 亚洲欧美偷拍卡通变态| 成人在线综合网| 日本一区二区三区电影| 国产伦理精品不卡| www国产成人| 国产麻豆成人精品| 欧美激情中文字幕一区二区| 国产成人免费av在线| 国产日本欧洲亚洲| 成人av网站免费观看| 中文字幕一区三区| 99久久久精品| 一区二区激情小说| 欧美人伦禁忌dvd放荡欲情| 日韩电影免费在线看| 日韩欧美视频一区| 国产一区二区美女| 中文子幕无线码一区tr| 成人av在线电影| 一区二区三区成人| 欧美三级视频在线观看 | 日本一区二区视频在线| 成人av在线资源网站| 综合av第一页| 欧美三级日韩在线| 美女视频免费一区| 国产调教视频一区| 一本到不卡免费一区二区| 亚洲一区在线看| 日韩欧美国产三级电影视频| 国产成人av电影免费在线观看| 一区二区中文字幕在线| 欧美日韩视频不卡| 捆绑调教一区二区三区| 国产精品素人一区二区| 欧美日韩在线播放三区| 蜜乳av一区二区| 看电视剧不卡顿的网站| 久久精品人人做人人综合| 91麻豆成人久久精品二区三区| 亚洲国产三级在线| 久久久欧美精品sm网站| 色综合av在线| 免费成人小视频| 亚洲欧美电影一区二区| 欧美一级专区免费大片| 成人18视频日本| 美女脱光内衣内裤视频久久影院| 日本一区二区三区在线不卡| 欧美日韩大陆一区二区| 高清国产一区二区三区| 五月开心婷婷久久| 中文字幕 久热精品 视频在线| 欧美日韩黄色一区二区| 成人综合激情网| 日产国产高清一区二区三区| 最新不卡av在线| 欧美电影免费提供在线观看| av电影天堂一区二区在线观看| 日韩va亚洲va欧美va久久| 日韩码欧中文字| 久久久久国产精品麻豆ai换脸 | 秋霞影院一区二区| 综合激情成人伊人| 国产亚洲视频系列| 欧美一级理论片| 在线观看日韩国产| 成人听书哪个软件好| 精品一区二区日韩| 日韩在线卡一卡二| 一区二区欧美在线观看| 亚洲国产精品成人综合| 精品国产乱码91久久久久久网站| 欧美日韩在线不卡| 精品国产三级电影在线观看| 欧美日韩国产综合一区二区三区| 99热这里都是精品| 国产成人午夜精品5599| 另类成人小视频在线| 日本最新不卡在线| 午夜激情一区二区| 亚洲国产日韩a在线播放| 日韩一区在线免费观看| 国产精品乱码人人做人人爱| 久久综合久久综合久久| 欧美成人aa大片| 日韩午夜三级在线| 日韩久久久久久| 欧美成人性福生活免费看| 日韩欧美一区二区视频| 日韩精品一区二区三区四区| 日韩欧美成人激情| 精品免费一区二区三区| 精品国产麻豆免费人成网站| 日韩精品一区二区在线| 日韩一级黄色片| 精品三级在线看| 久久精品视频一区| 中文在线免费一区三区高中清不卡| 久久久777精品电影网影网 | 国产欧美日韩久久| 国产精品网友自拍| 亚洲精品美国一| 亚洲va韩国va欧美va| 日韩在线a电影| 国产乱码精品一区二区三| 福利一区福利二区| av中文字幕不卡| 欧美在线不卡视频| 91麻豆精品国产91久久久久久| 日韩午夜三级在线| 欧美经典一区二区三区| 亚洲免费在线观看| 粉嫩一区二区三区性色av| 91视频精品在这里| 欧美老肥妇做.爰bbww视频| 欧美第一区第二区| 国产精品全国免费观看高清 | 色综合久久久久综合99| 精品婷婷伊人一区三区三| 日韩一区二区在线看| 中文在线资源观看网站视频免费不卡 | 亚洲欧美韩国综合色| 日韩一区精品视频| 丁香一区二区三区| 欧美性生交片4| 久久久久久久综合| 伊人色综合久久天天| 麻豆一区二区三区| www.欧美精品一二区| 日韩一区二区三区四区| 日韩一区有码在线| 久久不见久久见免费视频1| 99久久99久久久精品齐齐| 欧美一区二区人人喊爽| 国产精品久久久久aaaa樱花| 日本三级亚洲精品| 成人av网址在线| 精品久久久久久久人人人人传媒| 亚洲视频精选在线| 国内成+人亚洲+欧美+综合在线| 欧美最新大片在线看| 国产女主播一区| 免费观看成人鲁鲁鲁鲁鲁视频| 91小宝寻花一区二区三区| 精品国产伦一区二区三区免费 | 国产视频在线观看一区二区三区| 亚洲午夜精品在线| 波多野结衣精品在线| 精品国内片67194| 午夜欧美在线一二页| 99麻豆久久久国产精品免费 | 成人午夜免费av| 精品蜜桃在线看| 日韩电影在线观看一区| 欧美午夜免费电影| 亚洲乱码国产乱码精品精可以看| 国产成人自拍网| 久久久久久久综合| 激情六月婷婷综合| 欧美一级片在线| 日韩成人精品视频| 欧美久久久久久久久久| 艳妇臀荡乳欲伦亚洲一区| 97se亚洲国产综合自在线观| 国产精品入口麻豆九色| 国产成人在线免费| 国产喷白浆一区二区三区| 国产精品伊人色| 久久久精品日韩欧美|