Lines Matching refs:msgs
1370 static int tegra_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[],
1388 if (msgs[i + 1].flags & I2C_M_NOSTART)
1394 if (msgs[i].flags & I2C_M_RECV_LEN) {
1395 ret = tegra_i2c_xfer_msg(i2c_dev, &msgs[i], MSG_END_CONTINUE);
1399 msgs[i].len += msgs[i].buf[0];
1400 dev_dbg(i2c_dev->dev, "reading %d bytes\n", msgs[i].len);
1402 ret = tegra_i2c_xfer_msg(i2c_dev, &msgs[i], end_type);
1413 struct i2c_msg msgs[], int num)
1419 ret = tegra_i2c_xfer(adap, msgs, num);