<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText30054 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hi,</FONT></DIV></DIV>
<DIV dir=ltr>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Following text is from "/usr/local/linux/Doumentation/dev-interface":</FONT></DIV>
<DIV><FONT face=Arial size=2>----------------------------------------------------------------------------------------------------------------------------------</FONT></DIV>
<DIV>You can do SMBus level transactions (see documentation file smbus-protocol<BR>for details) through the following functions:<BR>&nbsp; __s32 i2c_smbus_write_quick(int file, __u8 value);<BR>&nbsp; __s32 i2c_smbus_read_byte(int file);<BR>&nbsp; __s32 i2c_smbus_write_byte(int file, __u8 value);<BR>&nbsp; __s32 i2c_smbus_read_byte_data(int file, __u8 command);<BR>&nbsp; __s32 i2c_smbus_write_byte_data(int file, __u8 command, __u8 value);<BR>&nbsp; __s32 i2c_smbus_read_word_data(int file, __u8 command);<BR>&nbsp; __s32 i2c_smbus_write_word_data(int file, __u8 command, __u16 value);<BR>&nbsp; __s32 i2c_smbus_process_call(int file, __u8 command, __u16 value);<BR>&nbsp; __s32 i2c_smbus_read_block_data(int file, __u8 command, __u8 *values);<BR>&nbsp; __s32 i2c_smbus_write_block_data(int file, __u8 command, __u8 length,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; __u8 *values);</DIV>
<DIV>---------------------------------------------------------------------------------------</DIV>
<DIV>&nbsp;</DIV>
<DIV>I searched in the 2.6.13 version of Timesys and Suse linux, but I didn't find definition or declaration in file '/usr/include/linux/i2c-dev.h' and '/usr/include/linux/i2c.h'.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Am I missing any information about the location of the above functions?</DIV>
<DIV>Do I need to implement the above functions?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks and Regards,</DIV>
<DIV>Sachin Rane</DIV>
<DIV>&nbsp;</DIV></DIV></BODY></HTML>