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

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

?? i2o.h

?? uboot for twarm board
?? 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久久久久久有的能看| 成人a区在线观看| 国产精品欧美精品| 91热门视频在线观看| 综合久久久久久久| 欧美日韩一区高清| 三级不卡在线观看| 久久久久久久久久久久久久久99 | 久久精品国产免费| 久久久久久久综合日本| 成人午夜视频在线| 一片黄亚洲嫩模| 欧美www视频| www.在线欧美| 视频在线观看一区二区三区| 精品国产a毛片| 91丨九色丨黑人外教| 午夜精品123| 亚洲国产精品高清| 欧美性淫爽ww久久久久无| 久久丁香综合五月国产三级网站| 亚洲国产精品二十页| 欧美日韩亚洲不卡| 国产精品一级片在线观看| 亚洲一区二区在线观看视频| 日韩欧美国产电影| 91麻豆123| 久久精品国产免费看久久精品| 国产精品护士白丝一区av| 欧美乱妇15p| 国产成人av福利| 日本美女一区二区| 亚洲丝袜另类动漫二区| 欧美一级电影网站| 91成人在线观看喷潮| 国产一区二区久久| 亚洲bt欧美bt精品777| 国产欧美日韩三级| 日韩精品中文字幕在线不卡尤物 | 欧美日韩一区二区欧美激情| 国产一区二区三区蝌蚪| 亚洲一区二区黄色| 国产精品午夜在线观看| 日韩一卡二卡三卡国产欧美| 色av成人天堂桃色av| 国产一区二区不卡| 日本不卡一区二区三区| 日韩毛片精品高清免费| 精品欧美一区二区久久| 欧美精品视频www在线观看| 99精品热视频| 国产福利91精品| 久久电影网站中文字幕| 天涯成人国产亚洲精品一区av| 日韩美女视频19| 国产精品久久久久7777按摩 | 在线观看欧美日本| 高清在线观看日韩| 精品一区二区在线免费观看| 三级影片在线观看欧美日韩一区二区| 亚洲欧洲成人自拍| 中文字幕av不卡| 欧美国产精品一区二区三区| 欧美va在线播放| 日韩欧美国产一区二区三区| 91精品国产欧美一区二区18| 欧美日韩在线免费视频| 欧美在线免费播放| 欧美系列亚洲系列| 欧美日韩卡一卡二| 欧美视频中文字幕| 欧美视频在线观看一区| 在线亚洲一区二区| 欧美日韩国产综合一区二区三区 | 国产精品国产自产拍在线| 日本一区二区三区四区在线视频| 精品国产乱码久久久久久夜甘婷婷| 欧美岛国在线观看| 日韩一区二区三免费高清| 日韩一区二区免费电影| 精品盗摄一区二区三区| 久久久久久免费网| 国产欧美日韩视频一区二区| 国产精品婷婷午夜在线观看| 亚洲欧洲一区二区三区| 亚洲九九爱视频| 午夜伦欧美伦电影理论片| 日本中文在线一区| 国产毛片精品视频| 成人国产电影网| 欧美在线免费视屏| 日韩一区二区免费电影| 国产午夜精品一区二区| 亚洲男人的天堂在线aⅴ视频| 一区二区三区日韩欧美精品| 婷婷综合另类小说色区| 卡一卡二国产精品| 成人午夜视频在线观看| 欧亚一区二区三区| 欧美一区二区精品| 国产亚洲精品bt天堂精选| 亚洲青青青在线视频| 日韩国产欧美在线播放| 国产成人免费av在线| 色香色香欲天天天影视综合网| 欧美人妇做爰xxxⅹ性高电影 | 日本一区二区三区四区| 亚洲欧洲日本在线| 亚洲成av人片在线观看无码| 捆绑变态av一区二区三区| 成人黄色软件下载| 欧美精品视频www在线观看| 久久精品免视看| 亚洲一区视频在线观看视频| 久久69国产一区二区蜜臀| av男人天堂一区| 欧美一级艳片视频免费观看| 欧美国产欧美亚州国产日韩mv天天看完整| 一二三区精品福利视频| 国产一区二区三区四区五区入口| 91黄色激情网站| 精品国产乱码久久久久久图片| 亚洲精品精品亚洲| 国产一区二区视频在线| 欧美性色黄大片| 国产欧美日韩综合| 91免费小视频| 欧美不卡视频一区| 亚洲男帅同性gay1069| 国产精品亚洲综合一区在线观看| 欧美视频日韩视频在线观看| 欧美国产欧美综合| 久国产精品韩国三级视频| 色偷偷久久人人79超碰人人澡| 久久婷婷国产综合精品青草| 亚洲一区二区在线免费观看视频| 国产成人av电影在线| 欧美一卡在线观看| 亚洲一区在线视频| 99久久免费精品高清特色大片| 久久亚洲捆绑美女| 天天操天天综合网| 欧美综合在线视频| 国产精品高清亚洲| 国产一区二区三区电影在线观看| 欧美色视频一区| 亚洲综合色区另类av| av成人动漫在线观看| 国产日韩欧美精品电影三级在线| 蜜桃一区二区三区在线| 欧美日韩电影在线| 亚洲第一成人在线| 在线视频你懂得一区二区三区| 国产欧美1区2区3区| 国产在线国偷精品产拍免费yy| 日韩欧美自拍偷拍| 日韩精品91亚洲二区在线观看| 在线观看日韩国产| 亚洲欧美一区二区三区孕妇| 99这里都是精品| 亚洲欧美中日韩| 色吧成人激情小说| 一区二区三区欧美久久| 色偷偷一区二区三区| 亚洲欧美色图小说| 欧美性猛交xxxxxx富婆| 夜夜爽夜夜爽精品视频| 欧洲av一区二区嗯嗯嗯啊| 亚洲自拍都市欧美小说| 欧美日韩一级片网站| 婷婷丁香久久五月婷婷| 这里是久久伊人| 久久99这里只有精品| 久久婷婷一区二区三区| 成人教育av在线| 亚洲裸体xxx| 欧美少妇xxx| 日韩av电影免费观看高清完整版| 日韩三级高清在线| 精品在线播放免费| 国产三级欧美三级日产三级99 | 另类欧美日韩国产在线| 欧美r级电影在线观看| 国产精品1区2区3区| 国产精品欧美精品| 色av成人天堂桃色av| 午夜精品视频一区| 精品国产91洋老外米糕| 成人av午夜影院| 午夜私人影院久久久久| 精品久久久久久无| 成人免费福利片| 亚洲成人精品一区| 久久久午夜电影| 一本久久a久久精品亚洲| 天天亚洲美女在线视频| 国产日韩精品一区| 色婷婷国产精品综合在线观看| 日韩精品高清不卡|