Searched refs:nmsgs (Results 1 – 1 of 1) sorted by relevance
662 u32 nmsgs; member684 int nmsgs, i; in do_i2c_rdwr_ioctl() local686 if (get_user(nmsgs, &udata->nmsgs)) in do_i2c_rdwr_ioctl()688 if (nmsgs > I2C_RDRW_IOCTL_MAX_MSGS) in do_i2c_rdwr_ioctl()696 nmsgs * sizeof(struct i2c_msg)); in do_i2c_rdwr_ioctl()699 if (put_user(nmsgs, &tdata->cmd.nmsgs) || in do_i2c_rdwr_ioctl()703 for (i = 0; i < nmsgs; i++) { in do_i2c_rdwr_ioctl()