Lines Matching refs:i2c_smbus_read_byte_data
113 config = i2c_smbus_read_byte_data(client, MAX6642_REG_R_CONFIG); in max6642_init_client()
118 data->temp_high[0] = i2c_smbus_read_byte_data(client, in max6642_init_client()
120 data->temp_high[1] = i2c_smbus_read_byte_data(client, in max6642_init_client()
135 man_id = i2c_smbus_read_byte_data(client, MAX6642_REG_R_MAN_ID); in max6642_detect()
140 if (i2c_smbus_read_byte_data(client, 0x04) != 0x4D in max6642_detect()
141 || i2c_smbus_read_byte_data(client, 0x06) != 0x4D in max6642_detect()
142 || i2c_smbus_read_byte_data(client, 0xff) != 0x4D) in max6642_detect()
150 reg_config = i2c_smbus_read_byte_data(client, MAX6642_REG_R_CONFIG); in max6642_detect()
155 if (i2c_smbus_read_byte_data(client, 0x04) != reg_config in max6642_detect()
156 || i2c_smbus_read_byte_data(client, 0x06) != reg_config in max6642_detect()
157 || i2c_smbus_read_byte_data(client, 0xff) != reg_config) in max6642_detect()
160 reg_status = i2c_smbus_read_byte_data(client, MAX6642_REG_R_STATUS); in max6642_detect()
179 val = i2c_smbus_read_byte_data(client, in max6642_update_device()
182 val = i2c_smbus_read_byte_data(client, in max6642_update_device()
186 val = i2c_smbus_read_byte_data(client, in max6642_update_device()
189 val = i2c_smbus_read_byte_data(client, in max6642_update_device()
193 data->alarms = i2c_smbus_read_byte_data(client, in max6642_update_device()