Lines Matching refs:lm87_write_value
178 static inline int lm87_write_value(struct i2c_client *client, u8 reg, u8 value) in lm87_write_value() function
311 lm87_write_value(client, nr < 6 ? LM87_REG_IN_MIN(nr) : in in_min_store()
332 lm87_write_value(client, nr < 6 ? LM87_REG_IN_MAX(nr) : in in_max_store()
408 lm87_write_value(client, LM87_REG_TEMP_LOW[nr], data->temp_low[nr]); in temp_low_store()
429 lm87_write_value(client, LM87_REG_TEMP_HIGH[nr], data->temp_high[nr]); in temp_high_store()
509 lm87_write_value(client, LM87_REG_FAN_MIN(nr), data->fan_min[nr]); in fan_min_store()
567 lm87_write_value(client, LM87_REG_VID_FAN_DIV, reg); in fan_div_store()
570 lm87_write_value(client, LM87_REG_FAN_MIN(nr), in fan_div_store()
646 lm87_write_value(client, LM87_REG_AOUT, data->aout); in aout_output_store()
846 lm87_write_value(client, LM87_REG_CONFIG, data->config); in lm87_restore_config()
870 lm87_write_value(client, in lm87_init_client()
874 lm87_write_value(client, in lm87_init_client()
890 lm87_write_value(client, LM87_REG_IN_MIN(i), 0x00); in lm87_init_client()
891 lm87_write_value(client, LM87_REG_IN_MAX(i), 0xFF); in lm87_init_client()
894 lm87_write_value(client, LM87_REG_TEMP_HIGH[i], 0x7F); in lm87_init_client()
895 lm87_write_value(client, LM87_REG_TEMP_LOW[i], 0x00); in lm87_init_client()
896 lm87_write_value(client, LM87_REG_AIN_MIN(i), 0x00); in lm87_init_client()
897 lm87_write_value(client, LM87_REG_AIN_MAX(i), 0xFF); in lm87_init_client()
900 lm87_write_value(client, LM87_REG_TEMP_HIGH[2], 0x7F); in lm87_init_client()
901 lm87_write_value(client, LM87_REG_TEMP_LOW[2], 0x00); in lm87_init_client()
903 lm87_write_value(client, LM87_REG_IN_MIN(0), 0x00); in lm87_init_client()
904 lm87_write_value(client, LM87_REG_IN_MAX(0), 0xFF); in lm87_init_client()
910 lm87_write_value(client, LM87_REG_CONFIG, in lm87_init_client()