data->temp1_input = i2c_smbus_read_byte_data(client, LM63_REG_LOCAL_TEMP); data->temp1_high = i2c_smbus_read_byte_data(client, LM63_REG_LOCAL_HIGH); 
data->temp8[0] = i2c_smbus_read_byte_data(client, LM63_REG_LOCAL_TEMP); data->temp8[1] = i2c_smbus_read_byte_data(client, LM63_REG_LOCAL_HIGH); 
static struct lm63_data *lm63_update_device(struct device *dev){	struct i2c_client *client = to_i2c_client(dev);	struct lm63_data *data = i2c_get_clientdata(client);	down(&data->update_lock);	if (time_after(jiffies, data->last_updated + HZ) || !data->valid) {		if (data->config & 0x04) { /* tachometer enabled  */			/* order matters for fan1_input */			data->fan1_input = i2c_smbus_read_byte_data(client,					   LM63_REG_TACH_COUNT_LSB) & 0xFC;			data->fan1_input |= i2c_smbus_read_byte_data(client,					    LM63_REG_TACH_COUNT_MSB) << 8;			data->fan1_low = (i2c_smbus_read_byte_data(client,					  LM63_REG_TACH_LIMIT_LSB) & 0xFC)				       | (i2c_smbus_read_byte_data(client,					  LM63_REG_TACH_LIMIT_MSB) << 8);		}		data->pwm1_freq = i2c_smbus_read_byte_data(client,				  LM63_REG_PWM_FREQ);		if (data->pwm1_freq == 0)			data->pwm1_freq = 1;		data->pwm1_value = i2c_smbus_read_byte_data(client,				   LM63_REG_PWM_VALUE);		data->temp1_input = i2c_smbus_read_byte_data(client,				    LM63_REG_LOCAL_TEMP);		data->temp1_high = i2c_smbus_read_byte_data(client,				   LM63_REG_LOCAL_HIGH);		/* order matters for temp2_input */		data->temp2_input = i2c_smbus_read_byte_data(client,				    LM63_REG_REMOTE_TEMP_MSB) << 8;		data->temp2_input |= i2c_smbus_read_byte_data(client,				     LM63_REG_REMOTE_TEMP_LSB);		data->temp2_high = (i2c_smbus_read_byte_data(client,				   LM63_REG_REMOTE_HIGH_MSB) << 8)				 | i2c_smbus_read_byte_data(client,				   LM63_REG_REMOTE_HIGH_LSB);		data->temp2_low = (i2c_smbus_read_byte_data(client,				  LM63_REG_REMOTE_LOW_MSB) << 8)				| i2c_smbus_read_byte_data(client,				  LM63_REG_REMOTE_LOW_LSB);		data->temp2_crit = i2c_smbus_read_byte_data(client,				   LM63_REG_REMOTE_TCRIT);		data->temp2_crit_hyst = i2c_smbus_read_byte_data(client,					LM63_REG_REMOTE_TCRIT_HYST);		data->alarms = i2c_smbus_read_byte_data(client,			       LM63_REG_ALERT_STATUS) & 0x7F;		data->last_updated = jiffies;		data->valid = 1;	}	up(&data->update_lock);	return data;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/bc51ae1159c0c9a34d2400a8449e1fca3ee965b4/lm63.c/clean/drivers/i2c/chips/lm63.c