Home
last modified time | relevance | path

Searched refs:rdwr_arg (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/i2c/
H A Di2c-dev.c435 struct i2c_rdwr_ioctl_data rdwr_arg; in i2cdev_ioctl() local
438 if (copy_from_user(&rdwr_arg, in i2cdev_ioctl()
440 sizeof(rdwr_arg))) in i2cdev_ioctl()
443 if (!rdwr_arg.msgs || rdwr_arg.nmsgs == 0) in i2cdev_ioctl()
453 rdwr_pa = memdup_array_user(rdwr_arg.msgs, in i2cdev_ioctl()
528 struct i2c_rdwr_ioctl_data32 rdwr_arg; in compat_i2cdev_ioctl() local
533 if (copy_from_user(&rdwr_arg, in compat_i2cdev_ioctl()
535 sizeof(rdwr_arg))) in compat_i2cdev_ioctl()
538 if (!rdwr_arg.msgs || rdwr_arg.nmsgs == 0) in compat_i2cdev_ioctl()
549 p = compat_ptr(rdwr_arg.msgs); in compat_i2cdev_ioctl()
[all …]