1I2C_SMBUS_WRITE_BLOC(9) I2C and SMBus Subsystem I2C_SMBUS_WRITE_BLOC(9)
2
3
4
6 i2c_smbus_write_block_data - SMBus “block write” protocol
7
9 s32 i2c_smbus_write_block_data(const struct i2c_client * client,
10 u8 command, u8 length,
11 const u8 * values);
12
14 client
15 Handle to slave device
16
17 command
18 Byte interpreted by slave
19
20 length
21 Size of data block; SMBus allows at most 32 bytes
22
23 values
24 Byte array which will be written.
25
27 This executes the SMBus “block write” protocol, returning negative
28 errno else zero on success.
29
31Kernel Hackers Manual 3.10 June 2019 I2C_SMBUS_WRITE_BLOC(9)