Lines Matching refs:i2c_smbus_read_byte_data
100 config = i2c_smbus_read_byte_data(client, MAX6642_REG_R_CONFIG); in max6642_init_client()
105 data->temp_high[0] = i2c_smbus_read_byte_data(client, in max6642_init_client()
107 data->temp_high[1] = i2c_smbus_read_byte_data(client, in max6642_init_client()
122 man_id = i2c_smbus_read_byte_data(client, MAX6642_REG_R_MAN_ID); in max6642_detect()
127 if (i2c_smbus_read_byte_data(client, 0x04) != 0x4D in max6642_detect()
128 || i2c_smbus_read_byte_data(client, 0x06) != 0x4D in max6642_detect()
129 || i2c_smbus_read_byte_data(client, 0xff) != 0x4D) in max6642_detect()
137 reg_config = i2c_smbus_read_byte_data(client, MAX6642_REG_R_CONFIG); in max6642_detect()
142 if (i2c_smbus_read_byte_data(client, 0x04) != reg_config in max6642_detect()
143 || i2c_smbus_read_byte_data(client, 0x06) != reg_config in max6642_detect()
144 || i2c_smbus_read_byte_data(client, 0xff) != reg_config) in max6642_detect()
147 reg_status = i2c_smbus_read_byte_data(client, MAX6642_REG_R_STATUS); in max6642_detect()
166 val = i2c_smbus_read_byte_data(client, in max6642_update_device()
169 val = i2c_smbus_read_byte_data(client, in max6642_update_device()
173 val = i2c_smbus_read_byte_data(client, in max6642_update_device()
176 val = i2c_smbus_read_byte_data(client, in max6642_update_device()
180 data->alarms = i2c_smbus_read_byte_data(client, in max6642_update_device()