Home
last modified time | relevance | path

Searched refs:msgbuf1 (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/drivers/mfd/
D88pm860x-i2c.c92 unsigned char msgbuf1[I2C_SMBUS_BLOCK_MAX + 2]; in read_device() local
95 {i2c->addr, I2C_M_RD, 0, msgbuf1}, in read_device()
108 memcpy(dest, msgbuf1, bytes); in read_device()
/linux-3.4.99/drivers/i2c/
Di2c-core.c1933 unsigned char msgbuf1[I2C_SMBUS_BLOCK_MAX+2]; in i2c_smbus_xfer_emulated() local
1936 { 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()