Lines Matching refs:i2c_smbus_access
52 static inline __s32 i2c_smbus_access(int file, char read_write, __u8 command, in i2c_smbus_access() function
67 return i2c_smbus_access(file,value,0,I2C_SMBUS_QUICK,NULL); in i2c_smbus_write_quick()
73 if (i2c_smbus_access(file,I2C_SMBUS_READ,0,I2C_SMBUS_BYTE,&data)) in i2c_smbus_read_byte()
81 return i2c_smbus_access(file,I2C_SMBUS_WRITE,value, in i2c_smbus_write_byte()
88 if (i2c_smbus_access(file,I2C_SMBUS_READ,command, in i2c_smbus_read_byte_data()
100 return i2c_smbus_access(file,I2C_SMBUS_WRITE,command, in i2c_smbus_write_byte_data()
107 if (i2c_smbus_access(file,I2C_SMBUS_READ,command, in i2c_smbus_read_word_data()
119 return i2c_smbus_access(file,I2C_SMBUS_WRITE,command, in i2c_smbus_write_word_data()
127 if (i2c_smbus_access(file,I2C_SMBUS_WRITE,command, in i2c_smbus_process_call()
141 if (i2c_smbus_access(file,I2C_SMBUS_READ,command, in i2c_smbus_read_block_data()
161 return i2c_smbus_access(file,I2C_SMBUS_WRITE,command, in i2c_smbus_write_block_data()
175 return i2c_smbus_access(file,I2C_SMBUS_WRITE,command, in i2c_smbus_write_i2c_block_data()