Lines Matching refs:ioctl
51 if (ioctl(file, I2C_SLAVE, addr) < 0) {
103 ioctl(file, I2C_SLAVE, long addr)
108 ioctl(file, I2C_TENBIT, long select)
113 ioctl(file, I2C_PEC, long select)
120 ioctl(file, I2C_FUNCS, unsigned long *funcs)
123 ioctl(file, I2C_RDWR, struct i2c_rdwr_ioctl_data *msgset)
137 set in each message, overriding the values set with the above ioctl's.
139 ioctl(file, I2C_SMBUS, struct i2c_smbus_ioctl_data *args)
145 ioctl I2C_SLAVE before you try to access the device.
167 the i2c_smbus_access function, that on its turn calls a specific ioctl
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
186 3* Some ioctl() calls are for administrative tasks and are handled by
191 4* Other ioctl() calls are converted to in-kernel function calls by
214 package the returned data, if any, in suitable format for the ioctl.