Lines Matching defs:xfer
95 struct i2c_msg xfer[2];103 xfer[0].addr = i2c->addr;104 xfer[0].flags = 0;105 xfer[0].len = sizeof(reg);106 xfer[0].buf = ®[0];109 xfer[1].addr = i2c->addr;110 xfer[1].flags = I2C_M_RD;111 xfer[1].len = 1;112 xfer[1].buf = &data;114 ret = i2c_transfer(i2c->adapter, xfer, 2);