Lines Matching refs:msgs
40 struct i2c_msg msgs[2];
45 msgs[0].addr = client->addr;
46 msgs[0].flags = client->flags & I2C_M_TEN;
47 msgs[0].len = sizeof(u32);
49 msgs[0].buf = (char *)&address;
52 msgs[1].addr = client->addr;
53 msgs[1].flags = (client->flags & I2C_M_TEN) | I2C_M_RD;
54 msgs[1].len = sizeof(u64);
55 msgs[1].buf = (char *)&buf;
57 rc = i2c_transfer(client->adapter, msgs, 2);