Lines Matching refs:I2C
11 I2C device files are character device files with major device number 89
49 int addr = 0x40; /* The I2C address */
57 I2C to communicate with your device. SMBus commands are preferred if
72 /* Using I2C Write, equivalent of
81 /* Using I2C Read, equivalent of i2c_smbus_read_byte(file) */
88 Note that only a subset of the I2C and SMBus protocols can be achieved by
176 when you use the /dev interface to I2C:
183 respectively. You can think of i2c-dev as a generic I2C chip driver
192 i2c-dev. Examples include I2C_FUNCS, which queries the I2C adapter
199 and calls that would have been performed by kernel I2C chip drivers
200 directly. This means that I2C bus drivers don't need to implement
204 implementation of your I2C bus driver. Each adapter must declare
212 After your I2C bus driver has processed these requests, execution runs