Lines Matching refs:nmsgs
335 int nmsgs = read_write == I2C_SMBUS_READ ? 2 : 1;
361 nmsgs = 1;
367 nmsgs = 1;
388 nmsgs = 2; /* Special case */
415 nmsgs = 2; /* Another special case */
459 if (nmsgs == 1) /* Write only */
465 if (msg[nmsgs - 1].flags & I2C_M_RD)
466 msg[nmsgs - 1].len++;
469 status = __i2c_transfer(adapter, msg, nmsgs);
472 if (status != nmsgs) {
479 if (wants_pec && (msg[nmsgs - 1].flags & I2C_M_RD)) {
480 status = i2c_smbus_check_pec(partial_pec, &msg[nmsgs - 1]);