Lines Matching refs:msgs
77 * @param msgs Indicates the point of i2c messages.
82 unsigned int LzI2cTransfer(unsigned id, LzI2cMsg *msgs, unsigned int num);
190 LzI2cMsg msgs[I2C_MSGS_MAX];
192 msgs[0].addr = slaveAddr;
193 msgs[0].flags = 0;
194 msgs[0].buf = regAddr;
195 msgs[0].len = regLen;
197 msgs[1].addr = slaveAddr;
198 msgs[1].flags = I2C_M_RD;
199 msgs[1].buf = data;
200 msgs[1].len = len;
202 return LzI2cTransfer(id, msgs, I2C_MSGS_MAX);