Searched refs:msgbuf1 (Results 1 – 2 of 2) sorted by relevance
92 unsigned char msgbuf1[I2C_SMBUS_BLOCK_MAX + 2]; in read_device() local95 {i2c->addr, I2C_M_RD, 0, msgbuf1}, in read_device()108 memcpy(dest, msgbuf1, bytes); in read_device()
1933 unsigned char msgbuf1[I2C_SMBUS_BLOCK_MAX+2]; in i2c_smbus_xfer_emulated() local1936 { addr, flags | I2C_M_RD, 0, msgbuf1 } in i2c_smbus_xfer_emulated()2068 data->byte = msgbuf1[0]; in i2c_smbus_xfer_emulated()2072 data->word = msgbuf1[0] | (msgbuf1[1] << 8); in i2c_smbus_xfer_emulated()2076 data->block[i+1] = msgbuf1[i]; in i2c_smbus_xfer_emulated()2080 for (i = 0; i < msgbuf1[0] + 1; i++) in i2c_smbus_xfer_emulated()2081 data->block[i] = msgbuf1[i]; in i2c_smbus_xfer_emulated()