Lines Matching refs:msgCount
567 int msgCount = 0; in i2cWriteRead() local
572 i2cmsg[msgCount].addr = targetAddr; in i2cWriteRead()
573 i2cmsg[msgCount].flags = 0x00; in i2cWriteRead()
574 i2cmsg[msgCount].len = writeCount; in i2cWriteRead()
575 i2cmsg[msgCount].buf = writeData.data(); in i2cWriteRead()
576 msgCount++; in i2cWriteRead()
581 i2cmsg[msgCount].addr = targetAddr; in i2cWriteRead()
582 i2cmsg[msgCount].flags = I2C_M_RD; in i2cWriteRead()
583 i2cmsg[msgCount].len = readCount; in i2cWriteRead()
584 i2cmsg[msgCount].buf = readBuf.data(); in i2cWriteRead()
585 msgCount++; in i2cWriteRead()
590 msgReadWrite.nmsgs = msgCount; in i2cWriteRead()
603 readBuf.resize(msgReadWrite.msgs[msgCount - 1].len); in i2cWriteRead()