linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Eugene Surovegin <ebs@ebshome.net>
To: Sachin Rane <SRane@alphion.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Couldn't find reference for i2c_smbus functinos
Date: Wed, 20 Sep 2006 10:14:50 -0700	[thread overview]
Message-ID: <20060920171450.GA30655@gate.ebshome.net> (raw)
In-Reply-To: <8584FDC94AFF7640B17B8A89B23B19B34F6576@sbsserver.AlphionCorp.local>

On Wed, Sep 20, 2006 at 11:07:52AM -0400, Sachin Rane wrote:
> Hi,
>  
> Following text is from "/usr/local/linux/Doumentation/dev-interface":
> ----------------------------------------------------------------------------------------------------------------------------------
> You can do SMBus level transactions (see documentation file smbus-protocol
> for details) through the following functions:
>   __s32 i2c_smbus_write_quick(int file, __u8 value);
>   __s32 i2c_smbus_read_byte(int file);
>   __s32 i2c_smbus_write_byte(int file, __u8 value);
>   __s32 i2c_smbus_read_byte_data(int file, __u8 command);
>   __s32 i2c_smbus_write_byte_data(int file, __u8 command, __u8 value);
>   __s32 i2c_smbus_read_word_data(int file, __u8 command);
>   __s32 i2c_smbus_write_word_data(int file, __u8 command, __u16 value);
>   __s32 i2c_smbus_process_call(int file, __u8 command, __u16 value);
>   __s32 i2c_smbus_read_block_data(int file, __u8 command, __u8 *values);
>   __s32 i2c_smbus_write_block_data(int file, __u8 command, __u8 length,
>                                    __u8 *values);
> ---------------------------------------------------------------------------------------
>  
> 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'.

Please, look for this functions in the kernel source tree, not in 
user-space headers.

-- 
Eugene

      parent reply	other threads:[~2006-09-20 17:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <8584FDC94AFF7640B17B8A89B23B19B34F6573@sbsserver.AlphionCorp.local>
2006-09-20 15:07 ` Couldn't find reference for i2c_smbus functinos Sachin Rane
2006-09-20 16:27   ` Jenkins, Clive
2006-09-20 17:14   ` Eugene Surovegin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060920171450.GA30655@gate.ebshome.net \
    --to=ebs@ebshome.net \
    --cc=SRane@alphion.com \
    --cc=linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).