Lines Matching defs:msgs
1372 static int tegra_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[],
1390 if (msgs[i + 1].flags & I2C_M_NOSTART)
1396 if (msgs[i].flags & I2C_M_RECV_LEN) {
1397 ret = tegra_i2c_xfer_msg(i2c_dev, &msgs[i], MSG_END_CONTINUE);
1401 msgs[i].len += msgs[i].buf[0];
1402 dev_dbg(i2c_dev->dev, "reading %d bytes\n", msgs[i].len);
1404 ret = tegra_i2c_xfer_msg(i2c_dev, &msgs[i], end_type);
1415 struct i2c_msg msgs[], int num)
1421 ret = tegra_i2c_xfer(adap, msgs, num);