Lines Matching defs:xfer
485 struct i2c_msg xfer[2];492 xfer[0].addr = client->addr;493 xfer[0].flags = 0;494 xfer[0].len = 2;495 xfer[0].buf = buf;498 xfer[1].addr = client->addr;499 xfer[1].flags = I2C_M_RD;500 xfer[1].len = len;501 xfer[1].buf = val;503 if (i2c_transfer(client->adapter, xfer, 2) != 2) {