Skip to contentSkip to conversation

IOCTL implementation in i2c Hostt/master controllers

DISCUSSION vidhumouli hunsigida 2 participants 2 messages Sep 2, 2008 1 message not in the archive I2C subsystem host drivers

lore
Share & tools
lore
#0 lore raw

I forgot to ask the question.....

Can any one give me a poointer to any link/document from where I can understand the flow correctly?

Thanks.

----- Original Message ----
From: vidhumouli hunsigida <hv_mouli-/[email protected]>
To: [email protected]
Sent: Tuesday, September 2, 2008 10:51:51 AM
Subject: [i2c] IOCTL implementation in i2c Hostt/master controllers

Hi all,

I am a new joinee in this group. I am trying to understand how the ioctl call flow happens in the i2c driver in Linux.

I mean the flow from ioctl in application to lowerlest level of driver call?

Thanks alot in advace.

-Vidhumouli

_______________________________________________
i2c mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/i2c

#2 lore raw
In reply to a message not in the archive

Hi Vidhumouli,

Quoted 4 lines · vidhumouli hunsigida

I forgot to ask the question.....

Can any one give me a poointer to any link/document from where I can understand the flow correctly?

The only document we have is Documentation/i2c/dev-interface in the kernel source tree:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob_plain;f=Documentation/i2c/dev-interface

However it describes the API to /dev/i2c-N, not the flow from your application to the I2C bus driver. For that, maybe the best we have is this picture:
http://www.lm-sensors.org/attachment/wiki/Documentation/layers.gif
But it's not necessarily very clear.

(And it shouldn't be on the lm-sensors.org wiki, but that's another story.)

Signature · 6 lines
Jean Delvare

_______________________________________________
i2c mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/i2c