Home
last modified time | relevance | path

Searched refs:temp_high (Results 1 – 9 of 9) sorted by relevance

/drivers/hwmon/
Dmax6642.c97 u16 temp_high[2]; /* local/remote */ member
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()
225 return sprintf(buf, "%d\n", temp_from_reg(data->temp_high[attr2->nr])); in show_temp_max()
242 data->temp_high[attr2->nr] = clamp_val(temp_to_reg(val), 0, 255); in set_temp_max()
244 data->temp_high[attr2->nr]); in set_temp_max()
Dlm92.c278 u16 temp_low, temp_high, temp_hyst, temp_crit; in max6635_check() local
289 temp_high = i2c_smbus_read_word_data(client, LM92_REG_TEMP_HIGH); in max6635_check()
290 if (i2c_smbus_read_word_data(client, LM92_REG_MAN_ID) != temp_high) in max6635_check()
294 if ((temp_low & 0x7f00) || (temp_high & 0x7f00)) in max6635_check()
315 || temp_high != i2c_smbus_read_word_data(client, in max6635_check()
Df75375s.c124 s8 temp_high[2]; member
203 data->temp_high[nr] = in f75375_update_device()
604 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_high[nr])); in show_temp_max()
630 data->temp_high[nr] = val; in set_temp_max()
631 f75375_write8(client, F75375_REG_TEMP_HIGH(nr), data->temp_high[nr]); in set_temp_max()
Dlm87.c171 s8 temp_high[3]; /* register value */ member
240 data->temp_high[i] = lm87_read_value(client, in lm87_update_device()
393 TEMP_FROM_REG(data->temp_high[nr])); in show_temp_high()
430 data->temp_high[nr] = TEMP_TO_REG(val); in set_temp_high()
431 lm87_write_value(client, LM87_REG_TEMP_HIGH[nr], data->temp_high[nr]); in set_temp_high()
Df71882fg.c262 u8 temp_high[4]; member
1185 data->temp_high[nr] = f71882fg_read8(data, in f71882fg_update_device()
1530 return sprintf(buf, "%d\n", data->temp_high[nr] * 1000); in show_temp_max()
1549 data->temp_high[nr] = val; in store_temp_max()
1567 temp_max_hyst = (data->temp_high[nr] - temp_max_hyst) * 1000; in show_temp_max_hyst()
1591 data->temp_high[nr] = f71882fg_read8(data, F71882FG_REG_TEMP_HIGH(nr)); in store_temp_max_hyst()
1592 val = clamp_val(val, data->temp_high[nr] - 15, data->temp_high[nr]); in store_temp_max_hyst()
1593 val = data->temp_high[nr] - val; in store_temp_max_hyst()
Df71805f.c191 u8 temp_high[3]; member
366 data->temp_high[nr] = f71805f_read8(data, in f71805f_update_device()
883 return sprintf(buf, "%ld\n", temp_from_reg(data->temp_high[nr])); in show_temp_max()
921 data->temp_high[nr] = temp_to_reg(val); in set_temp_max()
922 f71805f_write8(data, F71805F_REG_TEMP_HIGH(nr), data->temp_high[nr]); in set_temp_max()
/drivers/input/touchscreen/
Dtsc2005.c373 u16 temp_high; in tsc2005_selftest_show() local
402 error = tsc2005_read(ts, TSC2005_REG_TEMP_HIGH, &temp_high); in tsc2005_selftest_show()
410 if (temp_high != temp_high_test) { in tsc2005_selftest_show()
412 temp_high, temp_high_test); in tsc2005_selftest_show()
425 error = tsc2005_read(ts, TSC2005_REG_TEMP_HIGH, &temp_high); in tsc2005_selftest_show()
433 if (temp_high != temp_high_orig) { in tsc2005_selftest_show()
435 temp_high, temp_high_orig); in tsc2005_selftest_show()
/drivers/power/
Dab8500_bmdata.c489 .temp_high = 43,
523 .temp_high = 43,
Dabx500_chargalg.c764 di->batt_data.temp < (di->bm->temp_high - di->t_hyst_norm)) { in abx500_chargalg_check_temp()
771 if (((di->batt_data.temp >= di->bm->temp_high) && in abx500_chargalg_check_temp()