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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? iic_piix4.c

?? IIC驅(qū)動(dòng)---MIPS平臺(tái)之Sead開(kāi)發(fā)板
?? C
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
/************************************************************************ * *      iic_piix4.c * *      The 'IIC_PIIX4' module implements the IIC device driver *      interface to be used via 'IIC' device driver services: * *        1) init  serial device:  configure and initialize IIC driver *        2) open  serial device:  not used *        3) close serial device:  not used *        4) read  serial device:  read IIC device *        5) write serial device:  write IIC device *        6) ctrl  serial device:  a) write+read IIC device *                                 b) test IIC device * * * ###################################################################### * * mips_start_of_legal_notice *  * Copyright (c) 2006 MIPS Technologies, Inc. All rights reserved. * * * Unpublished rights (if any) reserved under the copyright laws of the * United States of America and other countries. * * This code is proprietary to MIPS Technologies, Inc. ("MIPS * Technologies"). Any copying, reproducing, modifying or use of this code * (in whole or in part) that is not expressly permitted in writing by MIPS * Technologies or an authorized third party is strictly prohibited. At a * minimum, this code is protected under unfair competition and copyright * laws. Violations thereof may result in criminal penalties and fines. * * MIPS Technologies reserves the right to change this code to improve * function, design or otherwise. MIPS Technologies does not assume any * liability arising out of the application or use of this code, or of any * error or omission in such code. Any warranties, whether express, * statutory, implied or otherwise, including but not limited to the implied * warranties of merchantability or fitness for a particular purpose, are * excluded. Except as expressly provided in any written license agreement * from MIPS Technologies or an authorized third party, the furnishing of * this code does not give recipient any license to any intellectual * property rights, including any patent rights, that cover this code. * * This code shall not be exported, reexported, transferred, or released, * directly or indirectly, in violation of the law of any country or * international law, regulation, treaty, Executive Order, statute, * amendments or supplements thereto. Should a conflict arise regarding the * export, reexport, transfer, or release of this code, the laws of the * United States of America shall be the governing law. * * This code constitutes one or more of the following: commercial computer * software, commercial computer software documentation or other commercial * items. If the user of this code, or any related documentation of any * kind, including related technical data or manuals, is an agency, * department, or other entity of the United States government * ("Government"), the use, duplication, reproduction, release, * modification, disclosure, or transfer of this code, or any related * documentation of any kind, is restricted in accordance with Federal * Acquisition Regulation 12.212 for civilian agencies and Defense Federal * Acquisition Regulation Supplement 227.7202 for military agencies. The use * of this code by the Government is further restricted in accordance with * the terms of the license agreement(s) and/or applicable contract terms * and conditions covering this code from MIPS Technologies or an authorized * third party. * * * *  * mips_end_of_legal_notice *  * ************************************************************************//************************************************************************ *      Include files ************************************************************************/#include <sysdefs.h>#include <sys_api.h>#include <io_api.h>#include <syserror.h>#include <syscon_api.h>#include <sysdev.h>#include <iic_api.h>#include <iic_piix4_api.h>#include <piix4.h>/************************************************************************ *      Definitions ************************************************************************/#define SMB_WRITE( offset, data ) \    REG8( sys_reg_addr( bigend, sizeof(UINT8), base, offset ) ) = data;#define SMB_READ( offset, p_data ) \    *p_data = REG8( sys_reg_addr( bigend, sizeof(UINT8), base, offset ) );/************************************************************************ *  Macro Definitions*************************************************************************//************************************************************************ *      Public variables ************************************************************************//************************************************************************ *      Static variables ************************************************************************/static void *base;static bool bigend;/************************************************************************ *      Static function prototypes ************************************************************************/static INT32 iic_piix4_init(    UINT32 major,		/* IN: major device number             */    UINT32 minor,		/* IN: minor device number             */    void   *param );		/* INOUT: device parameter block       */static INT32 iic_piix4_read(    UINT32 major,		/* IN: major device number             */    UINT32 minor,		/* IN: minor device number             */    t_IIC_read_descriptor *param );  /* INOUT: read buffer	       */static INT32 iic_piix4_write(    UINT32 major,		/* IN: major device number             */    UINT32 minor,		/* IN: minor device number             */    t_IIC_write_descriptor *param );	     /* IN: write buffer       */static INT32 iic_piix4_ctrl(    UINT32 major,		/* IN: major device number             */    UINT32 minor,		/* IN: minor device number             */    t_IIC_ctrl_descriptor *param );	     /* INOUT: IIC device data */static void iic_piix4_poll( void );/************************************************************************ *      Implementation : Static functions ************************************************************************//************************************************************************ * *                          iic_piix4_init *  Description : *  ------------- *  This service initializes the IIC driver * *  Parameters : *  ------------ * *  'major',     IN,    major device number *  'minor',     IN,    not used *  'param',     INOUT, not used * *  Return values : *  --------------- * *  'OK'(=0) or error code * ************************************************************************/static INT32 iic_piix4_init(    UINT32 major,		/* IN: major device number             */    UINT32 minor,		/* IN: minor device number             */    void   *param )		/* INOUT: device parameter block       */{    SYSCON_read( SYSCON_BOARD_PIIX4_SMB_BASE_ID,		 (void *)&base,		 sizeof(UINT32) );    base = (void *)KSEG1( (UINT32)base );    SYSCON_read( SYSCON_COM_PIIX4_IIC_BIGEND_ID,		 (void *)&bigend,		 sizeof(bool) );    return OK;}/************************************************************************ * *                          iic_piix4_read *  Description : *  ------------- *  This service reads data from the specified IIC device into the *  user allocated variable, *param. * *  Parameters : *  ------------ * *  'major',     IN,    major device number *  'minor',     IN,    minor device number for multi device drivers *  'param',     INOUT, variable of type, t_IIC_read_descriptor. * *  Return values : *  --------------- * *  'OK' = 0x00:              IIC device data read into user variable *  'ERROR_IIC_COMM_ERROR':   communication error detected * ************************************************************************/static INT32 iic_piix4_read(    UINT32 major,		/* IN: major device number             */    UINT32 minor,		/* IN: minor device number             */    t_IIC_read_descriptor *param )   /* INOUT: read buffer	       */{    /* TBD : Not ready */    return ERROR_IIC_COMM_ERROR;}/************************************************************************ * *                          iic_piix4_write *  Description : *  ------------- *  This service writes user data to the specified IIC device. * *  Parameters : *  ------------ * *  'major',     IN,    major device number

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美精品vⅰdeose4hd| 国产精品一区二区不卡| 色婷婷av久久久久久久| 综合久久久久久久| 99免费精品视频| 亚洲乱码国产乱码精品精98午夜| 97se亚洲国产综合自在线| 日韩一区中文字幕| 欧美色成人综合| 麻豆91精品视频| 国产日韩欧美a| 色久优优欧美色久优优| 日本成人中文字幕在线视频| 欧美一区二区三区影视| 国产一区二区伦理| 一区二区三区在线影院| 欧美日韩情趣电影| 国内欧美视频一区二区| 国产精品久久久久四虎| 欧美日韩亚洲综合在线| 国产在线国偷精品产拍免费yy| www成人在线观看| 91美女片黄在线观看91美女| 亚洲电影视频在线| 久久婷婷综合激情| 99久久99久久久精品齐齐| 亚洲成av人在线观看| 欧美成人官网二区| jlzzjlzz亚洲女人18| 亚洲午夜影视影院在线观看| 精品电影一区二区| 91麻豆精东视频| 日韩精品一二三| 中文字幕中文字幕一区| 欧美日韩在线播| 国产成人精品一区二区三区四区| 一区二区三区四区在线免费观看| 日本一区二区视频在线| 亚洲欧美激情一区二区| 亚洲国产精华液网站w| 在线欧美日韩精品| 免费在线观看一区| 精品一区二区在线看| www成人在线观看| 国产传媒欧美日韩成人| 亚洲午夜精品一区二区三区他趣| 亚洲精品免费视频| 精品国产免费人成电影在线观看四季 | 日韩精品高清不卡| 色欲综合视频天天天| 中文字幕综合网| 欧美曰成人黄网| 色综合久久久久综合体桃花网| 亚洲综合激情网| 欧美不卡激情三级在线观看| 懂色av噜噜一区二区三区av| 亚洲欧美日韩一区二区| 欧美日韩中字一区| 成人avav影音| 久久精品欧美一区二区三区不卡| 欧洲色大大久久| 黄一区二区三区| 日韩精品一区第一页| 国产精品视频免费| av男人天堂一区| 国产精品911| 亚洲欧美日韩一区二区三区在线观看| 久久综合av免费| 日韩欧美你懂的| 欧美日韩五月天| 欧美最新大片在线看| 国产精品99久久久久久似苏梦涵| 久久国产综合精品| 天堂午夜影视日韩欧美一区二区| 夜夜揉揉日日人人青青一国产精品| 久久久久国产一区二区三区四区| 天天综合天天综合色| 国产成人在线视频网址| 欧美日韩国产精选| 欧美精品一区男女天堂| 国产精品三级久久久久三级| 亚洲精品中文在线| 久久国产视频网| 成人精品高清在线| 欧美日韩国产在线播放网站| 欧美不卡在线视频| 亚洲免费观看在线视频| 蜜臀精品一区二区三区在线观看| 国产91精品一区二区麻豆网站| 91网站在线播放| 精品久久国产字幕高潮| 亚洲天堂a在线| 久久99精品国产麻豆婷婷洗澡| 成人av免费在线| 欧美高清精品3d| 国产精品九色蝌蚪自拍| 日本视频在线一区| www.日韩在线| 欧美成人r级一区二区三区| 136国产福利精品导航| 日本伊人色综合网| 99视频精品全部免费在线| 日韩三级视频在线看| 亚洲欧美区自拍先锋| 国产一区欧美日韩| 欧美日韩高清一区二区三区| 亚洲国产精品成人综合色在线婷婷| 日韩激情一二三区| 色噜噜狠狠成人中文综合| 久久精品在线免费观看| 日韩一区欧美二区| 在线观看亚洲专区| 国产精品国产自产拍高清av王其| 蜜臀av一区二区| 欧美日韩在线综合| 一区二区在线看| 成人国产精品免费网站| 欧美岛国在线观看| 日韩高清不卡一区二区| 91官网在线免费观看| 中文字幕制服丝袜一区二区三区| 韩国欧美一区二区| 欧美刺激脚交jootjob| 香蕉加勒比综合久久| 在线欧美小视频| 亚洲色图视频网| 99精品欧美一区二区三区小说| 久久久国产精华| 狠狠色丁香婷婷综合久久片| 欧美一区二区三区日韩| 午夜精品久久久久久| 色8久久人人97超碰香蕉987| 亚洲欧洲日产国码二区| 豆国产96在线|亚洲| 国产日产欧产精品推荐色| 国内外精品视频| 国产亚洲欧美一级| 国产风韵犹存在线视精品| 久久精品夜色噜噜亚洲aⅴ| 精品午夜一区二区三区在线观看| 日韩欧美国产电影| 看电影不卡的网站| 日韩三级中文字幕| 国产福利精品导航| 亚洲色图色小说| 欧美一a一片一级一片| 亚洲自拍偷拍综合| 91精选在线观看| 狠狠狠色丁香婷婷综合久久五月| 久久亚洲精精品中文字幕早川悠里| 看片的网站亚洲| 国产欧美一区二区三区网站| 成人av电影在线观看| 亚洲欧美日韩久久| 在线成人高清不卡| 精品一区二区国语对白| 国产午夜精品久久久久久免费视 | av爱爱亚洲一区| 一区二区三区中文在线| 欧美婷婷六月丁香综合色| 日韩和欧美的一区| 久久久久久亚洲综合影院红桃| 成人免费毛片嘿嘿连载视频| 亚洲综合色区另类av| 91精品国产综合久久香蕉的特点 | 精品国产一区二区三区久久影院| 国产精品一区二区三区99| 国产精品麻豆一区二区| 欧美亚洲综合久久| 国产麻豆日韩欧美久久| 亚洲欧美在线视频观看| 欧美日韩亚洲综合一区二区三区| 裸体歌舞表演一区二区| 中文字幕视频一区二区三区久| 欧美色精品天天在线观看视频| 精品一区二区三区视频在线观看| 国产精品色呦呦| 欧美日韩高清在线| 从欧美一区二区三区| 亚洲第一久久影院| 中文字幕av免费专区久久| 欧美日韩国产首页在线观看| 久久se这里有精品| 亚洲精品久久久蜜桃| 精品久久久久久久久久久久久久久| 成人动漫精品一区二区| 日日摸夜夜添夜夜添国产精品| 国产目拍亚洲精品99久久精品| 欧美日韩中字一区| 成人丝袜高跟foot| 日韩—二三区免费观看av| 国产精品情趣视频| 91精品国产免费| 色综合天天综合色综合av| 麻豆精品一区二区三区| 亚洲欧美欧美一区二区三区| www国产成人| 777久久久精品| 在线中文字幕不卡| 波多野结衣在线aⅴ中文字幕不卡|