Query: i2c_smbus_xfer
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
I2C_SMBUS_XFER(9) I2C and SMBus Subsystem I2C_SMBUS_XFER(9)NAMEi2c_smbus_xfer - execute SMBus protocol operationsSYNOPSISs32 i2c_smbus_xfer(struct i2c_adapter * adapter, u16 addr, unsigned short flags, char read_write, u8 command, int protocol, union i2c_smbus_data * data);ARGUMENTSadapter Handle to I2C bus addr Address of SMBus slave on that bus flags I2C_CLIENT_* flags (usually zero or I2C_CLIENT_PEC) read_write I2C_SMBUS_READ or I2C_SMBUS_WRITE command Byte interpreted by slave, for protocols which use such bytes protocol SMBus protocol operation to execute, such as I2C_SMBUS_PROC_CALL data Data to be read or writtenDESCRIPTIONThis executes an SMBus protocol operation, and returns a negative errno code else zero on success.COPYRIGHTKernel Hackers Manual 2.6. July 2010 I2C_SMBUS_XFER(9)