Home
last modified time | relevance | path

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

/linux-4.4.14/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()
241 data->temp_high[attr2->nr] = clamp_val(temp_to_reg(val), 0, 255); in set_temp_max()
243 data->temp_high[attr2->nr]); in set_temp_max()
Dlm92.c271 u16 temp_low, temp_high, temp_hyst, temp_crit; in max6635_check() local
282 temp_high = i2c_smbus_read_word_data(client, LM92_REG_TEMP_HIGH); in max6635_check()
283 if (i2c_smbus_read_word_data(client, LM92_REG_MAN_ID) != temp_high) in max6635_check()
287 if ((temp_low & 0x7f00) || (temp_high & 0x7f00)) in max6635_check()
308 || 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.c291 u8 temp_high[4]; member
1243 data->temp_high[nr] = f71882fg_read8(data, in f71882fg_update_device()
1605 return sprintf(buf, "%d\n", data->temp_high[nr] * 1000); in show_temp_max()
1624 data->temp_high[nr] = val; in store_temp_max()
1642 temp_max_hyst = (data->temp_high[nr] - temp_max_hyst) * 1000; in show_temp_max_hyst()
1666 data->temp_high[nr] = f71882fg_read8(data, F71882FG_REG_TEMP_HIGH(nr)); in store_temp_max_hyst()
1667 val = clamp_val(val, data->temp_high[nr] - 15, data->temp_high[nr]); in store_temp_max_hyst()
1668 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()
/linux-4.4.14/drivers/input/touchscreen/
Dtsc200x-core.c269 unsigned int temp_high; in tsc200x_selftest_show() local
298 error = regmap_read(ts->regmap, TSC200X_REG_TEMP_HIGH, &temp_high); in tsc200x_selftest_show()
306 if (temp_high != temp_high_test) { in tsc200x_selftest_show()
308 temp_high, temp_high_test); in tsc200x_selftest_show()
321 error = regmap_read(ts->regmap, TSC200X_REG_TEMP_HIGH, &temp_high); in tsc200x_selftest_show()
329 if (temp_high != temp_high_orig) { in tsc200x_selftest_show()
331 temp_high, temp_high_orig); in tsc200x_selftest_show()
/linux-4.4.14/drivers/power/
Dab8500_bmdata.c489 .temp_high = 43,
523 .temp_high = 43,
Dabx500_chargalg.c761 di->batt_data.temp < (di->bm->temp_high - di->t_hyst_norm)) { in abx500_chargalg_check_temp()
768 if (((di->batt_data.temp >= di->bm->temp_high) && in abx500_chargalg_check_temp()
/linux-4.4.14/include/linux/mfd/
Dabx500.h262 int temp_high; member
/linux-4.4.14/include/linux/mfd/abx500/
Dab8500-bm.h431 int temp_high; member