Lines Matching refs:msgs
1625 struct i2c_msg msgs[2];
1634 msgs[0].addr = client->addr;
1635 msgs[0].flags = 0;
1636 msgs[0].len = sizeof(addr_buf);
1637 msgs[0].buf = addr_buf;
1638 msgs[1].addr = client->addr;
1639 msgs[1].flags = I2C_M_RD;
1640 msgs[1].len = len;
1641 msgs[1].buf = &data_buf[4 - len];
1643 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
1644 if (ret != ARRAY_SIZE(msgs))