1I2C_SMBUS_WRITE_WORD(9) I2C and SMBus Subsystem I2C_SMBUS_WRITE_WORD(9)
2
3
4
6 i2c_smbus_write_word_data - SMBus “write word” protocol
7
9 s32 i2c_smbus_write_word_data(const struct i2c_client * client,
10 u8 command, u16 value);
11
13 client
14 Handle to slave device
15
16 command
17 Byte interpreted by slave
18
19 value
20 16-bit “word” being written
21
23 This executes the SMBus “write word” protocol, returning negative errno
24 else zero on success.
25
27Kernel Hackers Manual 3.10 June 2019 I2C_SMBUS_WRITE_WORD(9)