Searched refs:I2C_SMBUS_BLOCK_MAX (Results 1 – 2 of 2) sorted by relevance
406 #define I2C_SMBUS_BLOCK_MAX 32 /* As specified in SMBus standard */ macro411 __u8 block[I2C_SMBUS_BLOCK_MAX + 2]; /* block[0] is used for length */
1059 if (length > I2C_SMBUS_BLOCK_MAX) in i2c_smbus_write_block_data()1060 length = I2C_SMBUS_BLOCK_MAX; in i2c_smbus_write_block_data()1095 unsigned char msgbuf0[I2C_SMBUS_BLOCK_MAX+2]; in i2c_smbus_xfer_emulated()1096 unsigned char msgbuf1[I2C_SMBUS_BLOCK_MAX+2]; in i2c_smbus_xfer_emulated()1149 if (msg[0].len > I2C_SMBUS_BLOCK_MAX + 2) { in i2c_smbus_xfer_emulated()