Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dmax6642.c84 u16 temp_high[2]; /* local/remote */ member
105 data->temp_high[0] = i2c_smbus_read_byte_data(client, in max6642_init_client()
107 data->temp_high[1] = i2c_smbus_read_byte_data(client, in max6642_init_client()
212 return sprintf(buf, "%d\n", temp_from_reg(data->temp_high[attr2->nr])); in temp_max_show()
229 data->temp_high[attr2->nr] = clamp_val(temp_to_reg(val), 0, 255); in temp_max_store()
231 data->temp_high[attr2->nr]); in temp_max_store()
H A Dlm87.c156 s8 temp_high[3]; /* register value */ member
227 data->temp_high[i] = lm87_read_value(client, in lm87_update_device()
389 TEMP_FROM_REG(data->temp_high[nr])); in temp_high_show()
428 data->temp_high[nr] = TEMP_TO_REG(val); in temp_high_store()
429 lm87_write_value(client, LM87_REG_TEMP_HIGH[nr], data->temp_high[nr]); in temp_high_store()
436 static SENSOR_DEVICE_ATTR_RW(temp1_max, temp_high, 0);
439 static SENSOR_DEVICE_ATTR_RW(temp2_max, temp_high, 1);
442 static SENSOR_DEVICE_ATTR_RW(temp3_max, temp_high, 2);
H A Df75375s.c110 s8 temp_high[2]; member
188 data->temp_high[nr] = in f75375_update_device()
589 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_high[nr])); in show_temp_max()
615 data->temp_high[nr] = val; in set_temp_max()
616 f75375_write8(client, F75375_REG_TEMP_HIGH(nr), data->temp_high[nr]); in set_temp_max()
H A Df71882fg.c273 u8 temp_high[4]; member
373 data->temp_high[nr] = f71882fg_read8(data, in f71882fg_update_device()
554 return sprintf(buf, "%d\n", data->temp_high[nr] * 1000); in show_temp_max()
573 data->temp_high[nr] = val; in store_temp_max()
591 temp_max_hyst = (data->temp_high[nr] - temp_max_hyst) * 1000; in show_temp_max_hyst()
615 data->temp_high[nr] = f71882fg_read8(data, F71882FG_REG_TEMP_HIGH(nr)); in store_temp_max_hyst()
616 val = clamp_val(val, data->temp_high[nr] - 15, data->temp_high[nr]); in store_temp_max_hyst()
617 val = data->temp_high[nr] - val; in store_temp_max_hyst()
H A Df71805f.c184 u8 temp_high[3]; member
359 data->temp_high[nr] = f71805f_read8(data, in f71805f_update_device()
876 return sprintf(buf, "%ld\n", temp_from_reg(data->temp_high[nr])); in show_temp_max()
914 data->temp_high[nr] = temp_to_reg(val); in set_temp_max()
915 f71805f_write8(data, F71805F_REG_TEMP_HIGH(nr), data->temp_high[nr]); in set_temp_max()
/openbmc/linux/drivers/input/touchscreen/
H A Dtsc200x-core.c261 unsigned int temp_high; in tsc200x_selftest_show() local
290 error = regmap_read(ts->regmap, TSC200X_REG_TEMP_HIGH, &temp_high); in tsc200x_selftest_show()
298 if (temp_high != temp_high_test) { in tsc200x_selftest_show()
300 temp_high, temp_high_test); in tsc200x_selftest_show()
311 error = regmap_read(ts->regmap, TSC200X_REG_TEMP_HIGH, &temp_high); in tsc200x_selftest_show()
319 if (temp_high != temp_high_orig) { in tsc200x_selftest_show()
321 temp_high, temp_high_orig); in tsc200x_selftest_show()
/openbmc/linux/drivers/thermal/qcom/
H A Dlmh.c94 int temp_low, temp_high, temp_arm, cpu_id, ret; in lmh_probe() local
115 ret = of_property_read_u32(np, "qcom,lmh-temp-high-millicelsius", &temp_high); in lmh_probe()
190 ret = qcom_scm_lmh_dcvsh(LMH_SUB_FN_THERMAL, LMH_TH_HI_THRESHOLD, temp_high, in lmh_probe()
/openbmc/qemu/target/tricore/
H A Dtranslate.c2476 TCGv temp_low, temp_high; in gen_sh_hi() local
2481 temp_high = tcg_temp_new(); in gen_sh_hi()
2485 tcg_gen_andi_tl(temp_high, r1, 0xffff0000); in gen_sh_hi()
2487 gen_shi(ret, temp_high, shiftcount); in gen_sh_hi()