Name

i2c_smbus_write_word_data — SMBus write word protocol

Synopsis

s32 i2c_smbus_write_word_data (const struct i2c_client * client,
 u8 command,
 u16 value);
 

Arguments

client

Handle to slave device

command

Byte interpreted by slave

value

16-bit word being written

Description

This executes the SMBus write word protocol, returning negative errno else zero on success.