Lines Matching refs:dev
3 the /dev interface. You need to load module i2c-dev for this.
6 examine /sys/class/i2c-dev/ to see what number corresponds to which adapter.
21 first thing to do is "#include <linux/i2c-dev.h>". Please note that
22 there are two files named "i2c-dev.h" out there, one is distributed
29 inspect /sys/class/i2c-dev/ or run "i2cdetect -l" to decide this.
39 snprintf(filename, 19, "/dev/i2c-%d", adapter_nr);
176 when you use the /dev interface to I2C:
178 1* Your program opens /dev/i2c-N and calls ioctl() on it, as described in
181 2* These open() and ioctl() calls are handled by the i2c-dev kernel
182 driver: see i2c-dev.c:i2cdev_open() and i2c-dev.c:i2cdev_ioctl(),
183 respectively. You can think of i2c-dev as a generic I2C chip driver
187 i2c-dev directly. Examples include I2C_SLAVE (set the address of the
192 i2c-dev. Examples include I2C_FUNCS, which queries the I2C adapter
196 The i2c-dev driver is responsible for checking all the parameters that
198 difference between these calls that came from user-space through i2c-dev
213 up the call chain, with almost no processing done, except by i2c-dev to