Searched refs:rdwr_arg (Results 1 – 1 of 1) sorted by relevance
186 struct i2c_rdwr_ioctl_data rdwr_arg; in i2cdev_ioctl() local221 if (copy_from_user(&rdwr_arg, in i2cdev_ioctl()223 sizeof(rdwr_arg))) in i2cdev_ioctl()228 if (rdwr_arg.nmsgs > 42) in i2cdev_ioctl()232 kmalloc(rdwr_arg.nmsgs * sizeof(struct i2c_msg), in i2cdev_ioctl()237 if (copy_from_user(rdwr_pa, rdwr_arg.msgs, in i2cdev_ioctl()238 rdwr_arg.nmsgs * sizeof(struct i2c_msg))) { in i2cdev_ioctl()243 data_ptrs = (u8 **) kmalloc(rdwr_arg.nmsgs * sizeof(u8 *), in i2cdev_ioctl()251 for( i=0; i<rdwr_arg.nmsgs; i++ ) in i2cdev_ioctl()285 rdwr_arg.nmsgs); in i2cdev_ioctl()